public class ActionListenerAdapter extends AbstractFXActionAdapter<ActionListener<? super ActionEvent>>
FXAction adapter for ActionListener<? super ActionEvent>.
This class allows to use an ActionListener as a FXAction.accelerator, displayName, enabled, graphicFactory| Constructor and Description |
|---|
ActionListenerAdapter(ActionListener<? super ActionEvent> listener)
Creates a new instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
handle(ActionEvent actionEvent) |
getAdaptedacceleratorProperty, displayNameProperty, enabledProperty, getAccelerator, getDisplayName, getGraphicFactory, graphicFactoryProperty, isEnabled, setAccelerator, setDisplayName, setEnabled, setGraphicFactorypublic ActionListenerAdapter(ActionListener<? super ActionEvent> listener)
listener - the action listenerpublic void handle(ActionEvent actionEvent)
Copyright © 2012–2015 Drombler. All rights reserved.