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) |
getAdapted
acceleratorProperty, displayNameProperty, enabledProperty, getAccelerator, getDisplayName, getGraphicFactory, graphicFactoryProperty, isEnabled, setAccelerator, setDisplayName, setEnabled, setGraphicFactory
public ActionEventHandlerAdapter(EventHandler<ActionEvent> actionEventHandler)
actionEventHandler
- the action event handlerpublic void handle(ActionEvent e)
Copyright © 2012–2017 Drombler. All rights reserved.