Top Description Methods
org.controlsfx.control.action

public Interface AnnotatedActionFactory

Known Direct Implementers
org.controlsfx.control.action.DefaultActionFactory
Imports
java.lang.reflect.Method

Defines the interface used by ActionMap for creating instances of AnnotatedAction.

Method Summary

Modifier and TypeMethod and Description
public AnnotatedAction

Returns:

An AnnotatedAction instance.
createAction
(ActionProxy
The annotation specified on the method.
annotation
,
Method
The method to be invoked when an action is fired.
method
,
Object
The target object on which the method will be invoked.
target
)

Create an AnnotatedAction instance.

Method Detail

createActionback to summary
public AnnotatedAction createAction(ActionProxy annotation, Method method, Object target)

Create an AnnotatedAction instance.

Parameters
annotation:ActionProxy

The annotation specified on the method.

method:Method

The method to be invoked when an action is fired.

target:Object

The target object on which the method will be invoked.

Returns:AnnotatedAction

An AnnotatedAction instance.