Class TabPaneBehavior
java.lang.Object
com.sun.javafx.scene.control.behavior.BehaviorBase<TabPane>
com.sun.javafx.scene.control.behavior.TabPaneBehavior
-
Field Summary
Fields inherited from class com.sun.javafx.scene.control.behavior.BehaviorBase
IS_TOUCH_SUPPORTED, TRAVERSAL_BINDINGS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
callAction
(String name) Called to invoke the action associated with the given name.boolean
canCloseTab
(Tab tab) void
void
* Mouse event handling * *void
void
void
Methods 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:BehaviorBase
Called 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:
callAction
in classBehaviorBase<TabPane>
-
mousePressed
* Mouse event handling * *- Overrides:
mousePressed
in classBehaviorBase<TabPane>
- Parameters:
e
- the mouse event
-
selectTab
-
canCloseTab
-
closeTab
-
selectNextTab
public void selectNextTab() -
selectPreviousTab
public void selectPreviousTab()
-