|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ControlName>
com.smartgwt.client.types.ControlName
public enum ControlName
ControlNames
are strings used to specify which UI controls should appear
in the editor
toolbar.
Enum Constant Summary | |
---|---|
ALIGNCENTER
A button to center the selected text |
|
ALIGNLEFT
A button to left-align the selected text. |
|
ALIGNRIGHT
A button to right-align the selected text. |
|
BACKGROUNDCOLOR
A color picker allowing the user to set the text background color |
|
BOLDSELECTION
A button to make the current selection bold. |
|
COLOR
A color-picker allowing the user to set the text color |
|
FONTSELECTOR
A select item allowing the user to change the font of the current text selection. |
|
FONTSIZESELECTOR
A select item allowing the user to change the font size of the current text selection. |
|
ITALICSELECTION
A button to make the current selection italic. |
|
JUSTIFY
A button to justify the selected line of text. |
|
UNDERLINESELECTION
A button to make the current selection underlined. |
Method Summary | |
---|---|
java.lang.String |
getValue()
|
static ControlName |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ControlName[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ControlName BOLDSELECTION
public static final ControlName ITALICSELECTION
public static final ControlName UNDERLINESELECTION
public static final ControlName FONTSELECTOR
public static final ControlName FONTSIZESELECTOR
public static final ControlName ALIGNLEFT
public static final ControlName ALIGNRIGHT
public static final ControlName ALIGNCENTER
public static final ControlName JUSTIFY
public static final ControlName COLOR
public static final ControlName BACKGROUNDCOLOR
Method Detail |
---|
public static final ControlName[] values()
for(ControlName c : ControlName.values()) System.out.println(c);
public static ControlName 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 namepublic java.lang.String getValue()
getValue
in interface ValueEnum
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |