Package | Description |
---|---|
com.neurosys.menu.adapters | |
com.neurosys.menu.adapters.wicket | |
com.neurosys.menu.model | |
com.neurosys.menu.service | |
com.neurosys.site.wicket.panels |
Modifier and Type | Method and Description |
---|---|
String |
IClientScriptMenuAdapter.convert(MenuItemState rootState,
boolean ignoreRoot)
Translate the state of a menu to JavaScript or relevant Markup code
|
String |
IClientMenuAdapter.convert(MenuItemState rootState,
boolean ignoreRoot)
Translate the state of a menu to JavaScript or relevant Markup code
|
Modifier and Type | Method and Description |
---|---|
String |
TigraDHTMLMenu.convert(MenuItemState rootState,
boolean ignoreRoot)
Translate the state of a menu to JavaScript or relevant Markup code
|
Modifier and Type | Class and Description |
---|---|
class |
ContentMenuItemState<C>
Allows a
MenuItemState to contain additional Content for the State it is in. |
Modifier and Type | Method and Description |
---|---|
MenuItemState |
Menu.getState() |
Modifier and Type | Method and Description |
---|---|
List<MenuItemState> |
MenuItemState.getChildren() |
Modifier and Type | Method and Description |
---|---|
void |
Menu.setState(MenuItemState state) |
Modifier and Type | Method and Description |
---|---|
void |
MenuItemState.setChildren(List<MenuItemState> children) |
Constructor and Description |
---|
Menu(MenuItemState state) |
Modifier and Type | Method and Description |
---|---|
protected MenuItemState |
StaticMenuLogic.changeMenuStateByAuth(MenuItemState state,
User user)
Change the current State for authorizations.
|
static MenuItemState |
MenuHelper.cloneMenuItemToState(MenuItem item,
Integer levels)
generate State tree from an
MenuItem upto levels. |
<M extends MenuItem> |
IMenuStateLogic.getCurrentState(MenuItem<M> rootItem,
MenuItem<M> focussedItem)
Derive the State for a given
MenuItem |
MenuItemState |
ExpandCurrentSelectionMenuLogic.getCurrentState(MenuItem rootItem,
MenuItem focussedItem) |
MenuItemState |
AuthMenuLogic.getCurrentState(MenuItem rootItem,
MenuItem focussedItem)
Overrides
IMenuStateLogic method to supply null to the method that takes the User param. |
MenuItemState |
StaticMenuLogic.getCurrentState(MenuItem rootItem,
MenuItem focussedItem,
User user) |
abstract MenuItemState |
AuthMenuLogic.getCurrentState(MenuItem rootItem,
MenuItem focussedItem,
User user)
|
Modifier and Type | Method and Description |
---|---|
protected List<MenuItemState> |
MenuJSONTransformer.getNodeChildStates(MenuItemState menuItemState,
boolean ignoreNavigableNodeChildren)
Override to dictate custom strategies on what child elements can be loaded for a given parent
MenuItemState |
Modifier and Type | Method and Description |
---|---|
protected MenuItemState |
StaticMenuLogic.changeMenuStateByAuth(MenuItemState state,
User user)
Change the current State for authorizations.
|
protected Boolean |
StaticMenuLogic.checkIfChildrenHaveAutorization(MenuItemState state,
User user)
Menus that don't have authorization can be shown if they have a Child that does -- but any links then should be de-activated
|
IAuthorizationService.AuthState |
IMenuAuthLogic.getItemAuthState(MenuItemState currentState,
User user)
Determine the Authorization State of a Menu Item after reading its Auth Configuration
(If its
MenuItem is of type AuthorizableMenuItem ). |
IAuthorizationService.AuthState |
StaticMenuLogic.getItemAuthState(MenuItemState currentState,
User user) |
protected List<MenuItemState> |
MenuJSONTransformer.getNodeChildStates(MenuItemState menuItemState,
boolean ignoreNavigableNodeChildren)
Override to dictate custom strategies on what child elements can be loaded for a given parent
MenuItemState |
Modifier and Type | Method and Description |
---|---|
protected List<MenuItemState> |
RecursiveListBasedMenuPanel.getNodeChildStates(MenuItemState menuItemState)
Override to dictate custom strategies on what child elements can be loaded for a given parent
MenuItemState |
Modifier and Type | Method and Description |
---|---|
protected List<String> |
RecursiveListBasedMenuPanel.defineAttributesForLink(MenuItemState state)
Override to customize attributes to Link
|
protected org.apache.wicket.Component |
RecursiveListBasedMenuPanel.getLink(String linkComponentName,
MenuItemState state,
org.apache.wicket.markup.html.WebMarkupContainer container)
Create a
Link or a container containing the Link part of the Menu item. |
protected List<MenuItemState> |
RecursiveListBasedMenuPanel.getNodeChildStates(MenuItemState menuItemState)
Override to dictate custom strategies on what child elements can be loaded for a given parent
MenuItemState |
protected org.apache.wicket.markup.html.WebMarkupContainer |
RecursiveListBasedMenuPanel.getSubMenuContainer(MenuItemState menuItemState,
org.apache.wicket.markup.html.WebMarkupContainer children)
Optional override that returns a wrapper sub menu container over children produced by
RecursiveListBasedMenuPanel.recurseAdd(Fragment, MenuItemState) |
Copyright © 2018. All rights reserved.