Enum Anchored.AnchorReference
- java.lang.Object
-
- java.lang.Enum<Anchored.AnchorReference>
-
- adams.gui.visualization.object.objectannotations.label.Anchored.AnchorReference
-
- All Implemented Interfaces:
Serializable
,Comparable<Anchored.AnchorReference>
- Enclosing class:
- Anchored
public static enum Anchored.AnchorReference extends Enum<Anchored.AnchorReference>
what to use as reference for the anchor.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOUNDING_BOX
POLYGON_BOUNDS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Anchored.AnchorReference
valueOf(String name)
Returns the enum constant of this type with the specified name.static Anchored.AnchorReference[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BOUNDING_BOX
public static final Anchored.AnchorReference BOUNDING_BOX
-
POLYGON_BOUNDS
public static final Anchored.AnchorReference POLYGON_BOUNDS
-
-
Method Detail
-
values
public static Anchored.AnchorReference[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Anchored.AnchorReference c : Anchored.AnchorReference.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Anchored.AnchorReference 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 nameNullPointerException
- if the argument is null
-
-