Enum AnchoringPosition
- java.lang.Object
-
- java.lang.Enum<AnchoringPosition>
-
- org.silverpeas.core.io.media.image.option.AnchoringPosition
-
- All Implemented Interfaces:
Serializable
,Comparable<AnchoringPosition>
public enum AnchoringPosition extends Enum<AnchoringPosition>
- Author:
- Yohann Chastagnier
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CENTER
EAST
NORTH
NORTH_EAST
NORTH_WEST
SOUTH
SOUTH_EAST
SOUTH_WEST
TILE
WEST
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AnchoringPosition
decode(String anchoringPosition)
String
getToolName()
static AnchoringPosition
valueOf(String name)
Returns the enum constant of this type with the specified name.static AnchoringPosition[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NORTH_WEST
public static final AnchoringPosition NORTH_WEST
-
NORTH
public static final AnchoringPosition NORTH
-
NORTH_EAST
public static final AnchoringPosition NORTH_EAST
-
WEST
public static final AnchoringPosition WEST
-
CENTER
public static final AnchoringPosition CENTER
-
EAST
public static final AnchoringPosition EAST
-
SOUTH_WEST
public static final AnchoringPosition SOUTH_WEST
-
SOUTH
public static final AnchoringPosition SOUTH
-
SOUTH_EAST
public static final AnchoringPosition SOUTH_EAST
-
TILE
public static final AnchoringPosition TILE
-
-
Method Detail
-
values
public static AnchoringPosition[] 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 (AnchoringPosition c : AnchoringPosition.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AnchoringPosition 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
-
decode
public static AnchoringPosition decode(String anchoringPosition)
-
getToolName
public String getToolName()
-
-