Package io.guise.framework.event
Class NavigateModalActionListener
java.lang.Object
io.guise.framework.event.AbstractNavigateActionListener
io.guise.framework.event.AbstractNavigateModalActionListener
io.guise.framework.event.NavigateModalActionListener
- All Implemented Interfaces:
ActionListener
,GuiseEventListener
,EventListener
A object that listens for action events and in response modally changes the navigation. This class if declared final because it encapsulates a set of known,
bounded functionality that may be deferred to the client if possible.
- Author:
- Garret Wilson
-
Constructor Summary
ConstructorsConstructorDescriptionNavigateModalActionListener
(String navigationPath, ModalNavigationListener modalListener) Constructs a listener to navigate modally to the provided path.NavigateModalActionListener
(URI navigationURI, ModalNavigationListener modalListener) Constructs a listener to navigate modally to the provided URI. -
Method Summary
Modifier and TypeMethodDescriptionvoid
actionPerformed
(ActionEvent actionEvent) Called when an action is initiated.Methods inherited from class io.guise.framework.event.AbstractNavigateModalActionListener
getModelListener
Methods inherited from class io.guise.framework.event.AbstractNavigateActionListener
getNavigationURI, getViewportID
-
Constructor Details
-
Method Details
-
actionPerformed
Called when an action is initiated.This implementation requests navigation from the session.
This implementation requests modal navigation from the session.
- Specified by:
actionPerformed
in interfaceActionListener
- Overrides:
actionPerformed
in classAbstractNavigateActionListener
- Parameters:
actionEvent
- The event indicating the source of the action.
-