|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.graphics.interaction.InteractionConstants
This class provides constants which are frequently used with the selection of objects. It also provides some functionalities used with this constants.
| Field Summary | |
static int |
ACT_MANIPULATED
constant that tells about what effect an interaction had |
static int |
ACT_MANIPULATED_LINEBEGIN
constant that tells about what effect an interaction had |
static int |
ACT_MANIPULATED_LINEEND
constant that tells about what effect an interaction had |
static int |
ACT_MOVED_MULTI
constant that tells about what effect an interaction had |
static int |
ACT_MOVED_SINGLE
constant that tells about what effect an interaction had |
static int |
ACT_NOTHING
constant that tells about what effect an interaction had |
static int |
ACT_SELECTED
constant that tells about what effect an interaction had |
static int |
BOUNDINGBOX_HOTSPOT
constant that tells about the hotspot that should be used for mouse interactions |
static int |
CURSOR_HOTSPOT
constant that tells about the hotspot that should be used for mouse interactions |
static int |
HITS_NOTHING
constant that tells about what has been hit |
static int |
HITS_SELECTED
constant that tells about what has been hit |
static int |
HITS_UNSELECTED
constant that tells about what has been hit |
static int |
ITEM_MOVE_RESTRICTION_HORIZONTAL
constant that tells about a restriction for an interaction item |
static int |
ITEM_MOVE_RESTRICTION_NON
constant that tells about a restriction for an interaction item |
static int |
ITEM_MOVE_RESTRICTION_VERTICAL
constant that tells about a restriction for an interaction item |
static int |
LINE_ACTIONMODE_BEGIN
|
static int |
LINE_ACTIONMODE_END
|
static int |
LINE_ACTIONMODE_UNKNOWN
|
static int |
MARKERALIGNMENT_CENTERED
|
static int |
MARKERALIGNMENT_INNER
|
static int |
MARKERALIGNMENT_OUTER
|
static int |
MOUSE_CLICKED
constant that tells about what effect a mouse interaction had |
static int |
MOUSE_DOWN
constant that tells about what effect a mouse interaction had |
static int |
MOUSE_ENTERED
constant that tells about what effect a mouse interaction had |
static int |
MOUSE_EXITED
constant that tells about what effect a mouse interaction had |
static int |
MOUSE_NOTHING
constant that tells about what effect a mouse interaction had |
static int |
MOUSE_UP
constant that tells about what effect a mouse interaction had |
static int |
POST_ACT_NOTHING
|
static int |
SELECT_KEEPS_SELECTION
constant that tells about what effect a selection had |
static int |
SELECT_NOTHING
constant that tells about what effect a selection had |
static int |
SELECT_SELECTED
constant that tells about what effect a selection had |
static int |
SELECT_UNSELECTED
constant that tells about what effect a selection had |
| Method Summary | |
static java.lang.String |
action2String(int action)
Converts the action constant given by action into a
string representation. |
static java.lang.String |
hit2String(int hit)
Converts the hit constant given by hit into a
string representation. |
static int |
hotspot2Constant(java.lang.String hotspot)
Converts the hotspot string representation given by hotspot
into the corresponding constant.
|
static java.lang.String |
hotspot2String(int hotspot)
Converts the hotspot constant given by hotspot into a
string representation.
|
static int |
markeralignment2Constant(java.lang.String markeralignment)
Converts the marker alignment string representation given by markeralignment into the corresponding constant. |
static java.lang.String |
markeralignment2String(int markeralignment)
Converts the marker alignment constant given by markeralignment into a string representation. |
static java.lang.String |
postaction2String(int postaction)
Converts the post action constant given by postaction into a
string representation. |
static java.lang.String |
selection2String(int selection)
Converts the selection constant given by selection into
a String represenation. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int ITEM_MOVE_RESTRICTION_NON
public static final int ITEM_MOVE_RESTRICTION_VERTICAL
public static final int ITEM_MOVE_RESTRICTION_HORIZONTAL
public static final int MOUSE_NOTHING
public static final int MOUSE_DOWN
public static final int MOUSE_UP
public static final int MOUSE_ENTERED
public static final int MOUSE_EXITED
public static final int MOUSE_CLICKED
public static final int CURSOR_HOTSPOT
public static final int BOUNDINGBOX_HOTSPOT
public static final int ACT_NOTHING
public static final int ACT_SELECTED
public static final int ACT_MOVED_SINGLE
public static final int ACT_MOVED_MULTI
public static final int ACT_MANIPULATED
public static final int ACT_MANIPULATED_LINEBEGIN
public static final int ACT_MANIPULATED_LINEEND
public static final int POST_ACT_NOTHING
public static final int SELECT_NOTHING
public static final int SELECT_SELECTED
public static final int SELECT_UNSELECTED
public static final int SELECT_KEEPS_SELECTION
public static final int HITS_NOTHING
public static final int HITS_SELECTED
public static final int HITS_UNSELECTED
public static final int MARKERALIGNMENT_CENTERED
public static final int MARKERALIGNMENT_INNER
public static final int MARKERALIGNMENT_OUTER
public static final int LINE_ACTIONMODE_UNKNOWN
public static final int LINE_ACTIONMODE_BEGIN
public static final int LINE_ACTIONMODE_END
| Method Detail |
public static final java.lang.String markeralignment2String(int markeralignment)
markeralignment into a string representation.
markeralignment - marker alignment constant to convert
public static final int markeralignment2Constant(java.lang.String markeralignment)
markeralignment into the corresponding constant.
markeralignment - the string representation of a marker alignment to
convert
public static final java.lang.String action2String(int action)
action into a
string representation.
action - action constant to convert
public static final java.lang.String postaction2String(int postaction)
postaction into a
string representation.
postaction - post action constant to convert
public static final java.lang.String selection2String(int selection)
selection into
a String represenation.
selection - selection constant to convert
public static final java.lang.String hit2String(int hit)
hit into a
string representation.
hit - the hit constant to convert
public static final java.lang.String hotspot2String(int hotspot)
hotspot into a
string representation.
InvalidArgumentException is thrown.
hotspot - the hotspot constant to convert
public static final int hotspot2Constant(java.lang.String hotspot)
hotspot
into the corresponding constant.
InvalidArgumentException is thrown.
hotspot - the hotspot string representation to convert
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||