Package org.apache.pivot.wtk
Interface ActionClassListener
-
- All Known Implementing Classes:
ActionClassListener.Adapter
,ActionClassListener.Listeners
public interface ActionClassListener
Action class listener interface.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ActionClassListener.Adapter
Deprecated.Since 2.1 and Java 8 the interface itself has default implementations.static class
ActionClassListener.Listeners
Action class listener listeners list.
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
actionAdded(java.lang.String id)
Called when an action has been added to the named action dictionary.default void
actionRemoved(java.lang.String id, Action action)
Called when an action has been removed from the named action dictionary.default void
actionUpdated(java.lang.String id, Action previousAction)
Called when an action has been updated in the named action dictionary.
-
-
-
Method Detail
-
actionAdded
default void actionAdded(java.lang.String id)
Called when an action has been added to the named action dictionary.- Parameters:
id
- The identifier for the newly added action.
-
actionUpdated
default void actionUpdated(java.lang.String id, Action previousAction)
Called when an action has been updated in the named action dictionary.- Parameters:
id
- The identifier for the updated action.previousAction
- The previousAction
associated with this identifier.
-
actionRemoved
default void actionRemoved(java.lang.String id, Action action)
Called when an action has been removed from the named action dictionary.- Parameters:
id
- Identifier for the action that was removed.action
- The removed action.
-
-