public class ActionFormBuilder
extends java.lang.Object
| Constructor and Description |
|---|
ActionFormBuilder() |
| Modifier and Type | Method and Description |
|---|---|
ActionForm |
build() |
ActionFormBuilder |
button(java.lang.String text)
Add a button to the form.
|
ActionFormBuilder |
button(java.lang.String text,
FormImage image)
Add a button with an image to the form.
|
ActionFormBuilder |
divider()
Add a divider to the form.
|
ActionFormBuilder |
header(java.lang.String text)
Add a header to the form.
|
ActionFormBuilder |
label(java.lang.String text)
Add a label to the form.
|
ActionFormBuilder |
pathButton(java.lang.String text,
java.lang.String path)
Add a button with a path image to the form.
|
ActionFormBuilder |
text(java.lang.String text)
Set the text of the form.
|
ActionFormBuilder |
title(java.lang.String title)
Set the title of the form.
|
ActionFormBuilder |
urlButton(java.lang.String text,
java.lang.String url)
Add a button with an url image to the form.
|
public ActionFormBuilder title(@Nonnull java.lang.String title)
title - The titlepublic ActionFormBuilder text(@Nonnull java.lang.String text)
text - The textpublic ActionFormBuilder label(@Nonnull java.lang.String text)
text - The text of the labelpublic ActionFormBuilder header(@Nonnull java.lang.String text)
text - The text of the headerpublic ActionFormBuilder button(@Nonnull java.lang.String text)
text - The text of the buttonpublic ActionFormBuilder button(@Nonnull java.lang.String text, @Nullable FormImage image)
text - The text of the buttonimage - The image of the buttonpublic ActionFormBuilder pathButton(@Nonnull java.lang.String text, @Nonnull java.lang.String path)
text - The text of the buttonpath - The path of the imagepublic ActionFormBuilder urlButton(@Nonnull java.lang.String text, @Nonnull java.lang.String url)
text - The text of the buttonurl - The url of the imagepublic ActionFormBuilder divider()
public ActionForm build()