Package com.ribs.plus

Class RJSwitchPane

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class RJSwitchPane extends RJPanel
This class encapsulates a list of child components which can be switched in and out, like a tab view without the tabs.

Copyright (c) 2004 ReportMill Software, Inc. All Rights Reserved. Contact ReportMill <info@reportmill.com>.

See Also:
  • Constructor Details

    • RJSwitchPane

      public RJSwitchPane()
  • Method Details

    • getPanes

      public List getPanes()
      Returns the list of panes in the SwitchPane.
    • getPaneCount

      public int getPaneCount()
      Return the size of the panes list.
    • getPane

      public JComponent getPane(int anIndex)
      Returns the pane JComponent at the given index in the panes list.
    • getPane

      public JComponent getPane()
      Returns the currently visible pane.
    • getSelectedIndex

      public int getSelectedIndex()
      Returns the currently visible pane's index in the panes list.
    • setSelectedIndex

      public void setSelectedIndex(int anIndex)
      Replaces the currently visible pane with the pane at the given index.
    • setSelectedPaneName

      public void setSelectedPaneName(String aName)
      Replaces the currently visible pane with the pane having the given name (if found).