Class BaseTabbedPaneWithTabHiding.PageBackup<T>

  • Type Parameters:
    T - the type of object to store
    All Implemented Interfaces:
    Serializable
    Enclosing class:
    BaseTabbedPaneWithTabHiding

    public static class BaseTabbedPaneWithTabHiding.PageBackup<T>
    extends Object
    implements Serializable
    Container for backing up hidden tabs.
    Version:
    $Revision$
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Field Detail

      • m_Title

        protected String m_Title
        the title of the tab.
      • m_Icon

        protected Icon m_Icon
        the icon of the tab.
      • m_Payload

        protected T m_Payload
        the payload of the tab.
      • m_Tip

        protected String m_Tip
        the tool tip of the component.
    • Constructor Detail

      • PageBackup

        public PageBackup​(String title,
                          Icon icon,
                          T payload,
                          String tip)
        Initializes the backup container.
        Parameters:
        title - the title of the tab
        icon - the icon of the tab
        payload - the payload of the tab, e.g., the component
        tip - the tool tip of the tab
    • Method Detail

      • getIcon

        public Icon getIcon()
        Returns the icon of the tab.
        Returns:
        the icon
      • getPayload

        public T getPayload()
        Returns the payload of the tab.
        Returns:
        the payload
      • getTip

        public String getTip()
        Returns the tip of the tab.
        Returns:
        the tip
      • getTitle

        public String getTitle()
        Returns the title of the tab.
        Returns:
        the title