public enum ElementVisibility extends Enum<ElementVisibility>
Enum Constant and Description |
---|
Gone
The element will be invisible and will not take any space of his own.
|
Invisible
The element will be invisible therefore will not take part in the render phase, but will
however take part in the arrange phase resulting in taking space without being seen.
|
Visible
The element will be visible and will take part in both arrange and render phases.
|
Modifier and Type | Method and Description |
---|---|
static ElementVisibility |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ElementVisibility[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ElementVisibility Visible
public static final ElementVisibility Invisible
public static final ElementVisibility Gone
public static ElementVisibility[] values()
for (ElementVisibility c : ElementVisibility.values()) System.out.println(c);
public static ElementVisibility 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 null