gcspy.vis.utils
Enum AbstractFrame.Position
java.lang.Object
java.lang.Enum<AbstractFrame.Position>
gcspy.vis.utils.AbstractFrame.Position
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<AbstractFrame.Position>
- Enclosing class:
- AbstractFrame
protected static enum AbstractFrame.Position
- extends java.lang.Enum<AbstractFrame.Position>
Positions of a frame relative to its parent
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
POS_NONE
public static final AbstractFrame.Position POS_NONE
POS_CENTER
public static final AbstractFrame.Position POS_CENTER
POS_TOP_LEFT
public static final AbstractFrame.Position POS_TOP_LEFT
POS_TOP_RIGHT
public static final AbstractFrame.Position POS_TOP_RIGHT
POS_LEFT_COMPONENT
public static final AbstractFrame.Position POS_LEFT_COMPONENT
POS_RIGHT_COMPONENT
public static final AbstractFrame.Position POS_RIGHT_COMPONENT
POS_BOTTOM_LEFT
public static final AbstractFrame.Position POS_BOTTOM_LEFT
POS_BOTTOM_RIGHT
public static final AbstractFrame.Position POS_BOTTOM_RIGHT
POS_ROOT_CENTER
public static final AbstractFrame.Position POS_ROOT_CENTER
POS_ROOT_HOR_CENTER
public static final AbstractFrame.Position POS_ROOT_HOR_CENTER
values
public static final AbstractFrame.Position[] 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(AbstractFrame.Position c : AbstractFrame.Position.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static AbstractFrame.Position valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name