jpicedt.graphic.model
Enum BranchElement.CompoundMode
java.lang.Object
java.lang.Enum<BranchElement.CompoundMode>
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).
SEPARATE
public static final BranchElement.CompoundMode SEPARATE
JOINT
public static final BranchElement.CompoundMode JOINT
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
Submit a bug : syd@jpicedt.org