Class JTabbedPaneShape

All Implemented Interfaces:
RMArchiver.Archiving, RMShapePainter.Paint, RJMinMaxSizeSettable, Cloneable

public class JTabbedPaneShape extends RJShape
An RMShape representation of JTabbedPane.
  • Constructor Details

    • JTabbedPaneShape

      public JTabbedPaneShape()
      Creates a new tabbed pane shape.
    • JTabbedPaneShape

      public JTabbedPaneShape(JComponent aComponent)
      Creates a new tabbed pane for the given JTabbedPane.
  • Method Details

    • getTabbedPane

      public JTabbedPane getTabbedPane()
      Returns the JTabbedPane for this shape.
    • getSelectedIndex

      public int getSelectedIndex()
      Returns the tap pane's selected index.
    • setSelectedIndex

      public void setSelectedIndex(int anIndex)
      Sets the tab pane's selected index.
    • superSelectable

      public boolean superSelectable()
      Editor method - overrides default implementation to indicate shape is super selectable.
      Overrides:
      superSelectable in class RMShape
    • childrenSuperSelectImmediately

      public boolean childrenSuperSelectImmediately()
      Editor method - overrides default implementation to indicate children should super select immediately.
      Overrides:
      childrenSuperSelectImmediately in class RMShape
    • toXML

      public RXElement toXML(RXArchiver anArchiver)
      Overriden to fix up tabbed pane after default implementation gets done mucking with it.
      Overrides:
      toXML in class RJShape
    • fromXML

      public Object fromXML(RXArchiver anArchiver, RXElement anElement)
      XML unarchival.
      Overrides:
      fromXML in class RJShape