Enum Constant and Description |
---|
ACTIVATE
Perform an action if the activation state has changed.
|
CONTACT
Perform an action based on both x and y values of Contacts.
|
CONTACT_COUNT
The number of Contacts currently associated with a Junction.
|
CONTACT_R
Perform an action based on the distance of a Contact from the center.
|
CONTACT_X
Perform an action based on the x values of Contacts.
|
CONTACT_Y
Perform an action based on the y values of Contacts.
|
ROTATE
Perform an action based on the value of the angle.
|
ROTATE_1
Perform an action based on changing the angle with 1 Contact.
|
ROTATE_2
Perform an action based on changing the angle with 2 Contacts.
|
ROTATION_COUNT
The number of rotations that a Junction has undergone.
|
SCALE
Perform an action based on the width and height scaling.
|
SCALE_HEIGHT
Perform an action based on the height scaling.
|
SCALE_WIDTH
Perform an action based on the width scaling.
|
TOGGLE
Perform an action if the state of the toggle has changed.
|
TRANSLATE
Perform an action based on both x and y values.
|
TRANSLATE_X
Perform an action based on the value of x.
|
TRANSLATE_Y
Perform an action based on the value of y.
|
Modifier and Type | Method and Description |
---|---|
static Action |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Action ACTIVATE
public static final Action TOGGLE
public static final Action ROTATE
public static final Action ROTATE_1
public static final Action ROTATE_2
public static final Action SCALE
public static final Action SCALE_WIDTH
public static final Action SCALE_HEIGHT
public static final Action TRANSLATE_X
public static final Action TRANSLATE_Y
public static final Action TRANSLATE
public static final Action CONTACT_X
public static final Action CONTACT_Y
public static final Action CONTACT
public static final Action CONTACT_R
public static final Action CONTACT_COUNT
public static final Action ROTATION_COUNT
public static Action[] values()
for (Action c : Action.values()) System.out.println(c);
public static Action valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null