Uses of Class
org.apache.pivot.wtk.Action
-
Packages that use Action Package Description org.apache.pivot.wtk Contains classes that define the structure and behavior of WTK user interface components.org.apache.pivot.wtk.skin Contains common skins and abstract base classes for theme-specific skins. -
-
Uses of Action in org.apache.pivot.wtk
Methods in org.apache.pivot.wtk that return Action Modifier and Type Method Description static <E extends java.lang.Enum<E>>
ActionAction. addNamedAction(E actionName, Action action)
Add this action to the named action dictionary.static Action
Action. addNamedAction(java.lang.String actionName, Action action)
Add this action to the named action dictionary.Action
Action.NamedActionDictionary. get(java.lang.String actionName)
Action
Button. getAction()
Returns the action associated with this button.Action
Window.ActionMapping. getAction()
static <E extends java.lang.Enum<E>>
ActionAction. getNamedAction(E actionName)
Get the named action from the dictionary.static Action
Action. getNamedAction(java.lang.String actionName)
Get the named action from the dictionary.Action
Action.NamedActionDictionary. put(java.lang.String actionName, Action action)
Action
Action.NamedActionDictionary. remove(java.lang.String actionName)
Methods in org.apache.pivot.wtk with parameters of type Action Modifier and Type Method Description default void
ButtonListener. actionChanged(Button button, Action previousAction)
Called when a button's action has changed.void
ButtonListener.Adapter. actionChanged(Button button, Action previousAction)
Deprecated.void
ButtonListener.Listeners. actionChanged(Button button, Action previousAction)
void
WindowActionMappingListener. actionChanged(Window.ActionMapping actionMapping, Action previousAction)
Called when an action mapping's action has changed.void
WindowActionMappingListener.Listeners. actionChanged(Window.ActionMapping actionMapping, Action previousAction)
default void
ActionClassListener. actionRemoved(java.lang.String id, Action action)
Called when an action has been removed from the named action dictionary.void
ActionClassListener.Adapter. actionRemoved(java.lang.String id, Action action)
Deprecated.void
ActionClassListener.Listeners. actionRemoved(java.lang.String id, Action action)
default void
ActionClassListener. actionUpdated(java.lang.String id, Action previousAction)
Called when an action has been updated in the named action dictionary.void
ActionClassListener.Adapter. actionUpdated(java.lang.String id, Action previousAction)
Deprecated.void
ActionClassListener.Listeners. actionUpdated(java.lang.String id, Action previousAction)
static <E extends java.lang.Enum<E>>
ActionAction. addNamedAction(E actionName, Action action)
Add this action to the named action dictionary.static Action
Action. addNamedAction(java.lang.String actionName, Action action)
Add this action to the named action dictionary.void
ActionListener. enabledChanged(Action action)
Called when an action's enabled state has changed.void
ActionListener.Listeners. enabledChanged(Action action)
Action
Action.NamedActionDictionary. put(java.lang.String actionName, Action action)
void
Button. setAction(Action action)
Sets this button's action.void
Window.ActionMapping. setAction(Action action)
Constructors in org.apache.pivot.wtk with parameters of type Action Constructor Description ActionMapping(Keyboard.KeyStroke keyStroke, Action action)
Callback(Action actionToPerform, Component actionSource)
Construct a callback to perform the action on the GUI (EDT) thread. -
Uses of Action in org.apache.pivot.wtk.skin
Methods in org.apache.pivot.wtk.skin with parameters of type Action Modifier and Type Method Description void
ButtonSkin. actionChanged(Button button, Action previousAction)
-