# Class: com.pnfsoftware.jeb.client.api.FormEntry

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

## Constructor: FormEntry

Description: Create an empty form entry.

## Constructor: FormEntry
- parameter: `header`, type: `java.lang.String`
- parameter: `defaultValue`, type: `T`
- parameter: `flags`, type: `int`
- parameter: `validator`, type: `java.util.function.Predicate<T>`

Description: Create a form entry.
parameter: header: optional entry header
parameter: defaultValue: optional default value
parameter: flags: entry flags
parameter: validator: optional validator for user\-provided values

## Field: defaultValue
Type: `T`
Description: Default value for the entry. May be null.

## Field: flags
Type: `int`
Description: Flags. May be 0.

## Field: header
Type: `java.lang.String`
Description: Description header. May be null.

## Field: validator
Type: `java.util.function.Predicate<T>`
Description: 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.\).

## Static Field: INLINE
Type: `int`

Constant value: `1`
Description: Flag indicating that the entry description header and the value field should be inlined, instead of stacked \(the default\).

