public class AccordionBehavior extends BehaviorBase<Accordion>
Modifier and Type | Field and Description |
---|---|
protected static List<KeyBinding> |
ACCORDION_BINDINGS |
IS_TOUCH_SUPPORTED, TRAVERSAL_BINDINGS
Constructor and Description |
---|
AccordionBehavior(Accordion accordion) |
Modifier and Type | Method and Description |
---|---|
protected void |
callAction(String name)
Called to invoke the action associated with the given name.
|
void |
dispose()
Called by a Skin when the Skin is disposed.
|
void |
mousePressed(MouseEvent e)
Mouse press over the background of the accordion
i.e.
|
callActionForEvent, contextMenuRequested, focusChanged, getControl, matchActionForEvent, mouseDragged, mouseEntered, mouseExited, mouseReleased, traverse, traverseDown, traverseLeft, traverseNext, traversePrevious, traverseRight, traverseUp
protected static final List<KeyBinding> ACCORDION_BINDINGS
public AccordionBehavior(Accordion accordion)
public void dispose()
BehaviorBase
dispose
in class BehaviorBase<Accordion>
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<Accordion>
public void mousePressed(MouseEvent e)
mousePressed
in class BehaviorBase<Accordion>
e
- the mouse eventCopyright © 2020. All rights reserved.