|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RecordLocation
Specifies the location of a record within a recordset.
ParseScreenEvent
Method Summary | |
---|---|
RectangularTerminalRegion |
getRecordRegion()
Gets the current location, size and contents of the record within the record set. |
java.lang.Object |
getRecordStateObject(java.lang.String name)
Gets the object bound to the specified name in this record context, or null if no object is bound to the name. |
boolean |
isRecordStateObject(java.lang.String name)
Tests for the presence of a record context object bound to the specified name. |
boolean |
isRecordWhole()
Checks if the record is entirely contained within this rectangular region. |
RectangularTerminalRegion |
setRecordRegion(int left,
int top,
int width,
int height)
Changes the location and size of the record within the record set using rectangular coordinates. |
void |
setRecordStateObject(java.lang.String name,
java.lang.Object object)
Binds an object to this record context, using the name specified. |
void |
setRecordWhole(boolean whole)
Marks the record as either whole or partial. |
Method Detail |
---|
RectangularTerminalRegion getRecordRegion()
RectangularTerminalRegion setRecordRegion(int left, int top, int width, int height)
left
- the one-based column within the record settop
- the one-based row within the record setwidth
- the number of columns in the recordheight
- the number of rows in the record
RectangularTerminalRegion
for the field
java.lang.IllegalArgumentException
- if the region is invalidboolean isRecordWhole()
void setRecordWhole(boolean whole)
whole
- true if the record should be considered whole, otherwise
falseboolean isRecordStateObject(java.lang.String name)
name
- the name of the object
java.lang.Object getRecordStateObject(java.lang.String name)
name
- the name of the object
void setRecordStateObject(java.lang.String name, java.lang.Object object)
name
- the name to which to bind the objectobject
- the object to bind
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |