Class 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
    • 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 is null.
      • 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, or null 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, or null if there should be no label.
        glyphURI - The glyph URI, which may be a resource URI, or null if there is no glyph URI.
    • Method Detail

      • getNavigationPath

        public com.globalmentor.net.URIPath getNavigationPath()
        Returns:
        The navigation path this breadcrumb represents.