Class AbstractNavigateModalActionListener

java.lang.Object
io.guise.framework.event.AbstractNavigateActionListener
io.guise.framework.event.AbstractNavigateModalActionListener
All Implemented Interfaces:
ActionListener, GuiseEventListener, EventListener
Direct Known Subclasses:
NavigateModalActionListener

public class AbstractNavigateModalActionListener extends AbstractNavigateActionListener
A abstract object that listens for action events and keeps information for modally navigating in response.
Author:
Garret Wilson
  • Constructor Details

    • AbstractNavigateModalActionListener

      public AbstractNavigateModalActionListener(String navigationPath, ModalNavigationListener modalListener)
      Constructs a listener to navigate modally to the provided path.
      Parameters:
      navigationPath - A path that is either relative to the application context path or is absolute.
      modalListener - The listener to respond to the end of modal interaction.
      Throws:
      NullPointerException - if the given path and/or modal listener is null.
      IllegalArgumentException - if the provided path specifies a URI scheme (i.e. the URI is absolute) and/or authority (in which case AbstractNavigateModalActionListener(URI, ModalNavigationListener) should be used instead).
    • AbstractNavigateModalActionListener

      public AbstractNavigateModalActionListener(URI navigationURI, ModalNavigationListener modalListener)
      Constructs a listener to navigate modally to the provided URI.
      Parameters:
      navigationURI - The URI for navigation when the action occurs.
      modalListener - The listener to respond to the end of modal interaction.
      Throws:
      NullPointerException - if the given navigation URI and/or modal listener is null.
  • Method Details

    • getModelListener

      public final ModalNavigationListener getModelListener()
      Returns:
      The listener to respond to the end of modal interaction.