public class

FormEntry

extends Object
java.lang.Object
   ↳ com.pnfsoftware.jeb.client.api.FormEntry<T>
Known Direct Subclasses

Class Overview

Abstract class for form entry types used to create IGraphicalClientContext#displayForm(String, String, FormEntry...) form dialogs.

Summary

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

Constants

public static final int INLINE

Flag indicating that the entry description header and the value field should be inlined, instead of stacked (the default).

Constant Value: 1 (0x00000001)

Fields

public T defaultValue

Default value for the entry. May be null.

public int flags

Flags. May be 0.

public String header

Description header. May be null.

public Predicate<T> validator

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.).

Public Constructors

public FormEntry ()

public FormEntry (String header, T defaultValue, int flags, Predicate<T> validator)