Class JTabbedPaneShape

    • Constructor Detail

      • JTabbedPaneShape

        public JTabbedPaneShape()
    • Method Detail

      • getTabCount

        public int getTabCount()
        Returns the number of tabs in pane.
      • addTab

        public void addTab​(java.lang.String aTitle,
                           RMShape aTabShape)
        Adds the given tab shape to tabbed pane shape.
      • getTitleAt

        public java.lang.String getTitleAt​(int anIndex)
        Returns the title at given index.
      • getSelectedIndex

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

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

        public RMShape getSelectedChild()
        Returns the selected child.
      • 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
      • getComponentClass

        public java.lang.Class<? extends javax.swing.JComponent> getComponentClass()
        Returns the component class for this component shape.
        Overrides:
        getComponentClass in class JComponentShape
      • createComponent

        protected javax.swing.JComponent createComponent()
        Override to add tabs for app rendering.
        Overrides:
        createComponent in class JComponentShape