Type Parameters:
T - type of page class, if any
All Implemented Interfaces:
Activatable, IBootstrapButton<BootstrapBookmarkablePageLink<T>>, Serializable, Iterable<Component>, IEventSink, IEventSource, IFeedbackContributor, IConverterLocator, IGenericComponent<T,Link<T>>, IMetadataContext<Serializable,Component>, IRequestListener, IHeaderContributor, IRequestableComponent, IHierarchical<Component>, IClusterable

public class NavbarButton<T> extends BootstrapBookmarkablePageLink<T>
Renders a stable navbar button link which can be cached in a web browser and used at a later time. This button should only be used inside a Navbar menu.
Author:
miha
See Also:
  • Constructor Details

    • NavbarButton

      public NavbarButton(Class<P> pageClass, PageParameters parameters, IModel<String> label)
      Constructor.
      Type Parameters:
      P - type of the page class
      Parameters:
      pageClass - The class of page to link to
      parameters - The parameters to pass to the new page when the link is clicked
      label - The component's label
    • NavbarButton

      public NavbarButton(Class<P> pageClass, IModel<String> label)
      Constructor.
      Type Parameters:
      P - type of the page class
      Parameters:
      pageClass - The class of page to link to
      label - The component's label
    • NavbarButton

      public NavbarButton(Class<P> pageClass, IconType iconType)
      Constructor.
      Type Parameters:
      P - type of the page class
      Parameters:
      pageClass - The class of page to link to
  • Method Details