public class ActionEventHandlerAdapter extends AbstractFXActionAdapter<EventHandler<ActionEvent>>
FXAction adapter for EventHandler<ActionEvent>.
This class allows to use a EventHandler<ActionEvent> as a FXAction.accelerator, displayName, enabled, graphicFactory| Constructor and Description |
|---|
ActionEventHandlerAdapter(EventHandler<ActionEvent> actionEventHandler)
Creates a new instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
handle(ActionEvent e) |
getAdaptedacceleratorProperty, displayNameProperty, enabledProperty, getAccelerator, getDisplayName, getGraphicFactory, graphicFactoryProperty, isEnabled, setAccelerator, setDisplayName, setEnabled, setGraphicFactorypublic ActionEventHandlerAdapter(EventHandler<ActionEvent> actionEventHandler)
actionEventHandler - the action event handlerpublic void handle(ActionEvent e)
Copyright © 2012–2018 Drombler. All rights reserved.