|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.graphics.GraphicConstantsTextConversions
The GraphicConstantsTextConversions class provides a set of
methods that convert a constant defined in
GraphicConstants into its String
representation and vice versa.
| Field Summary | |
static int |
ATTNAME_MARGINBOTTOM
constant that tells about a name of a margin attribute name |
static int |
ATTNAME_MARGINLEFT
constant that tells about a name of a margin attribute name |
static int |
ATTNAME_MARGINRIGHT
constant that tells about a name of a margin attribute name |
static int |
ATTNAME_MARGINTOP
constant that tells about a name of a margin attribute name |
| Method Summary | |
static int |
cursor2Constant(java.lang.String cursor)
Converts the String representation of one of the cursor
constants given by cursor into the cooresponding
cursor constant. |
static java.lang.String |
cursor2String(int cursor)
Converts the cursor constant given by cursor into the corresponding String
representation. |
static java.lang.String |
getMarginAttributeName(int type)
Returns the name for a margin attribute that is specified through the identifier given by type. |
static int |
orientation2Constant(java.lang.String orientation)
Converts the String representation of one of the orientation
constants given by orientation into the cooresponding
orientation constant. |
static java.lang.String |
orientation2String(int orientation)
Converts the orientation constant given by orientation into the corresponding String
representation. |
static int |
side2Constant(java.lang.String side)
Converts the String representation of one of the side
constants given by side into the cooresponding
side constant. |
static java.lang.String |
side2String(int side)
Converts the side constant given by side into the
corresponding String representation. |
static java.lang.String |
sideToString(int side)
Converts the given side identifier into String form. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int ATTNAME_MARGINLEFT
public static final int ATTNAME_MARGINRIGHT
public static final int ATTNAME_MARGINTOP
public static final int ATTNAME_MARGINBOTTOM
| Method Detail |
public static final java.lang.String side2String(int side)
side into the
corresponding String representation.
side - constant to convert into the corresponding
String representation
String representation of the side
constantpublic static final int side2Constant(java.lang.String side)
String representation of one of the side
constants given by side into the cooresponding
side constant.
side - the String representation of one of the
side constants
public static final java.lang.String sideToString(int side)
String form.
side - the side identifier to convert
String formpublic static final java.lang.String cursor2String(int cursor)
cursor into the corresponding String
representation.
cursor - constant to convert into the corresponding
String representation
String representation of the cursor
constantpublic static final int cursor2Constant(java.lang.String cursor)
String representation of one of the cursor
constants given by cursor into the cooresponding
cursor constant.
cursor - the String representation of one of the
cursor constants
public static final java.lang.String orientation2String(int orientation)
orientation into the corresponding String
representation.
orientation - constant to convert into the corresponding
String representation
String representation of the horizontal
alignment constantpublic static final int orientation2Constant(java.lang.String orientation)
String representation of one of the orientation
constants given by orientation into the cooresponding
orientation constant.
orientation - the String representation of one of the
orientation constants
public static final java.lang.String getMarginAttributeName(int type)
type.
type - identifier for the margin attribute name to return
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||