Class Form.Builder
java.lang.Object
com.ultikits.ultitools.ui.Form.Builder
- Enclosing class:
Form
A reusable, non-thread-safe builder.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAppends one line.Replaces the body with a defensive copy.build()Appends a typed input handle.Sets the submit label.
-
Field Details
-
title
-
body
-
inputs
-
submit
-
-
Constructor Details
-
Builder
-
-
Method Details
-
body
Replaces the body with a defensive copy. -
addBody
Appends one line. -
input
Appends a typed input handle. Keys must be unique at build time. -
submit
Sets the submit label. -
build
- Throws:
IllegalArgumentException- if there are no inputs or two inputs share a key
-