Module org.apache.wicket.core
Enum Class AbstractChoice.LabelPosition
java.lang.Object
java.lang.Enum<AbstractChoice.LabelPosition>
org.apache.wicket.markup.html.form.AbstractChoice.LabelPosition
- All Implemented Interfaces:
Serializable
,Comparable<AbstractChoice.LabelPosition>
,Constable
- Enclosing class:
- AbstractChoice<T,
E>
An enumeration of possible positions of the label for a choice
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionwill render the label after the choicewill render the label before the choicerender the label around and the text will be after the the choicerender the label around and the text will be before the the choice -
Method Summary
Modifier and TypeMethodDescriptionstatic AbstractChoice.LabelPosition
Returns the enum constant of this class with the specified name.static AbstractChoice.LabelPosition[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BEFORE
will render the label before the choice -
AFTER
will render the label after the choice -
WRAP_BEFORE
render the label around and the text will be before the the choice -
WRAP_AFTER
render the label around and the text will be after the the choice
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-