Package de.uplanet.lucy.server.menu.rt
Class SeparatorMenuItem
java.lang.Object
de.uplanet.lucy.server.menu.rt.AbstractMenuItem
de.uplanet.lucy.server.menu.rt.SeparatorMenuItem
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionchildren()Get the children of this menu item.clone()intGet the number of children of this node.getDescendantOrSelf(String p_strId) Get the menu item with the specified unique identifier from this subtree.intintbooleanCheck if this menu item has children.booleanIndicates if this menu item is a separator.booleanvoidsetImageHeight(int p_iImageHeight) voidsetImagePath(String p_strImagePath) voidsetImageWidth(int p_iImageWidth) voidsetUseImage(boolean p_bUseImage) Methods inherited from class de.uplanet.lucy.server.menu.rt.AbstractMenuItem
getGuid, getLevel, getLevelRelative, getName, getNames, getNextSibling, getParent, getPreviousSibling, getProperties, getProperty, hasName, hasParent, hasProperty, isApplicationMenuItem, isCmsMenuItem, isContainerMenuItem, isFirstChild, isLastChild, isLinkMenuItem, isRootMenuItem, isTopLevelGroupMenuItem
-
Constructor Details
-
SeparatorMenuItem
-
-
Method Details
-
isUseImage
public boolean isUseImage() -
setUseImage
public void setUseImage(boolean p_bUseImage) -
getImagePath
-
setImagePath
-
getImageWidth
public int getImageWidth() -
setImageWidth
public void setImageWidth(int p_iImageWidth) -
getImageHeight
public int getImageHeight() -
setImageHeight
public void setImageHeight(int p_iImageHeight) -
clone
- Specified by:
clonein classAbstractMenuItem
-
isSeparatorMenuItem
public boolean isSeparatorMenuItem()Description copied from interface:IMenuItemIndicates if this menu item is a separator.- Specified by:
isSeparatorMenuItemin interfaceIMenuItem- Overrides:
isSeparatorMenuItemin classAbstractMenuItem- Returns:
- Always
true.
-
hasChildren
public boolean hasChildren()Description copied from interface:IMenuItemCheck if this menu item has children.- Returns:
- Always
false.
-
getChildrenCount
public int getChildrenCount()Description copied from interface:IMenuItemGet the number of children of this node.- Returns:
- Always
0.
-
children
Description copied from interface:IMenuItemGet the children of this menu item. If the menu item has no children, an empty array is returned.- Returns:
- Always an empty array.
-
getDescendantOrSelf
Description copied from interface:IMenuItemGet the menu item with the specified unique identifier from this subtree.- Parameters:
p_strId- The menu item's unique identifier.- Returns:
- The menu item with the given unique identifier, or
nullif the menu item does not exist in this subtree.
-