public class DateCellBehavior extends BehaviorBase<DateCell>
Modifier and Type | Field and Description |
---|---|
protected static List<KeyBinding> |
DATE_CELL_BINDINGS
Setup KeyBindings *
|
IS_TOUCH_SUPPORTED, TRAVERSAL_BINDINGS
Constructor and Description |
---|
DateCellBehavior(DateCell dateCell) |
Modifier and Type | Method and Description |
---|---|
void |
callAction(String name)
Called to invoke the action associated with the given name.
|
protected DatePickerContent |
findDatePickerContent(Node node) |
void |
traverse(Node node,
Direction dir)
Called by any of the BehaviorBase traverse methods to actually effect a
traversal of the focus.
|
callActionForEvent, contextMenuRequested, dispose, focusChanged, getControl, matchActionForEvent, mouseDragged, mouseEntered, mouseExited, mousePressed, mouseReleased, traverseDown, traverseLeft, traverseNext, traversePrevious, traverseRight, traverseUp
protected static final List<KeyBinding> DATE_CELL_BINDINGS
public DateCellBehavior(DateCell dateCell)
public 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<DateCell>
public void traverse(Node node, Direction dir)
BehaviorBase
traverse
in class BehaviorBase<DateCell>
node
- The node to call impl_traverse ondir
- The direction to traverseprotected DatePickerContent findDatePickerContent(Node node)
Copyright © 2020. All rights reserved.