|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.wrq.vhi.script.api.FieldEventHandler
public abstract class FieldEventHandler
Abstract base class for a field event listener. All classes that extend this class appear as field event handlers in the VHI design tool.
Field Summary |
---|
Fields inherited from interface com.wrq.vhi.script.api.EventHandler |
---|
DEFAULT_TIMEOUT |
Constructor Summary | |
---|---|
FieldEventHandler()
|
Method Summary | |
---|---|
java.lang.String |
readField(ReadFieldEvent event)
Called to read the field. |
void |
writeField(WriteFieldEvent event)
Called to write the field. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FieldEventHandler()
Method Detail |
---|
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 instance
ApptrieveException
public void writeField(WriteFieldEvent event) throws ApptrieveException
Any exception thrown from this event will cause the field write to fail.
event
- the event instance
ApptrieveException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |