|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjsynoptic.builtin.AutomatonAction
public class AutomatonAction
This class is for elements of the list which is effectively mapped to a value or range
Field Summary | |
---|---|
int |
action
Options for Color actions are Color objects Option for SET_TEXT action is Object[] with index 0 = format: 6 : fixed text => index 1 = string 0,3,4,5 : Use current value as String, hexa, octal, binary => no index 1 1,2 : Decimal, scientific => index 1 = text formatter object Options for move actions Choose serializable objects for options |
static int |
MOVE_DOWN
|
static int |
MOVE_LEFT
|
static int |
MOVE_RIGHT
|
static int |
MOVE_UP
|
static int |
NUMBER_OF_POSSIBLE_ACTIONS
|
java.lang.Object |
option
Options for the actions above |
static java.lang.Integer |
OPTION_DO_NOTHING
This option is for MOVE actions : when reaching an edge, do nothing |
static java.lang.Integer |
OPTION_EXTEND
This option is for MOVE actions : when reaching an edge, extend the array |
static java.lang.Integer |
OPTION_WRAP
This option is for MOVE actions : when reaching an edge, wrap to the other side |
static java.util.ResourceBundle |
resources
|
static int |
SET_BACKGROUND_COLOR
|
static int |
SET_FRAME_COLOR
|
static int |
SET_TEXT
|
static int |
SET_TEXT_COLOR
|
Constructor Summary | |
---|---|
AutomatonAction(int action,
java.lang.Object option)
|
Method Summary | |
---|---|
java.lang.Object |
clone()
|
java.lang.String |
toString()
|
static java.lang.String |
toString(int action)
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int MOVE_UP
public static final int MOVE_RIGHT
public static final int MOVE_DOWN
public static final int MOVE_LEFT
public static final int SET_BACKGROUND_COLOR
public static final int SET_FRAME_COLOR
public static final int SET_TEXT_COLOR
public static final int SET_TEXT
public static final int NUMBER_OF_POSSIBLE_ACTIONS
public static java.util.ResourceBundle resources
public static final java.lang.Integer OPTION_DO_NOTHING
public static final java.lang.Integer OPTION_WRAP
public static final java.lang.Integer OPTION_EXTEND
public int action
public java.lang.Object option
Constructor Detail |
---|
public AutomatonAction(int action, java.lang.Object option)
Method Detail |
---|
public static java.lang.String toString(int action)
public java.lang.Object clone()
clone
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |