|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.graphics.interaction.InteractionConfiguration
The InteractionConfiguration class holds the information that
configures the interaction environment of the graphics API.
NOTICE:Currently this information is stored globally
(means the interaction environment is actually configurable within the scope
of a java runtime environment)
but this will be changed in a former release of the graphics API such that
this information is stored application wide.
| Method Summary | |
static java.lang.Object |
get(java.lang.String name)
|
static int |
getSelectionMarkerAlignment()
Returns a constant that defines the current alignment for the selection markers. |
static int |
getSelectionMarkerBorder()
Returns the current border color that is used to draw a selection marker. |
static int |
getSelectionMarkerColor()
Returns the current color that is used to draw a selection marker. |
static int |
getSelectionMarkerSize()
Returns half of the current size for a selection marker. |
static void |
put(java.lang.String name,
java.lang.Object value)
|
static java.lang.Object |
remove(java.lang.String name)
|
static void |
setSelectionMarkerAlignment(int alignment)
Sets the alignment for the selection markers to the constant given by alignment. |
static void |
setSelectionMarkerBorder(int color)
Sets the border color that is used to draw a selection marker to the color given by color.
|
static void |
setSelectionMarkerColor(int color)
Sets the color that is used to draw a selection marker to the color given by color.
|
static void |
setSelectionMarkerSize(int size)
Sets the size for a selection marker to the value given by size. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static final int getSelectionMarkerSize()
public static final void setSelectionMarkerSize(int size)
size. The given value makes up half of the size for a
selection marker. This is because the full size of a selection marker
must be even.
size - the new value for half the size of a selection markerpublic static final int getSelectionMarkerAlignment()
public static final void setSelectionMarkerAlignment(int alignment)
alignment.
alignment - the new value for the alignment of the selection markerspublic static final int getSelectionMarkerColor()
public static final void setSelectionMarkerColor(int color)
color.
color - the new color that should be used to draw a selection markerpublic static final int getSelectionMarkerBorder()
public static final void setSelectionMarkerBorder(int color)
color.
color - the new border color that should be used to draw a selection
marker
public static final void put(java.lang.String name,
java.lang.Object value)
public static final java.lang.Object get(java.lang.String name)
public static final java.lang.Object remove(java.lang.String name)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||