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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_ICON
static String
F_ICON_CLASS
-
Constructor Summary
Constructors Constructor Description BaseMenuItem(String nameModel, String iconClass, Class<? extends org.apache.wicket.markup.html.WebPage> pageClass, org.apache.wicket.request.mapper.parameter.PageParameters params, boolean active)
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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<? extends org.apache.wicket.markup.html.WebPage>[]
getAliases()
Integer
getDisplayOrder()
String
getIconClass()
String
getNameModel()
Class<? extends org.apache.wicket.markup.html.WebPage>
getPageClass()
org.apache.wicket.request.mapper.parameter.PageParameters
getParams()
boolean
isDynamic()
boolean
isMenuActive(org.apache.wicket.markup.html.WebPage page)
void
setDisplayOrder(Integer displayOrder)
void
setDynamic(boolean dynamic)
String
toString()
-
-
-
Field Detail
-
F_ICON_CLASS
public static final String F_ICON_CLASS
- See Also:
- Constant Field Values
-
DEFAULT_ICON
public static final String DEFAULT_ICON
- See Also:
- Constant Field Values
-
-
Method Detail
-
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)
-
setDynamic
public void setDynamic(boolean dynamic)
-
isDynamic
public boolean isDynamic()
-
-