public class MenuUtils extends Object
| Constructor and Description |
|---|
MenuUtils() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.wicket.markup.html.link.BookmarkablePageLink<String> |
newBookmarkablePageLink(String linkId,
Class<? extends org.apache.wicket.Page> pageClass,
String labelId,
String resourceModelKey,
org.apache.wicket.Component component)
Creates the bookmarkable page link.
|
static MenuItem |
newMenuItem(Class<? extends org.apache.wicket.Page> pageClass,
String resourceModelKey,
org.apache.wicket.Component component)
Creates the menu item.
|
static MenuItem |
newMenuItem(Class<? extends org.apache.wicket.Page> pageClass,
String resourceModelKey,
org.apache.wicket.Component component,
org.apache.wicket.request.mapper.parameter.PageParameters parameters)
Creates the menu item.
|
static MenuItem |
newMenuItem(org.apache.wicket.model.IModel<String> labelModel)
Creates the menu item.
|
public static org.apache.wicket.markup.html.link.BookmarkablePageLink<String> newBookmarkablePageLink(String linkId, Class<? extends org.apache.wicket.Page> pageClass, String labelId, String resourceModelKey, org.apache.wicket.Component component)
linkId - the link idpageClass - the page classlabelId - the label idresourceModelKey - the resource model keycomponent - the componentpublic static MenuItem newMenuItem(Class<? extends org.apache.wicket.Page> pageClass, String resourceModelKey, org.apache.wicket.Component component, org.apache.wicket.request.mapper.parameter.PageParameters parameters)
pageClass - the page classresourceModelKey - the resource model keycomponent - the componentparameters - the PageParameterspublic static MenuItem newMenuItem(org.apache.wicket.model.IModel<String> labelModel)
labelModel - the label modelpublic static MenuItem newMenuItem(Class<? extends org.apache.wicket.Page> pageClass, String resourceModelKey, org.apache.wicket.Component component)
pageClass - the page classresourceModelKey - the resource model keycomponent - the componentCopyright © 2010–2015. All rights reserved.