|
HATS 7.5.1 Web API ReferencePublicly accessible methods not documented here are for IBM internal use only and may change in a future release of the product. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.hats.transform.regions.ScreenRegion
public abstract class ScreenRegion
this is abstract class is used to represent a contigous region of host screen coordinates
Cloneable| Field Summary | |
|---|---|
int |
endCol
The ending column of the screen region |
int |
endRow
The ending row of the screen region |
int |
startCol
The starting column of the screen region |
int |
startRow
The starting row of the screen region |
int |
type
an indicator of the type of region that the implemenation chooses |
| Constructor Summary | |
|---|---|
ScreenRegion()
|
|
| Method Summary | |
|---|---|
void |
adjustForDefault(HsrScreen hs)
a method for adjusting the screen region to fit with in the confines of a given host screen. |
abstract Object |
clone()
An abstract method to require overriding of the clone method. |
static ScreenRegion |
compound(ComponentElement[] ce)
a method for detecting finding the compound area of the consumed regions of ComponentElements |
static ScreenRegion |
compound(ComponentElement[] ce,
int hscolsize)
|
static ScreenRegion |
compound(ScreenRegion[] sr)
a method for detecting finding the compound area of multiple ScreenRegions |
boolean |
equals(ScreenRegion sr)
implementation of equality for ScreenRegion objects |
abstract boolean |
isInRegion(int row,
int col)
an abstract method for detecting whether a point coordinate is inside the screen region |
abstract int |
size()
an abstract method for determining the amount of single coordinates are inside the screen region |
abstract String |
toString()
An abstract method to require overriding of the toString method. |
static int |
type()
An indicator of the type of region that the implemenation chooses. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public int startRow
public int startCol
public int endRow
public int endCol
public int type
| Constructor Detail |
|---|
public ScreenRegion()
| Method Detail |
|---|
public abstract boolean isInRegion(int row,
int col)
row - - the row of the coordinatecol - - the column of the coordinate
public abstract int size()
public static ScreenRegion compound(ComponentElement[] ce)
ce - - the array of ComponentElements whose consumed screen regions are to be compounded
public static ScreenRegion compound(ComponentElement[] ce,
int hscolsize)
public abstract String toString()
toString in class Objectpublic static int type()
public static ScreenRegion compound(ScreenRegion[] sr)
sr - - the array of ScreenRegions who are to be compounded
public void adjustForDefault(HsrScreen hs)
hs - The host screen to adjsut the region to fit within.public abstract Object clone()
clone in class Objectpublic boolean equals(ScreenRegion sr)
sr - - the ScreenRegion to compare against
|
HATS 7.5.1 (201005110649) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||