Package com.six.timapi.constants
Enum BrandMode
- java.lang.Object
-
- java.lang.Enum<BrandMode>
-
- com.six.timapi.constants.BrandMode
-
- All Implemented Interfaces:
Serializable
,Comparable<BrandMode>
public enum BrandMode extends Enum<BrandMode>
This attribute is used to specify which Brand icons are shown in the BrandBar element in a dialog.
The following values are valid:
Specification: dialog.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BrandMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static BrandMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALL
public static final BrandMode ALL
All supported brand icons are shown in the BrandBar.
Specification: dialog.
-
SELECTED
public static final BrandMode SELECTED
Only the selected brand icon is shown in the BrandBar. The brands that shall be displayed have to be defined with the BrandBar tag.
Specification: dialog.
-
OFF
public static final BrandMode OFF
No brand icons are shown in the BrandBar.
Specification: dialog.
-
-
Method Detail
-
values
public static BrandMode[] 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 (BrandMode c : BrandMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BrandMode 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
-
-