Class TabPaneBehavior
java.lang.Object
com.sun.javafx.scene.control.behavior.BehaviorBase<TabPane>
com.sun.javafx.scene.control.behavior.TabPaneBehavior
-
Field Summary
FieldsFields inherited from class com.sun.javafx.scene.control.behavior.BehaviorBase
IS_TOUCH_SUPPORTED, TRAVERSAL_BINDINGS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcallAction(String name) Called to invoke the action associated with the given name.booleancanCloseTab(Tab tab) voidvoid* Mouse event handling * *voidvoidvoidMethods inherited from class com.sun.javafx.scene.control.behavior.BehaviorBase
callActionForEvent, dispose, focusChanged, getControl, matchActionForEvent, mouseDragged, mouseEntered, mouseExited, mouseReleased
-
Field Details
-
TAB_PANE_BINDINGS
-
-
Constructor Details
-
TabPaneBehavior
State and Functions *
-
-
Method Details
-
callAction
Description copied from class:BehaviorBaseCalled to invoke the action associated with the given name.When a KeyEvent is handled, it is first passed through callActionForEvent which resolves which "action" should be executed based on the key event. This action is indicated by name. This name is then passed to this function which is responsible for invoking the right function based on the name.
- Overrides:
callActionin classBehaviorBase<TabPane>
-
mousePressed
* Mouse event handling * *- Overrides:
mousePressedin classBehaviorBase<TabPane>- Parameters:
e- the mouse event
-
selectTab
-
canCloseTab
-
closeTab
-
selectNextTab
public void selectNextTab() -
selectPreviousTab
public void selectPreviousTab()
-