Class FormDef.Input.Option
java.lang.Object
org.apache.juneau.console.widgets.FormDef.Input.Option
- Enclosing class:
- FormDef.Input
A single
select option: a submit value and its visible label.- Since:
- 10.0.0
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
value
The submit value for this option. Must not benull . -
label
The visible option text, painted withtextContent. Must not be blank.
-
-
Constructor Details
-
Option
public Option()
-
-
Method Details
-
of
Creates a select option.- Parameters:
value- The submit value. Must not benull .label- The visible option text. Must not benull or blank.- Returns:
- A new
FormDef.Input.Option. - Throws:
IllegalArgumentException- Ifvalueisnull orlabelis blank.
-