|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.wrq.apptrieve.appconn.ElementLocation
public class ElementLocation
ElementLocation provides location information about a particular Host Integrator entity attribute, pattern, recordset field, or recordset.
Field Summary | |
---|---|
static int |
ELEMENT_TYPE_ATTRIBUTE
Return value of getElementType() when element is an attribute. |
static int |
ELEMENT_TYPE_FIELD
Return value of getElementType() when element is a field. |
static int |
ELEMENT_TYPE_PATTERN
Return value of getElementType() when element is a pattern. |
static int |
ELEMENT_TYPE_RECORDSET
Return value of getElementType() when element is a recordset. |
static int |
ELEMENT_TYPE_UNKNOWN
Return value of getElementType() when element is unknown. |
static int |
REGION_TYPE_LINEAR
Return value of getRegionType() when the region is linear. |
static int |
REGION_TYPE_RECTANGULAR
Return value of getRegionType() when the region is rectangular. |
static int |
REGION_TYPE_UNKNOWN
Return value of getRegionType() when the region type is unknown. |
Constructor Summary | |
---|---|
ElementLocation(ElementLoc saObject)
Constructor for internal use only. |
Method Summary | |
---|---|
java.lang.String |
getElementName()
Gets the name of the location element. |
int |
getElementType()
Gets the type of element. |
int |
getLeftColumn()
Gets the left column character position of the element's screen region. |
int |
getLength()
Gets the length of the element's screen region, starting with the region's offset. |
int |
getNumColumns()
Gets the number of columns included the element's screen region. |
int |
getNumRows()
Gets the number of rows included the element's screen region. |
int |
getOffset()
Gets the character offset to the start of the element's screen region, starting with the top-left corner of the screen. |
int |
getRegionType()
Gets the region type for the element. |
int |
getTopRow()
Gets the top row character position of the element's screen region. |
java.lang.String |
toString()
Generates a String that represents the current values of this TerminalAttributes object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int ELEMENT_TYPE_ATTRIBUTE
getElementType()
when element is an attribute.
public static final int ELEMENT_TYPE_PATTERN
getElementType()
when element is a pattern.
public static final int ELEMENT_TYPE_FIELD
getElementType()
when element is a field.
public static final int ELEMENT_TYPE_RECORDSET
getElementType()
when element is a recordset.
public static final int ELEMENT_TYPE_UNKNOWN
getElementType()
when element is unknown.
public static final int REGION_TYPE_LINEAR
getRegionType()
when the region is linear.
public static final int REGION_TYPE_RECTANGULAR
getRegionType()
when the region is rectangular.
public static final int REGION_TYPE_UNKNOWN
getRegionType()
when the region type is unknown.
Constructor Detail |
---|
public ElementLocation(ElementLoc saObject)
saObject
- dataMethod Detail |
---|
public java.lang.String getElementName()
public int getElementType()
This can be one of the following:
public int getTopRow()
Applies to rectangular elements only.
public int getLeftColumn()
Applies to rectangular elements only.
public int getNumRows()
Applies to rectangular elements only.
public int getNumColumns()
Applies to rectangular elements only.
public int getOffset()
Applies to linear elements only.
public int getLength()
Applies to linear elements only.
public int getRegionType()
This can be one of the following:
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |