|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.guiseframework.event.AbstractNavigateActionListener
public abstract class AbstractNavigateActionListener
An abstract that listens for action events and keeps information for navigating in response.
| Constructor Summary | |
|---|---|
AbstractNavigateActionListener(java.net.URI navigationURI)
Constructs a listener to navigate to the provided URI. |
|
AbstractNavigateActionListener(com.globalmentor.net.URIPath navigationPath)
Constructs a listener to navigate to the provided path. |
|
AbstractNavigateActionListener(java.net.URI navigationURI,
java.lang.String viewportID)
Constructs a listener to navigate to the provided URI in the identified viewport. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent actionEvent)
Called when an action is initiated. |
java.net.URI |
getNavigationURI()
|
java.lang.String |
getViewportID()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractNavigateActionListener(com.globalmentor.net.URIPath navigationPath)
navigationPath - A path that is either relative to the application context path or is absolute.
java.lang.NullPointerException - if the given path is null.
java.lang.IllegalArgumentException - if the provided path specifies a URI scheme (i.e. the URI is absolute) and/or authority (in which case AbstractNavigateActionListener(URI) should be used instead).public AbstractNavigateActionListener(java.net.URI navigationURI)
navigationURI - The URI for navigation when the action occurs.
java.lang.NullPointerException - if the given navigation URI is null.
public AbstractNavigateActionListener(java.net.URI navigationURI,
java.lang.String viewportID)
navigationURI - The URI for navigation when the action occurs.viewportID - The ID of the viewport in which navigation should occur, or null if navigation should occur in the current viewport.
java.lang.NullPointerException - if the given navigation URI is null.| Method Detail |
|---|
public java.net.URI getNavigationURI()
public java.lang.String getViewportID()
null if navigation should occur in the current viewport..public void actionPerformed(ActionEvent actionEvent)
actionPerformed in interface ActionListeneractionEvent - The event indicating the source of the action.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||