public enum AttributeShowability extends java.lang.Enum<AttributeShowability>
| Enum Constant and Description |
|---|
ALWAYS
An atribute is always shown, regardless of user's wish
|
NEVER
An attribute can never be shown, regardless of user's wish
|
USER_DEFINED
An attribute can be shown if user wants to see it
|
| Modifier and Type | Method and Description |
|---|---|
static AttributeShowability |
of(java.lang.String text) |
java.lang.String |
toString() |
static AttributeShowability |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AttributeShowability[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AttributeShowability NEVER
public static final AttributeShowability USER_DEFINED
public static final AttributeShowability ALWAYS
public static AttributeShowability[] values()
for (AttributeShowability c : AttributeShowability.values()) System.out.println(c);
public static AttributeShowability valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String toString()
toString in class java.lang.Enum<AttributeShowability>public static AttributeShowability of(java.lang.String text)