public class MenuItemFactory extends Object
| Constructor and Description |
|---|
MenuItemFactory() |
| 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)
Deprecated.
use instead
LinkFactory#newBookmarkablePageLink(String, Class, String, de.alpharogroup.locale.ResourceBundleKey, Component) |
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)
LinkFactory#newBookmarkablePageLink(String, Class, String, de.alpharogroup.locale.ResourceBundleKey, 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)
pageClass - the page classresourceModelKey - 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 PageParametersCopyright © 2010–2016 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.