http://www.jpicedt.org

jpicedt.graphic.model
Enum BranchElement.CompoundMode

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

public static enum BranchElement.CompoundMode
extends Enum<BranchElement.CompoundMode>

This BranchElement can be displayed, either as a group of objects (=children, "SEPARATE" mode), or as a single path constructed by piecing children's paths together ("JOINT" mode). SEPARATE is the default mode (this is the legacy behaviour).


Enum Constant Summary
JOINT
           
SEPARATE
           
 
Method Summary
static BranchElement.CompoundMode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static BranchElement.CompoundMode[] 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

SEPARATE

public static final BranchElement.CompoundMode SEPARATE

JOINT

public static final BranchElement.CompoundMode JOINT
Method Detail

values

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

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

valueOf

public static BranchElement.CompoundMode 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