java.lang.Object | |
↳ | com.pnfsoftware.jeb.client.api.FormEntry<T> |
Known Direct Subclasses |
Abstract class for form entry types used to create IGraphicalClientContext#displayForm(String, String, FormEntry...) form dialogs.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
class | FormEntry.Text | Textual form entry. |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | INLINE | Flag indicating that the entry description header and the value field should be inlined, instead of stacked (the default). |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
public T | defaultValue | Default value for the entry. | |||||||||
public int | flags | Flags. | |||||||||
public String | header | Description header. | |||||||||
public Predicate<T> | validator | Optional validator for the user-provided entry. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
FormEntry() | |||||||||||
FormEntry(String header, T defaultValue, int flags, Predicate<T> validator) |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Flag indicating that the entry description header and the value field should be inlined, instead of stacked (the default).
Default value for the entry. May be null.
Flags. May be 0.
Description header. May be null.
Optional validator for the user-provided entry. The form widget will use the validator to determine whether an input is correct, and may take action accordingly (e.g. display a warning, block proceeding, etc.).