|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.util.A_CmsModeIntEnumeration
org.opencms.workplace.explorer.menu.CmsMenuItemVisibilityMode
The visibility modes of a context menu item in the explorer view.
Field Summary | |
static CmsMenuItemVisibilityMode |
VISIBILITY_ACTIVE
Menu item visibility: active. |
static CmsMenuItemVisibilityMode |
VISIBILITY_INACTIVE
Menu item visibility: inactive. |
static CmsMenuItemVisibilityMode |
VISIBILITY_INVISIBLE
Menu item visibility: invisible. |
Method Summary | |
CmsMenuItemVisibilityMode |
addMessageKey(java.lang.String messageKey)
Adds the name of the message key for the visibility mode. |
protected java.lang.Object |
clone()
|
java.lang.String |
getMessageKey()
Returns the name of the message key for the visibility mode. |
boolean |
isActive()
Returns if the mode is set to VISIBILITY_ACTIVE . |
boolean |
isInActive()
Returns if the mode is set to VISIBILITY_INACTIVE . |
boolean |
isInVisible()
Returns if the mode is set to VISIBILITY_INVISIBLE . |
static CmsMenuItemVisibilityMode |
valueOf(int type)
Returns the menu item visibility mode for the given mode value. |
Methods inherited from class org.opencms.util.A_CmsModeIntEnumeration |
equals, getMode, hashCode, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final CmsMenuItemVisibilityMode VISIBILITY_ACTIVE
public static final CmsMenuItemVisibilityMode VISIBILITY_INACTIVE
public static final CmsMenuItemVisibilityMode VISIBILITY_INVISIBLE
Method Detail |
public static CmsMenuItemVisibilityMode valueOf(int type)
This is used only for serialization and should not be accessed for other purposes.
type
- the mode value to get the item visibility mode for
public CmsMenuItemVisibilityMode addMessageKey(java.lang.String messageKey)
messageKey
- the name of the message key for the visibility mode
public java.lang.String getMessageKey()
Is usually used as description for the inactive visibility modes.
public boolean isActive()
VISIBILITY_ACTIVE
.
VISIBILITY_ACTIVE
, otherwise falsepublic boolean isInActive()
VISIBILITY_INACTIVE
.
VISIBILITY_INACTIVE
, otherwise falsepublic boolean isInVisible()
VISIBILITY_INVISIBLE
.
VISIBILITY_INVISIBLE
, otherwise falseprotected java.lang.Object clone()
Object.clone()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |