net.sf.latexdraw.glib.models.interfaces
Enum Arcable.ArcStyle

java.lang.Object
  extended by java.lang.Enum<Arcable.ArcStyle>
      extended by net.sf.latexdraw.glib.models.interfaces.Arcable.ArcStyle
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Arcable.ArcStyle>
Enclosing interface:
Arcable

public static enum Arcable.ArcStyle
extends java.lang.Enum<Arcable.ArcStyle>

The different styles of arc.


Enum Constant Summary
ARC
           
CHORD
           
WEDGE
           
 
Method Summary
abstract  java.lang.String getLabel()
           
abstract  boolean supportArrow()
           
static Arcable.ArcStyle valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Arcable.ArcStyle[] 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

WEDGE

public static final Arcable.ArcStyle WEDGE

ARC

public static final Arcable.ArcStyle ARC

CHORD

public static final Arcable.ArcStyle CHORD
Method Detail

values

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

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

valueOf

public static Arcable.ArcStyle 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
java.lang.NullPointerException - if the argument is null

supportArrow

public abstract boolean supportArrow()
Returns:
True if the arc type can have arrows.
Since:
3.0.0

getLabel

public abstract java.lang.String getLabel()
Returns:
The translated label of the arc type.
Since:
3.0