Enum DecorationPosition
- java.lang.Object
-
- java.lang.Enum<DecorationPosition>
-
- org.apache.myfaces.tobago.component.DecorationPosition
-
- All Implemented Interfaces:
Serializable
,Comparable<DecorationPosition>
public enum DecorationPosition extends Enum<DecorationPosition>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description buttonLeft
render a popover button with a message on the left side of the componentbuttonRight
render a popover button with a message on the right side of the componentnone
do not render a message to the componenttextBottom
render text message under the componenttextTop
render text message above the componenttooltip
render a tooltip under the component
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DecorationPosition
valueOf(String name)
Returns the enum constant of this type with the specified name.static DecorationPosition[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
none
public static final DecorationPosition none
do not render a message to the component
-
buttonLeft
public static final DecorationPosition buttonLeft
render a popover button with a message on the left side of the component
-
buttonRight
public static final DecorationPosition buttonRight
render a popover button with a message on the right side of the component
-
tooltip
public static final DecorationPosition tooltip
render a tooltip under the component
-
textTop
public static final DecorationPosition textTop
render text message above the component
-
textBottom
public static final DecorationPosition textBottom
render text message under the component
-
-
Method Detail
-
values
public static DecorationPosition[] 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 (DecorationPosition c : DecorationPosition.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DecorationPosition 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
-
-