Class NavigationPathBreadcrumbLinkPanel

All Implemented Interfaces:
com.globalmentor.beans.PropertyBindable, com.globalmentor.beans.PropertyConstrainable, io.clogr.Clogged, Box, Component, CompositeComponent, Container, LayoutComponent, Panel, Displayable, InfoModel, LabelModel, Model, PresentationModel, DepictedObject, Iterable<Component>
Direct Known Subclasses:
AutoNavigationPathBreadcrumbLinkPanel

public class NavigationPathBreadcrumbLinkPanel extends AbstractPanel
A panel displaying a navigation path as a series of breadcrumb links for the path segments. The navigation path is translated to depiction terms before being displayed, so that the path segments are shown in depiction terms.
Author:
Garret Wilson
See Also:
  • Field Details

  • Constructor Details

    • NavigationPathBreadcrumbLinkPanel

      public NavigationPathBreadcrumbLinkPanel()
      Default constructor with a default horizontal flow layout.
    • NavigationPathBreadcrumbLinkPanel

      public NavigationPathBreadcrumbLinkPanel(com.globalmentor.net.URIPath navigationPath)
      Navigation path constructor with a default horizontal flow layout.
      Parameters:
      navigationPath - The navigation path, or null if there should be no navigation path.
    • NavigationPathBreadcrumbLinkPanel

      public NavigationPathBreadcrumbLinkPanel(Layout<?> layout)
      Layout constructor.
      Parameters:
      layout - The layout definition for the container.
      Throws:
      NullPointerException - if the given layout is null.
    • NavigationPathBreadcrumbLinkPanel

      public NavigationPathBreadcrumbLinkPanel(Layout<?> layout, com.globalmentor.net.URIPath navigationPath)
      Layout and URI constructor.
      Parameters:
      layout - The layout definition for the container.
      navigationPath - The navigation path, or null if there should be no navigation path.
      Throws:
      NullPointerException - if the given layout is null.
  • Method Details

    • getNavigationPath

      public com.globalmentor.net.URIPath getNavigationPath()
      Returns:
      The navigation path, or null if there is no navigation path.
    • setNavigationPath

      public void setNavigationPath(com.globalmentor.net.URIPath newNavigationPath)
      Sets the navigation path. This is a bound property.
      Parameters:
      newNavigationPath - The new navigation path, or null if there should be no navigation navigation path.
      See Also: