|
||||||
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
public final class 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 | |
---|---|
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 |
---|
clone, 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 boolean isActive()
VISIBILITY_ACTIVE
.
VISIBILITY_ACTIVE
, otherwise falsepublic boolean isInActive()
VISIBILITY_INACTIVE
.
VISIBILITY_INACTIVE
, otherwise falsepublic boolean isInVisible()
VISIBILITY_INVISIBLE
.
VISIBILITY_INVISIBLE
, otherwise false
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |