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 Details

    • Breadcrumb

      public Breadcrumb(com.globalmentor.net.URIPath navigationPath)
      Navigation path constructor.
      Parameters:
      navigationPath - The navigation path this breadcrumb represents.
      Throws:
      NullPointerException - if the given navigation path is null.
    • Breadcrumb

      public Breadcrumb(com.globalmentor.net.URIPath navigationPath, 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, String labelText, 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 Details

    • getNavigationPath

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