jebl.gui.trees.treeviewer.painters
Enum Painter.Orientation
java.lang.Object
java.lang.Enum<Painter.Orientation>
jebl.gui.trees.treeviewer.painters.Painter.Orientation
- All Implemented Interfaces:
- Serializable, Comparable<Painter.Orientation>
- Enclosing interface:
- Painter<T>
public static enum Painter.Orientation
- extends Enum<Painter.Orientation>
TOP
public static final Painter.Orientation TOP
LEFT
public static final Painter.Orientation LEFT
BOTTOM
public static final Painter.Orientation BOTTOM
RIGHT
public static final Painter.Orientation RIGHT
values
public static final Painter.Orientation[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(Painter.Orientation c : Painter.Orientation.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static Painter.Orientation valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name