public static enum AbstractContent.BIT_MASKS extends Enum<AbstractContent.BIT_MASKS> implements BIT_MASKS
Enum Constant and Description |
---|
EMBEDDABLE
Content can be embedded in another.
|
GROUP
Content is a page is part of a group, but also represents its part of a Group of pages;
where its siblings are also visible as part of Sub-Navigation.
|
NON_NAV
Certain contents may be loaded and exist, are content to be modified but we do not want them to appear in
the navigation (whatever loader is loading it into the navigation.
|
NONE
Content is in default state; no special bit masks apply.
|
NOT_PAGE
Certain contents may only represent categories and not pages (that have any content)
These pages will carry a Bit-Mask of 1 , means 1st least significant (right-most) bit is ON.
|
Modifier and Type | Method and Description |
---|---|
String |
getDesc() |
Integer |
getValue() |
static AbstractContent.BIT_MASKS |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AbstractContent.BIT_MASKS[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractContent.BIT_MASKS NONE
public static final AbstractContent.BIT_MASKS NOT_PAGE
public static final AbstractContent.BIT_MASKS NON_NAV
ContentAutoNav
for example.public static final AbstractContent.BIT_MASKS EMBEDDABLE
public static final AbstractContent.BIT_MASKS GROUP
public static AbstractContent.BIT_MASKS[] values()
for (AbstractContent.BIT_MASKS c : AbstractContent.BIT_MASKS.values()) System.out.println(c);
public static AbstractContent.BIT_MASKS valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2018. All rights reserved.