Package io.guise.framework
Class Breadcrumb
- java.lang.Object
-
- com.globalmentor.beans.BoundPropertyObject
-
- io.guise.framework.model.AbstractModel
-
- io.guise.framework.model.DefaultLabelModel
-
- io.guise.framework.model.DefaultInfoModel
-
- io.guise.framework.Breadcrumb
-
- All Implemented Interfaces:
com.globalmentor.beans.PropertyBindable
,com.globalmentor.beans.PropertyConstrainable
,InfoModel
,LabelModel
,Model
public class Breadcrumb extends DefaultInfoModel
Encapsulates navigation information for particular location, such as the segment of a navigation URI.- 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.InfoModel
DESCRIPTION_CONTENT_TYPE_PROPERTY, DESCRIPTION_PROPERTY, INFO_CONTENT_TYPE_PROPERTY, INFO_PROPERTY
-
Fields inherited from interface io.guise.framework.model.LabelModel
GLYPH_URI_PROPERTY, LABEL_CONTENT_TYPE_PROPERTY, LABEL_PROPERTY
-
-
Constructor Summary
Constructors Constructor Description Breadcrumb(com.globalmentor.net.URIPath navigationPath)
Navigation path constructor.Breadcrumb(com.globalmentor.net.URIPath navigationPath, java.lang.String labelText)
Navigation path and Label constructor.Breadcrumb(com.globalmentor.net.URIPath navigationPath, java.lang.String labelText, java.net.URI glyphURI)
Navigation path, label, and glyph URI constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.globalmentor.net.URIPath
getNavigationPath()
-
Methods inherited from class io.guise.framework.model.DefaultInfoModel
getDescription, getDescriptionContentType, getInfo, getInfoContentType, setDescription, setDescriptionContentType, setInfo, setInfoContentType
-
Methods inherited from class io.guise.framework.model.DefaultLabelModel
getGlyphURI, getLabel, getLabelContentType, setGlyphURI, setLabel, setLabelContentType, 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
-
Methods inherited from interface io.guise.framework.model.LabelModel
getGlyphURI, getLabel, getLabelContentType, setGlyphURI, setLabel, setLabelContentType
-
-
-
-
Constructor Detail
-
Breadcrumb
public Breadcrumb(com.globalmentor.net.URIPath navigationPath)
Navigation path constructor.- Parameters:
navigationPath
- The navigation path this breadcrumb represents.- Throws:
java.lang.NullPointerException
- if the given navigation path isnull
.
-
Breadcrumb
public Breadcrumb(com.globalmentor.net.URIPath navigationPath, java.lang.String labelText)
Navigation path and Label constructor.- Parameters:
navigationPath
- The navigation path this breadcrumb represents.labelText
- The text of the label, ornull
if there should be no label.
-
Breadcrumb
public Breadcrumb(com.globalmentor.net.URIPath navigationPath, java.lang.String labelText, java.net.URI glyphURI)
Navigation path, label, and glyph URI constructor.- Parameters:
navigationPath
- The navigation path this breadcrumb represents.labelText
- The text of the label, ornull
if there should be no label.glyphURI
- The glyph URI, which may be a resource URI, ornull
if there is no glyph URI.
-
-