public enum OrthogonalEdgeEditingPolicy extends Enum<OrthogonalEdgeEditingPolicy>
Enum Constant and Description |
---|
ALWAYS
Enables orthogonal edge creation or editing for a specific sub-aspect of edge creation.
|
AUTO
Enables orthogonal edge creation or editing for a specific sub-aspect automatically if an
Enabled
OrthogonalEdgeEditingContext instance is set in the
parent input mode . |
NEVER
Disables orthogonal edge creation or editing for a specific sub-aspect of edge creation.
|
Modifier and Type | Method and Description |
---|---|
static OrthogonalEdgeEditingPolicy |
fromOrdinal(int ordinal) |
int |
value() |
static OrthogonalEdgeEditingPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OrthogonalEdgeEditingPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OrthogonalEdgeEditingPolicy ALWAYS
public static final OrthogonalEdgeEditingPolicy AUTO
Enabled
OrthogonalEdgeEditingContext
instance is set in the
parent input mode
.public static final OrthogonalEdgeEditingPolicy NEVER
public static final OrthogonalEdgeEditingPolicy fromOrdinal(int ordinal)
public int value()
public static OrthogonalEdgeEditingPolicy valueOf(String name)
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullname
- the name of the enum constant to be returned.public static OrthogonalEdgeEditingPolicy[] values()
for (OrthogonalEdgeEditingPolicy c : OrthogonalEdgeEditingPolicy.values()) System.out.println(c);