public class TitledPaneBehavior extends BehaviorBase<TitledPane>
Modifier and Type | Field and Description |
---|---|
protected static List<KeyBinding> |
TITLEDPANE_BINDINGS |
IS_TOUCH_SUPPORTED, TRAVERSAL_BINDINGS
Constructor and Description |
---|
TitledPaneBehavior(TitledPane pane) |
Modifier and Type | Method and Description |
---|---|
protected void |
callAction(String name)
Called to invoke the action associated with the given name.
|
void |
collapse() |
void |
expand()
State and Functions *
|
void |
mousePressed(MouseEvent e)
*
Mouse event handling *
*
|
void |
toggle() |
callActionForEvent, contextMenuRequested, dispose, focusChanged, getControl, matchActionForEvent, mouseDragged, mouseEntered, mouseExited, mouseReleased, traverse, traverseDown, traverseLeft, traverseNext, traversePrevious, traverseRight, traverseUp
protected static final List<KeyBinding> TITLEDPANE_BINDINGS
public TitledPaneBehavior(TitledPane pane)
protected void callAction(String name)
BehaviorBase
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.
callAction
in class BehaviorBase<TitledPane>
public void mousePressed(MouseEvent e)
mousePressed
in class BehaviorBase<TitledPane>
e
- the mouse eventpublic void expand()
public void collapse()
public void toggle()
Copyright © 2020. All rights reserved.