Class AutoNavigationPathBreadcrumbLinkPanel

    • Constructor Detail

      • AutoNavigationPathBreadcrumbLinkPanel

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

        public AutoNavigationPathBreadcrumbLinkPanel​(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.
      • AutoNavigationPathBreadcrumbLinkPanel

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

        public AutoNavigationPathBreadcrumbLinkPanel​(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:
        java.lang.NullPointerException - if the given layout is null.
    • Method Detail

      • navigated

        public void navigated​(NavigationEvent navigationEvent)
        Called when navigation occurs.

        This implementation changes the breadcrumb navigation path to the new navigation path.

        Specified by:
        navigated in interface NavigationListener
        Parameters:
        navigationEvent - The event indicating navigation details.