public enum GuiRelative extends java.lang.Enum<GuiRelative>
A --[RELATION]--> B
is interpreted as "B is a RELATION of A".
e.g. A --[Child]--> B
means that B is the Child of A. Similarly A --[PrevSibling]--> B
means that B is the previous sibling of A.
In regards to the GuiItemRef.relationship
property of a GuiItemRef
, it should be
interpreted as GuiItemRef (subject) is a [RELATION] of GuiItemRef.relative
So for example, if C and P are GuiItemRef objects and C.relative=P and C.relationship=Child
it indicates that C is a Child of P.Enum Constant and Description |
---|
Ancestor |
Child |
Descendant |
LabelTarget |
Parent |
Sibling |
Modifier and Type | Method and Description |
---|---|
static GuiRelative |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GuiRelative[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GuiRelative Ancestor
public static final GuiRelative Child
public static final GuiRelative Descendant
public static final GuiRelative LabelTarget
public static final GuiRelative Parent
public static final GuiRelative Sibling
public static GuiRelative 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 static GuiRelative[] values()
for (GuiRelative c : GuiRelative.values()) System.out.println(c);