Package org.apache.pivot.wtk
Interface TabPaneAttributeListener
-
- All Known Implementing Classes:
TabPaneAttributeListener.Adapter
,TabPaneAttributeListener.Listeners
,TerraTabPaneSkin
public interface TabPaneAttributeListener
Tab pane attribute listener interface.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
TabPaneAttributeListener.Adapter
Deprecated.Since 2.1 and Java 8 the interface itself has default implementations.static class
TabPaneAttributeListener.Listeners
Tab pane attribute listeners.
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
tabDataChanged(TabPane tabPane, Component component, java.lang.Object previousTabData)
Called when a tab's tab data attribute has changed.default void
tooltipTextChanged(TabPane tabPane, Component component, java.lang.String previousTooltipText)
Called when a tab's tooltipText attribute has changed.
-
-
-
Method Detail
-
tabDataChanged
default void tabDataChanged(TabPane tabPane, Component component, java.lang.Object previousTabData)
Called when a tab's tab data attribute has changed.- Parameters:
tabPane
- The source of this event.component
- The component whose tab pane data has changed.previousTabData
- What the tab data attribute used to be.
-
tooltipTextChanged
default void tooltipTextChanged(TabPane tabPane, Component component, java.lang.String previousTooltipText)
Called when a tab's tooltipText attribute has changed.- Parameters:
tabPane
- The source of this event.component
- The actual tab component whose tooltip was changed.previousTooltipText
- What the text used to be.
-
-