Package org.opends.quicksetup.ui
Enum UIFactory.TextStyle
- java.lang.Object
-
- java.lang.Enum<UIFactory.TextStyle>
-
- org.opends.quicksetup.ui.UIFactory.TextStyle
-
- All Implemented Interfaces:
Serializable,Comparable<UIFactory.TextStyle>
- Enclosing class:
- UIFactory
public static enum UIFactory.TextStyle extends Enum<UIFactory.TextStyle>
The following enumeration contains the different text styles that we can have. A text style basically specifies the font and color to be used to render the text.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHECKBOXCheck box text text style for the current step panel.CURRENT_STEPCurrent Step label style for the steps panel.INLINE_HELPIn-line help style.INSTRUCTIONSText style for the instructions.NO_STYLENo text style.NOT_CURRENT_STEPNot current Step label style for the steps panel.PASSWORD_FIELDPassword text style for the current step panel.PRIMARY_FIELD_INVALIDPrimary field invalid text style for the current step panel.PRIMARY_FIELD_VALIDPrimary field valid label style for the current step panel.PROGRESSProgress messages text style for the current step panel.READ_ONLYRead only text style for the current step panel.SECONDARY_FIELD_INVALIDSecondary field invalid text style for the current step panel.SECONDARY_FIELD_VALIDSecondary field valid text style for the current step panel.SECONDARY_STATUSStatus messages that appear near components.TEXTFIELDTextfield text style for the current step panel.TITLETitle label style for the current step panel.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UIFactory.TextStylevalueOf(String name)Returns the enum constant of this type with the specified name.static UIFactory.TextStyle[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CURRENT_STEP
public static final UIFactory.TextStyle CURRENT_STEP
Current Step label style for the steps panel.
-
NOT_CURRENT_STEP
public static final UIFactory.TextStyle NOT_CURRENT_STEP
Not current Step label style for the steps panel.
-
TITLE
public static final UIFactory.TextStyle TITLE
Title label style for the current step panel.
-
PRIMARY_FIELD_VALID
public static final UIFactory.TextStyle PRIMARY_FIELD_VALID
Primary field valid label style for the current step panel.
-
PRIMARY_FIELD_INVALID
public static final UIFactory.TextStyle PRIMARY_FIELD_INVALID
Primary field invalid text style for the current step panel.
-
SECONDARY_FIELD_VALID
public static final UIFactory.TextStyle SECONDARY_FIELD_VALID
Secondary field valid text style for the current step panel.
-
SECONDARY_FIELD_INVALID
public static final UIFactory.TextStyle SECONDARY_FIELD_INVALID
Secondary field invalid text style for the current step panel.
-
SECONDARY_STATUS
public static final UIFactory.TextStyle SECONDARY_STATUS
Status messages that appear near components.
-
TEXTFIELD
public static final UIFactory.TextStyle TEXTFIELD
Textfield text style for the current step panel.
-
PASSWORD_FIELD
public static final UIFactory.TextStyle PASSWORD_FIELD
Password text style for the current step panel.
-
READ_ONLY
public static final UIFactory.TextStyle READ_ONLY
Read only text style for the current step panel.
-
CHECKBOX
public static final UIFactory.TextStyle CHECKBOX
Check box text text style for the current step panel.
-
PROGRESS
public static final UIFactory.TextStyle PROGRESS
Progress messages text style for the current step panel.
-
INSTRUCTIONS
public static final UIFactory.TextStyle INSTRUCTIONS
Text style for the instructions.
-
INLINE_HELP
public static final UIFactory.TextStyle INLINE_HELP
In-line help style.
-
NO_STYLE
public static final UIFactory.TextStyle NO_STYLE
No text style.
-
-
Method Detail
-
values
public static UIFactory.TextStyle[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (UIFactory.TextStyle c : UIFactory.TextStyle.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UIFactory.TextStyle valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-