Class Form
java.lang.Object
com.ultikits.ultitools.ui.Form
- All Implemented Interfaces:
UiIntent<FormResponse>
A form with one or more inputs, submitted at once. Completes with the submitted values.
There is no masked (password) input: Paper 26.3's dialog text input has no such option.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA reusable, non-thread-safe builder. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbody()Body lines; unmodifiable.static Form.Builder(package private) static <T> List<ChoiceOption<T>> copyOptions(List<ChoiceOption<T>> options) booleaninthashCode()inputs()Typed handles in display order; unmodifiable.submit()Defaults toultitools:ui.submit.title()Title shown by every backend.toString()(package private) static StringvalidateKey(String key)
-
Field Details
-
title
-
body
-
inputs
-
submit
-
-
Constructor Details
-
Form
-
-
Method Details
-
builder
- Throws:
IllegalArgumentException- at build if there are no inputs or two inputs share a key
-
title
Description copied from interface:UiIntentTitle shown by every backend.- Specified by:
titlein interfaceUiIntent<FormResponse>
-
body
-
inputs
-
submit
Defaults toultitools:ui.submit. -
validateKey
-
copyBody
-
copyOptions
-
equals
-
hashCode
-
toString
-