http://www.jpicedt.org

jpicedt.graphic.model
Enum AbstractCurve.PointType

java.lang.Object
  extended by java.lang.Enum<AbstractCurve.PointType>
      extended by jpicedt.graphic.model.AbstractCurve.PointType
All Implemented Interfaces:
Serializable, Comparable<AbstractCurve.PointType>
Enclosing class:
AbstractCurve

public static enum AbstractCurve.PointType
extends Enum<AbstractCurve.PointType>

constant field for getPointType()


Enum Constant Summary
FIRST_CURVE_END_POINT
           
FIRST_SEGMENT_CONTROL_POINT
           
INVALID_POINT_INDEX
           
LAST_CURVE_END_POINT
           
SECOND_SEGMENT_CONTROL_POINT
           
SUBDIVISION_POINT
           
 
Method Summary
static AbstractCurve.PointType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AbstractCurve.PointType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

INVALID_POINT_INDEX

public static final AbstractCurve.PointType INVALID_POINT_INDEX

FIRST_CURVE_END_POINT

public static final AbstractCurve.PointType FIRST_CURVE_END_POINT

SUBDIVISION_POINT

public static final AbstractCurve.PointType SUBDIVISION_POINT

FIRST_SEGMENT_CONTROL_POINT

public static final AbstractCurve.PointType FIRST_SEGMENT_CONTROL_POINT

SECOND_SEGMENT_CONTROL_POINT

public static final AbstractCurve.PointType SECOND_SEGMENT_CONTROL_POINT

LAST_CURVE_END_POINT

public static final AbstractCurve.PointType LAST_CURVE_END_POINT
Method Detail

values

public static AbstractCurve.PointType[] 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 (AbstractCurve.PointType c : AbstractCurve.PointType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static AbstractCurve.PointType 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
NullPointerException - if the argument is null

http://www.jpicedt.org

Submit a bug : syd@jpicedt.org