Class TabPaneListener.Adapter

  • All Implemented Interfaces:
    TabPaneListener
    Enclosing interface:
    TabPaneListener

    @Deprecated
    public static class TabPaneListener.Adapter
    extends java.lang.Object
    implements TabPaneListener
    Deprecated.
    Since 2.1 and Java 8 the interface itself has default implementations.
    Tab pane listener adapter.
    • Constructor Detail

      • Adapter

        public Adapter()
        Deprecated.
    • Method Detail

      • tabInserted

        public void tabInserted​(TabPane tabPane,
                                int index)
        Deprecated.
        Description copied from interface: TabPaneListener
        Called when a tab has been inserted into a tab pane's tab sequence.
        Specified by:
        tabInserted in interface TabPaneListener
        Parameters:
        tabPane - The source of this event.
        index - Where the newly inserted tab was placed.
      • previewRemoveTabs

        public Vote previewRemoveTabs​(TabPane tabPane,
                                      int index,
                                      int count)
        Deprecated.
        Description copied from interface: TabPaneListener
        Called to preview a tab removal.
        Specified by:
        previewRemoveTabs in interface TabPaneListener
        Parameters:
        tabPane - The component that wants to change.
        index - The proposed starting index of the tab or tabs to be removed.
        count - The count of tabs to remove.
        Returns:
        Whether or not to accept this tab removal (or defer it).
      • removeTabsVetoed

        public void removeTabsVetoed​(TabPane tabPane,
                                     Vote vote)
        Deprecated.
        Description copied from interface: TabPaneListener
        Called when a tab removal has been vetoed.
        Specified by:
        removeTabsVetoed in interface TabPaneListener
        Parameters:
        tabPane - The source of this event.
        vote - The vote result that vetoed the tab removal.
      • tabsRemoved

        public void tabsRemoved​(TabPane tabPane,
                                int index,
                                Sequence<Component> tabs)
        Deprecated.
        Description copied from interface: TabPaneListener
        Called when a tab has been removed from a tab pane's tab sequence.
        Specified by:
        tabsRemoved in interface TabPaneListener
        Parameters:
        tabPane - The source of this event.
        index - The starting location of the tabs that were removed.
        tabs - The actual sequence of tab components that were removed.
      • cornerChanged

        public void cornerChanged​(TabPane tabPane,
                                  Component previousCorner)
        Deprecated.
        Description copied from interface: TabPaneListener
        Called when a tab pane's corner component has changed.
        Specified by:
        cornerChanged in interface TabPaneListener
        Parameters:
        tabPane - The component that changed.
        previousCorner - What the corner component used to be.
      • tabDataRendererChanged

        public void tabDataRendererChanged​(TabPane tabPane,
                                           Button.DataRenderer previousTabDataRenderer)
        Deprecated.
        Description copied from interface: TabPaneListener
        Called when a tab pane's tab data renderer has changed.
        Specified by:
        tabDataRendererChanged in interface TabPaneListener
        Parameters:
        tabPane - The source of this event.
        previousTabDataRenderer - The previous renderer for the tab data.
      • closeableChanged

        public void closeableChanged​(TabPane tabPane)
        Deprecated.
        Description copied from interface: TabPaneListener
        Called when a tab pane's closeable property has changed.
        Specified by:
        closeableChanged in interface TabPaneListener
        Parameters:
        tabPane - The component that changed.
      • collapsibleChanged

        public void collapsibleChanged​(TabPane tabPane)
        Deprecated.
        Description copied from interface: TabPaneListener
        Called when a tab pane's collapsible property has changed.
        Specified by:
        collapsibleChanged in interface TabPaneListener
        Parameters:
        tabPane - The source of this event.