Class TabbedPaneTag.TabData

  • Enclosing class:
    TabbedPaneTag

    public static class TabbedPaneTag.TabData
    extends Object
    A data class that holds all properties of a register that can be added to a tabbed pane.
    • Constructor Detail

      • TabData

        public TabData()
    • Method Detail

      • getComponent

        public Object getComponent()
        Returns the component of this register.
        Returns:
        the component
      • setComponent

        public void setComponent​(Object component)
        Sets the component of this register. This component will be displayed when this register is selected. It is responsible for the graphical representation of the register.
        Parameters:
        component - the component for this register
      • getIcon

        public Object getIcon()
        Returns the icon of this register.
        Returns:
        the icon (can be null)
      • setIcon

        public void setIcon​(Object icon)
        Sets the icon for this register.
        Parameters:
        icon - the icon
      • getMnemonic

        public int getMnemonic()
        Returns a mnemonic for this register.
        Returns:
        the mnemonic
      • setMnemonic

        public void setMnemonic​(int mnemonic)
        Sets a mnemonic for this register. If defined, the user can press ALT plus this key to navigate to this register.
        Parameters:
        mnemonic - the mnemonic key
      • getTitle

        public String getTitle()
        Returns the title of this register.
        Returns:
        the title
      • setTitle

        public void setTitle​(String title)
        Sets the title for this register.
        Parameters:
        title - the title
      • getToolTip

        public String getToolTip()
        Returns a tool tip for this register.
        Returns:
        the tool tip
      • setToolTip

        public void setToolTip​(String toolTip)
        Sets a tool tip for this register.
        Parameters:
        toolTip - the new tool tip
      • getTextIconData

        public TextIconData getTextIconData()
        Returns the data object with text and icon information.
        Returns:
        the data object with text and icon information
        Since:
        1.3