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) |
getAdapted
acceleratorProperty, displayNameProperty, enabledProperty, getAccelerator, getDisplayName, getGraphicFactory, graphicFactoryProperty, isEnabled, setAccelerator, setDisplayName, setEnabled, setGraphicFactory
public ActionListenerAdapter(ActionListener<? super ActionEvent> listener)
listener
- the action listenerpublic void handle(ActionEvent actionEvent)
Copyright © 2012–2017 Drombler. All rights reserved.