|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.gwt.shared.CmsContextMenuEntryBean
public class CmsContextMenuEntryBean
A context menu entry bean.
Constructor Summary | |
---|---|
CmsContextMenuEntryBean()
Default Constructor. |
|
CmsContextMenuEntryBean(boolean active,
boolean visible,
String imagePath,
String jspPath,
String label,
String name,
String reason,
boolean separator,
List<CmsContextMenuEntryBean> subMenu)
Constructor. |
Method Summary | |
---|---|
String |
getImagePath()
Returns the image path of the menu entry. |
String |
getJspPath()
Returns the jsp path of the menu entry. |
String |
getLabel()
Returns the label of the menu entry. |
String |
getName()
Returns the name of the entry. |
Map<String,String> |
getParams()
Gets the parameters for the context menu command. |
String |
getReason()
Returns the reason for de-activation of the menu entry. |
List<CmsContextMenuEntryBean> |
getSubMenu()
Returns the sub menu entries. |
boolean |
hasSubMenu()
Returns true if this menu entry has a sub menu false otherwise. |
boolean |
isActive()
Returns true if this menu entry is active, false otherwise. |
boolean |
isSeparator()
Returns true if this menu entry is a separator, false otherwise. |
boolean |
isVisible()
Returns true if this menu entry is visible, false otherwise. |
void |
setActive(boolean active)
Sets the active. |
void |
setImagePath(String imagePath)
Sets the imagePath. |
void |
setJspPath(String jspPath)
Sets the jspPath. |
void |
setLabel(String label)
Sets the label. |
void |
setName(String name)
Sets the name of the entry. |
void |
setParams(Map<String,String> params)
Sets the parameters for the context menu command. |
void |
setReason(String reason)
Sets the reason. |
void |
setSeparator(boolean separator)
Sets the separator. |
void |
setSubMenu(List<CmsContextMenuEntryBean> subMenu)
Sets the subMenu. |
void |
setVisible(boolean visible)
Sets the visible flag. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CmsContextMenuEntryBean()
public CmsContextMenuEntryBean(boolean active, boolean visible, String imagePath, String jspPath, String label, String name, String reason, boolean separator, List<CmsContextMenuEntryBean> subMenu)
active
- signals if this menu entry is activevisible
- signals if this menu entry is visibleimagePath
- the image path for the icon in front of the labeljspPath
- the JSP path for the commandlabel
- the label for the menu entryname
- the name for the menu entryreason
- the reason why this item is deactivatedseparator
- signals if this entry is a separatorsubMenu
- contains the sub menu of the entryMethod Detail |
---|
public String getImagePath()
public String getJspPath()
public String getLabel()
public String getName()
public Map<String,String> getParams()
public String getReason()
public List<CmsContextMenuEntryBean> getSubMenu()
public boolean hasSubMenu()
true
if this menu entry has a sub menu false
otherwise.
true
if this menu entry has a sub menu false
otherwisepublic boolean isActive()
true
if this menu entry is active, false
otherwise.
true
if this menu entry is active, false
otherwisepublic boolean isSeparator()
true
if this menu entry is a separator, false
otherwise.
true
if this menu entry is a separator, false
otherwisepublic boolean isVisible()
true
if this menu entry is visible, false
otherwise.
true
if this menu entry is visible, false
otherwisepublic void setActive(boolean active)
active
- the active to setpublic void setImagePath(String imagePath)
imagePath
- the imagePath to setpublic void setJspPath(String jspPath)
jspPath
- the jspPath to setpublic void setLabel(String label)
label
- the label to setpublic void setName(String name)
name
- the name to setpublic void setParams(Map<String,String> params)
params
- the parameters for the context menu commandpublic void setReason(String reason)
reason
- the reason to setpublic void setSeparator(boolean separator)
separator
- the separator to setpublic void setSubMenu(List<CmsContextMenuEntryBean> subMenu)
subMenu
- the subMenu to setpublic void setVisible(boolean visible)
visible
- the enabled to set
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |