Package io.guise.framework.model
Class DefaultNavigationModel
- java.lang.Object
-
- com.globalmentor.beans.BoundPropertyObject
-
- io.guise.framework.model.AbstractModel
-
- io.guise.framework.model.DefaultNavigationModel
-
- All Implemented Interfaces:
com.globalmentor.beans.PropertyBindable
,com.globalmentor.beans.PropertyConstrainable
,Model
,NavigationModel
public class DefaultNavigationModel extends AbstractModel implements NavigationModel
A default implementation of a model for identifying a navigation path.- Author:
- Garret Wilson
-
-
Field Summary
-
Fields inherited from class com.globalmentor.beans.BoundPropertyObject
NO_PROPERTY_CHANGE_LISTENERS, NO_VETOABLE_CHANGE_LISTENERS
-
Fields inherited from interface io.guise.framework.model.NavigationModel
NAVIGATION_PATH_PROPERTY
-
-
Constructor Summary
Constructors Constructor Description DefaultNavigationModel()
Default constructor.DefaultNavigationModel(com.globalmentor.net.URIPath navigationPath)
Navigation path constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.globalmentor.net.URIPath
getNavigationPath()
void
setNavigationPath(com.globalmentor.net.URIPath newNavigationPath)
Sets the navigation path This is a bound property.java.lang.String
toString()
-
Methods inherited from class io.guise.framework.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
-
-
-
-
Constructor Detail
-
DefaultNavigationModel
public DefaultNavigationModel()
Default constructor.
-
DefaultNavigationModel
public DefaultNavigationModel(com.globalmentor.net.URIPath navigationPath)
Navigation path constructor.- Parameters:
navigationPath
- The navigation path, ornull
if the navigation path is not available.
-
-
Method Detail
-
getNavigationPath
public com.globalmentor.net.URIPath getNavigationPath()
- Specified by:
getNavigationPath
in interfaceNavigationModel
- Returns:
- The navigation path, or
null
if the navigation path is not available.
-
setNavigationPath
public void setNavigationPath(com.globalmentor.net.URIPath newNavigationPath)
Description copied from interface:NavigationModel
Sets the navigation path This is a bound property.- Specified by:
setNavigationPath
in interfaceNavigationModel
- Parameters:
newNavigationPath
- The new navigation path, ornull
if the navigation path is not available.- See Also:
NavigationModel.NAVIGATION_PATH_PROPERTY
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-