Package org.apache.pivot.wtk
Class TabPaneListener.Adapter
- java.lang.Object
-
- org.apache.pivot.wtk.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.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.TabPaneListener
TabPaneListener.Adapter, TabPaneListener.Listeners
-
-
Constructor Summary
Constructors Constructor Description Adapter()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
closeableChanged(TabPane tabPane)
Deprecated.Called when a tab pane's closeable property has changed.void
collapsibleChanged(TabPane tabPane)
Deprecated.Called when a tab pane's collapsible property has changed.void
cornerChanged(TabPane tabPane, Component previousCorner)
Deprecated.Called when a tab pane's corner component has changed.Vote
previewRemoveTabs(TabPane tabPane, int index, int count)
Deprecated.Called to preview a tab removal.void
removeTabsVetoed(TabPane tabPane, Vote vote)
Deprecated.Called when a tab removal has been vetoed.void
tabDataRendererChanged(TabPane tabPane, Button.DataRenderer previousTabDataRenderer)
Deprecated.Called when a tab pane's tab data renderer has changed.void
tabInserted(TabPane tabPane, int index)
Deprecated.Called when a tab has been inserted into a tab pane's tab sequence.void
tabsRemoved(TabPane tabPane, int index, Sequence<Component> tabs)
Deprecated.Called when a tab has been removed from a tab pane's tab sequence.
-
-
-
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 interfaceTabPaneListener
- 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 interfaceTabPaneListener
- 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 interfaceTabPaneListener
- 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 interfaceTabPaneListener
- 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 interfaceTabPaneListener
- 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 interfaceTabPaneListener
- 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 interfaceTabPaneListener
- 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 interfaceTabPaneListener
- Parameters:
tabPane
- The source of this event.
-
-