public abstract class FieldEventHandler extends java.lang.Object implements EventHandler
DEFAULT_TIMEOUT| Constructor and Description |
|---|
FieldEventHandler() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
readField(ReadFieldEvent event)
Called to read the field.
|
void |
writeField(WriteFieldEvent event)
Called to write the field.
|
public java.lang.String readField(ReadFieldEvent event) throws ApptrieveException
Any exception thrown from this event will cause the field read to fail.
See RecordSetEventHandler for details about when this event
is fired in relation to recordset events.
NOTE: ScriptHostSession methods that change the terminal
screen cannot be called within this event.
event - the event instanceApptrieveExceptionpublic void writeField(WriteFieldEvent event) throws ApptrieveException
Any exception thrown from this event will cause the field write to fail.
event - the event instanceApptrieveException