public class ActionPickerByClass extends Object implements ActionPicker
| Constructor and Description |
|---|
ActionPickerByClass(Class<? extends Action> requestedActionClass)
Create an ActionPickerByClass for the passed action class.
|
| Modifier and Type | Method and Description |
|---|---|
Class<? extends Action> |
getRequestedActionClass()
Return the class this picker is configured to locate.
|
Class<? extends Action> |
pickAction(List<ActionClassInfo> actions)
This method is called to select the action to be called for a list of actions with the same name.
|
void |
setRequestedActionClass(Class<? extends Action> requestedActionClass)
Set the class to be used to locate actions by this picker.
|
public Class<? extends Action> pickAction(List<ActionClassInfo> actions)
ActionPickerpickAction in interface ActionPickeractions - list of action for the requested namepublic Class<? extends Action> getRequestedActionClass()