|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.globalmentor.beans.BoundPropertyObject
com.guiseframework.model.AbstractModel
com.guiseframework.model.DefaultLabelModel
com.guiseframework.model.DefaultInfoModel
com.guiseframework.prototype.AbstractPrototype
com.guiseframework.prototype.AbstractEnableablePrototype
com.guiseframework.prototype.AbstractActionPrototype
com.guiseframework.prototype.NavigateActionPrototype
public class NavigateActionPrototype
Action prototype that knows how to navigate. The navigation destination can be updated.
| Field Summary | |
|---|---|
static java.lang.String |
NAVIGATION_URI_PROPERTY
The navigation URI bound property. |
| Fields inherited from class com.globalmentor.beans.BoundPropertyObject |
|---|
NO_PROPERTY_CHANGE_LISTENERS, NO_VETOABLE_CHANGE_LISTENERS |
| Fields inherited from interface com.guiseframework.model.Enableable |
|---|
ENABLED_PROPERTY |
| Fields inherited from interface com.guiseframework.model.InfoModel |
|---|
DESCRIPTION_CONTENT_TYPE_PROPERTY, DESCRIPTION_PROPERTY, INFO_CONTENT_TYPE_PROPERTY, INFO_PROPERTY |
| Fields inherited from interface com.guiseframework.model.LabelModel |
|---|
GLYPH_URI_PROPERTY, LABEL_CONTENT_TYPE_PROPERTY, LABEL_PROPERTY |
| Fields inherited from interface com.guiseframework.model.Model |
|---|
PLAIN_TEXT_CONTENT_TYPE, XHTML_CONTENT_TYPE, XHTML_FRAGMENT_CONTENT_TYPE |
| Constructor Summary | |
|---|---|
NavigateActionPrototype()
Default constructor. |
|
NavigateActionPrototype(java.lang.String label)
Label constructor. |
|
NavigateActionPrototype(java.lang.String label,
java.net.URI icon)
Label and icon constructor. |
|
NavigateActionPrototype(java.lang.String label,
com.globalmentor.net.URIPath navigationURIPath)
Label and navigation URI path constructor. |
|
NavigateActionPrototype(java.lang.String label,
java.net.URI icon,
java.net.URI navigationURI)
Label, icon, and navigation URI constructor. |
|
NavigateActionPrototype(java.lang.String label,
java.net.URI icon,
com.globalmentor.net.URIPath navigationURIPath)
Label, icon, and navigation URI path constructor. |
|
NavigateActionPrototype(java.net.URI navigationURI)
Navigation URI constructor. |
|
NavigateActionPrototype(com.globalmentor.net.URIPath navigationURIPath)
Navigation URI path constructor. |
|
| Method Summary | |
|---|---|
protected void |
action(int force,
int option)
Performs whatever is necessary. |
java.net.URI |
getNavigationURI()
|
void |
setNavigationURI(java.net.URI newNavigationURI)
Sets the URI for navigation. |
void |
setNavigationURIPath(com.globalmentor.net.URIPath newNavigationURIPath)
Sets the URI path for navigation. |
| Methods inherited from class com.guiseframework.prototype.AbstractActionPrototype |
|---|
addActionListener, fireActionPerformed, fireActionPerformed, getActionListeners, performAction, performAction, removeActionListener |
| Methods inherited from class com.guiseframework.prototype.AbstractEnableablePrototype |
|---|
isEnabled, setEnabled |
| Methods inherited from class com.guiseframework.model.DefaultInfoModel |
|---|
getDescription, getDescriptionContentType, getInfo, getInfoContentType, setDescription, setDescriptionContentType, setInfo, setInfoContentType |
| Methods inherited from class com.guiseframework.model.DefaultLabelModel |
|---|
getGlyphURI, getLabel, getLabelContentType, setGlyphURI, setLabel, setLabelContentType, toString |
| Methods inherited from class com.guiseframework.model.AbstractModel |
|---|
getEventListenerManager, getPlainText |
| Methods inherited from class com.globalmentor.beans.BoundPropertyObject |
|---|
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, createPostponedPropertyChangeEvent, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, getForwardPropertyChangeListener, getPropertyChangeListeners, getPropertyChangeListeners, getPropertyChangeSupport, getRepeatPropertyChangeListener, getRepeatVetoableChangeListener, getVetoableChangeListeners, getVetoableChangeListeners, getVetoableChangeSupport, hasPropertyChangeListeners, hasVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.guiseframework.model.Enableable |
|---|
isEnabled, setEnabled |
| Methods inherited from interface com.guiseframework.model.InfoModel |
|---|
getDescription, getDescriptionContentType, getInfo, getInfoContentType, setDescription, setDescriptionContentType, setInfo, setInfoContentType |
| Methods inherited from interface com.guiseframework.model.LabelModel |
|---|
getGlyphURI, getLabel, getLabelContentType, setGlyphURI, setLabel, setLabelContentType |
| Methods inherited from interface com.globalmentor.beans.PropertyConstrainable |
|---|
addVetoableChangeListener, addVetoableChangeListener, getVetoableChangeListeners, getVetoableChangeListeners, hasVetoableChangeListeners, removeVetoableChangeListener, removeVetoableChangeListener |
| Field Detail |
|---|
public static final java.lang.String NAVIGATION_URI_PROPERTY
| Constructor Detail |
|---|
public NavigateActionPrototype()
public NavigateActionPrototype(java.lang.String label)
label - The text of the label, or null if there should be no label.
public NavigateActionPrototype(java.lang.String label,
java.net.URI icon)
label - The text of the label, or null if there should be no label.icon - The icon URI, which may be a resource URI, or null if there is no icon URI.public NavigateActionPrototype(java.net.URI navigationURI)
navigationURI - The URI for navigation when the action occurs, or null if no navigation should occur.
public NavigateActionPrototype(java.lang.String label,
java.net.URI icon,
java.net.URI navigationURI)
label - The text of the label, or null if there should be no label.icon - The icon URI, which may be a resource URI, or null if there is no icon URI.navigationURI - The URI for navigation when the action occurs, or null if no navigation should occur.public NavigateActionPrototype(com.globalmentor.net.URIPath navigationURIPath)
navigationURIPath - The URI path for navigation when the action occurs, or null if no navigation should occur.
public NavigateActionPrototype(java.lang.String label,
com.globalmentor.net.URIPath navigationURIPath)
label - The text of the label, or null if there should be no label.navigationURIPath - The URI path for navigation when the action occurs, or null if no navigation should occur.
public NavigateActionPrototype(java.lang.String label,
java.net.URI icon,
com.globalmentor.net.URIPath navigationURIPath)
label - The text of the label, or null if there should be no label.icon - The icon URI, which may be a resource URI, or null if there is no icon URI.navigationURIPath - The URI path for navigation when the action occurs, or null if no navigation should occur.| Method Detail |
|---|
public java.net.URI getNavigationURI()
public void setNavigationURI(java.net.URI newNavigationURI)
newNavigationURI - The new URI for navigation.NAVIGATION_URI_PROPERTYpublic void setNavigationURIPath(com.globalmentor.net.URIPath newNavigationURIPath)
newNavigationURIPath - The new URI path for navigation.NAVIGATION_URI_PROPERTY
protected void action(int force,
int option)
AbstractActionPrototype
action in class AbstractActionPrototypeforce - The zero-based force, such as 0 for no force or 1 for an action initiated by from a mouse single click.option - The zero-based option, such as 0 for an event initiated by a mouse left button click or 1 for an event initiaged by a mouse right button click.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||