com.wrq.vhi.script.api
Interface ReadFieldEvent
- All Superinterfaces:
- EntityEvent, Event, FieldEvent, HostSessionEvent, ModelEvent, RecordEvent, RecordSetEvent
public interface ReadFieldEvent
- extends FieldEvent
Read field event information.
- See Also:
FieldEventHandler.readField(com.wrq.vhi.script.api.ReadFieldEvent)
Method Summary |
java.lang.String |
defaultReadField()
Gets the value read from the field at the time the event fired. |
TerminalRegion |
getTerminalRegion()
Gets the screen region that describes the location, size and contents
of the field at the time the event fired. |
getTerminalRegion
TerminalRegion getTerminalRegion()
- Gets the screen region that describes the location, size and contents
of the field at the time the event fired. The object returned can be
cast to either
LinearTerminalRegion
or
RectangularTerminalRegion
depending on the type of region. If
the location, size or contents of the field changes during the course
of this event, it will not be reflected in the value returned.
- Returns:
- the location and contents of the field
defaultReadField
java.lang.String defaultReadField()
- Gets the value read from the field at the time the event fired. If the
value of the field changes during the course of this event, it will
not be reflected in the value returned. Symbols and spaces will have
been removed from the value if the field is configured to do so in the
model.
- Returns:
- the value of the field as if the read event was not scripted