Package su.onno.ui
Class InputSpec.InputBuilder
java.lang.Object
su.onno.ui.InputSpec.InputBuilder
- Enclosing class:
InputSpec
Fluent builder for one input; setters may be called in any order.
-
Method Summary
Modifier and TypeMethodDescriptionThe choices for aInputType.SELECTinput.placeholder(String placeholder) Make this areference pickerof another entity's records: the modal renders the same searchable ref widget an entity form uses, and the submitted value is the picked record's id.required()Require a non-blank value before an action-form dialog submits (seeActionSpec.ActionBuilder.form).The initial value the field carries before the user changes it.
-
Method Details
-
label
-
type
-
placeholder
-
options
The choices for aInputType.SELECTinput. -
value
The initial value the field carries before the user changes it. -
required
Require a non-blank value before an action-form dialog submits (seeActionSpec.ActionBuilder.form). Toolbar inputs ignore it — they're ambient values, not a gated form. -
reference
Make this areference pickerof another entity's records: the modal renders the same searchable ref widget an entity form uses, and the submitted value is the picked record's id.targetmust be a@Catalog- or@Document-annotated class. Action forms only.
-