Module com.flexganttfx.view
Enum PathBuilder.ArrowDirection
- java.lang.Object
-
- java.lang.Enum<PathBuilder.ArrowDirection>
-
- impl.com.flexganttfx.skin.graphics.PathBuilder.ArrowDirection
-
- All Implemented Interfaces:
Serializable
,Comparable<PathBuilder.ArrowDirection>
- Enclosing class:
- PathBuilder
public static enum PathBuilder.ArrowDirection extends Enum<PathBuilder.ArrowDirection>
An enum listing the various directions the arrow can be painted.- Since:
- 1.0
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PathBuilder.ArrowDirection
valueOf(String name)
Returns the enum constant of this type with the specified name.static PathBuilder.ArrowDirection[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UP
public static final PathBuilder.ArrowDirection UP
Draws the arrow pointing up.- Since:
- 1.0
-
DOWN
public static final PathBuilder.ArrowDirection DOWN
Draws the arrow pointing down.- Since:
- 1.0
-
LEFT
public static final PathBuilder.ArrowDirection LEFT
Draws the arrow pointing left.- Since:
- 1.0
-
RIGHT
public static final PathBuilder.ArrowDirection RIGHT
Draws the arrow pointing right.- Since:
- 1.0
-
-
Method Detail
-
values
public static PathBuilder.ArrowDirection[] 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 (PathBuilder.ArrowDirection c : PathBuilder.ArrowDirection.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PathBuilder.ArrowDirection 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
-
-