Package de.xima.fc.gui.common.model
Class MenuEntryModel
java.lang.Object
de.xima.fc.gui.common.model.MenuEntryModel
- All Implemented Interfaces:
IMenuEntryModel,Serializable
- Direct Known Subclasses:
SubMenuEntryModel
Deprecated.
Use
MainMenuBuilder instead.- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddChild(IMenuEntryModel child) Deprecated.addChild(org.apache.commons.lang3.builder.Builder<IMenuEntryModel> child) Deprecated.booleanDeprecated.Deprecated.Deprecated.Deprecated.Deprecated.getHref()Deprecated.getIcon()Deprecated.getId()Deprecated.Deprecated.Deprecated.Deprecated.getText()Deprecated.inthashCode()Deprecated.booleanDeprecated.booleanDeprecated.booleanDeprecated.booleanDeprecated.booleanDeprecated.booleanDeprecated.voidsetAccessable(boolean accessable) Deprecated.voidsetAdminDashCategory(EAdminDashCategory adminDashCategory) Deprecated.voidsetDescription(String description) Deprecated.voidsetExternal(boolean external) Deprecated.voidDeprecated.voidDeprecated.voidDeprecated.voidDeprecated.voidsetLicensed(boolean licensed) Deprecated.voidsetParent(MenuEntryModel parent) Deprecated.voidsetRendered(boolean rendered) Deprecated.voidsetRenderedOnDash(boolean renderedOnDash) Deprecated.voidsetStyleClass(String styleClass) Deprecated.voidDeprecated.voidDeprecated.
-
Constructor Details
-
MenuEntryModel
protected MenuEntryModel()Deprecated.
-
-
Method Details
-
getText
Deprecated.- Specified by:
getTextin interfaceIMenuEntryModel- Returns:
- The name of this menu entry, as shown in the menu.
-
getDescription
Deprecated.- Specified by:
getDescriptionin interfaceIMenuEntryModel- Returns:
- A long description or explanation for this menu entry.
-
getChildren
Deprecated.- Specified by:
getChildrenin interfaceIMenuEntryModel- Returns:
- All children of this menu entry.
-
addChild
Deprecated.- Specified by:
addChildin interfaceIMenuEntryModel
-
addChild
Deprecated.- Specified by:
addChildin interfaceIMenuEntryModel
-
getId
Deprecated.- Specified by:
getIdin interfaceIMenuEntryModel- Returns:
- The unique ID of this menu entry. Can be used as an HTML id.
-
getIcon
Deprecated.- Specified by:
getIconin interfaceIMenuEntryModel- Returns:
- Icon this menu entry if it has one, or
null.
-
getHref
Deprecated.- Specified by:
getHrefin interfaceIMenuEntryModel- Returns:
- The link to this menu entry. For internal pages, this is the relative link.
-
getHelpID
Deprecated.- Specified by:
getHelpIDin interfaceIMenuEntryModel- Returns:
- The ID for the help page for this menu entry. The help pages are currently located at http://help.formcycle.eu
-
isRendered
public boolean isRendered()Deprecated.- Specified by:
isRenderedin interfaceIMenuEntryModel- Returns:
- Whether this menu entry is displayed. Note that a menu entry may not be displayed on a particular page,
but still be
IMenuEntryModel.isAccessable()by that user.
-
isExternal
public boolean isExternal()Deprecated.- Specified by:
isExternalin interfaceIMenuEntryModel- Returns:
- the external
-
isRenderedOnDash
public boolean isRenderedOnDash()Deprecated.- Specified by:
isRenderedOnDashin interfaceIMenuEntryModel- Returns:
- Whether this item is available on the client (normal) dashboard.
-
isAccessable
public boolean isAccessable()Deprecated.- Specified by:
isAccessablein interfaceIMenuEntryModel- Returns:
- Whether the current user is allowed to access this menu entry.
-
getAdminDashCategory
Deprecated.- Specified by:
getAdminDashCategoryin interfaceIMenuEntryModel- Returns:
- If
null, this item is not available on the sadmin dashboard. Otherwise, it is available under that category.
-
setText
Deprecated. -
setDescription
Deprecated. -
setId
Deprecated. -
setIcon
Deprecated. -
getStyleClass
Deprecated. -
setStyleClass
Deprecated. -
setHref
Deprecated. -
setHelpID
Deprecated. -
setRendered
public void setRendered(boolean rendered) Deprecated. -
setRenderedOnDash
public void setRenderedOnDash(boolean renderedOnDash) Deprecated. -
setAdminDashCategory
Deprecated. -
setExternal
public void setExternal(boolean external) Deprecated. -
setAccessable
public void setAccessable(boolean accessable) Deprecated. -
hashCode
public int hashCode()Deprecated. -
equals
Deprecated. -
getTarget
Deprecated.- Specified by:
getTargetin interfaceIMenuEntryModel- Returns:
- The target for menu entry link f.e. _self, _blank, _top, framename
-
setTarget
Deprecated. -
getParent
Deprecated.- Specified by:
getParentin interfaceIMenuEntryModel- Returns:
- The parent of this entry, or
nullif it is a root entry.
-
setParent
Deprecated.- Specified by:
setParentin interfaceIMenuEntryModel- Parameters:
parent- The parent of this entry, ornullif it is a root entry.
-
isHasRenderedChildren
public boolean isHasRenderedChildren()Deprecated.- Specified by:
isHasRenderedChildrenin interfaceIMenuEntryModel- Returns:
- Whether this entry contains any child that is rendered.
-
isLicensed
Deprecated.- Specified by:
isLicensedin interfaceIMenuEntryModel- Returns:
trueif the license allows this feature,falseotherwise.
-
setLicensed
Deprecated.
-