Class BaseMenuItem

java.lang.Object
com.evolveum.midpoint.web.component.menu.BaseMenuItem
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
MainMenuItem, MenuItem

public class BaseMenuItem extends Object implements Serializable
Author:
Viliam Repan (lazyman)
See Also:
  • Field Details

  • Constructor Details

    • BaseMenuItem

      public BaseMenuItem(String nameModel, String iconClass, Class<? extends org.apache.wicket.markup.html.WebPage> pageClass, org.apache.wicket.request.mapper.parameter.PageParameters params, Class<? extends org.apache.wicket.markup.html.WebPage>... aliases)
    • BaseMenuItem

      public BaseMenuItem(String nameModel, String iconClass, Class<? extends org.apache.wicket.markup.html.WebPage> pageClass, org.apache.wicket.request.mapper.parameter.PageParameters params, boolean active)
  • Method Details

    • getAliases

      public Class<? extends org.apache.wicket.markup.html.WebPage>[] getAliases()
      Returns:
      Returns array of WebPage classes where this menu should be marked as active.
    • getNameModel

      public String getNameModel()
    • getPageClass

      public Class<? extends org.apache.wicket.markup.html.WebPage> getPageClass()
    • getParams

      public org.apache.wicket.request.mapper.parameter.PageParameters getParams()
    • getIconClass

      public String getIconClass()
    • getDisplayOrder

      public Integer getDisplayOrder()
    • setDisplayOrder

      public void setDisplayOrder(Integer displayOrder)
    • isMenuActive

      public boolean isMenuActive(org.apache.wicket.markup.html.WebPage page)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setDynamic

      public void setDynamic(boolean dynamic)
    • isDynamic

      public boolean isDynamic()