|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<LayoutStage> net.sourceforge.jeuclid.layout.LayoutStage
public enum LayoutStage
Defines in what stage the current layout it.
The Stages are NONE
, STAGE1
, and STAGE2
.
Enum Constant Summary | |
---|---|
NONE
No layout done yet. |
|
STAGE1
Context-Insensitive Layout. |
|
STAGE2
Full layout. |
Method Summary | |
---|---|
static LayoutStage |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static LayoutStage[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final LayoutStage NONE
The LayoutInfo
will not contain any useful information.
public static final LayoutStage STAGE1
A Node in this stage has been layouted based on its own information and
on the information of its children. The LayoutInfo
is useful to
do calculations such as stretching of parentheses.
public static final LayoutStage STAGE2
A node in this stage has been fully layouted, the LayoutInfo
is
current and final.
Method Detail |
---|
public static LayoutStage[] values()
for (LayoutStage c : LayoutStage.values()) System.out.println(c);
public static LayoutStage valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |