public enum ControlName extends java.lang.Enum<ControlName> implements ValueEnum
ControlNames are strings used to specify which UI controls should appear  in the editor toolbar.| Enum Constant and Description | 
|---|
| ALIGNCENTERA button to center the selected text | 
| ALIGNLEFTA button to left-align the selected text. | 
| ALIGNRIGHTA button to right-align the selected text. | 
| BACKGROUNDCOLORA color picker allowing the user to set the text background color | 
| BOLDSELECTIONA button to make the current selection bold. | 
| COLORA color-picker allowing the user to set the text color | 
| FONTSELECTORA select item allowing the user to change the font of the current text selection. | 
| FONTSIZESELECTORA select item allowing the user to change the font size of the current text selection. | 
| ITALICSELECTIONA button to make the current selection italic. | 
| JUSTIFYA button to justify the selected line of text. | 
| UNDERLINESELECTIONA button to make the current selection underlined. | 
| Modifier and Type | Method and Description | 
|---|---|
| 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 are declared. | 
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
public static 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 namejava.lang.NullPointerException - if the argument is null