Package com.hp.lft.sdk.te
Class Area
java.lang.Object
com.hp.lft.sdk.te.Area
Represents Terminal Emulator coordinates Top, Left, Bottom, Right.
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionArea(int top, int left, int bottom, int right) Constructs anAreaand initializes it to the specified top, left, bottom, and right properties.Constructs anAreaand initializes it to the specified top, left, bottom, and right properties.
- 
Method SummaryModifier and TypeMethodDescriptionintReturns Bottom position of the rectangle.intgetLeft()Returns Left position of the rectangle.intgetRight()Returns Right position of the rectangle.intgetTop()Returns Top position of the rectangle.voidsetArea(int top, int left, int bottom, int right) Sets the size of thisAreaobject to the specified top, left, bottom, and right properties.toString()Returns a string representation of the values of thisAreaobject'stop,left,bottom, andrightfields.
- 
Field Details- 
toppublic int topTop position of the rectangle.
- 
leftpublic int leftLeft position of the rectangle.
- 
bottompublic int bottomBottom position of the rectangle.
- 
rightpublic int rightRight position of the rectangle.
 
- 
- 
Constructor Details- 
Areapublic Area(int top, int left, int bottom, int right) Constructs anAreaand initializes it to the specified top, left, bottom, and right properties.- Parameters:
- top- the top edge of this Area structure.
- left- the left edge of this Area structure.
- bottom- the bottom edge of this Area structure.
- right- the right edge of this Area structure.
 
- 
AreaConstructs anAreaand initializes it to the specified top, left, bottom, and right properties.- Parameters:
- topLeft- assigns values to Top and Left fields.
- bottomRight- assigns values to Bottom and Right fields.
 
 
- 
- 
Method Details- 
getToppublic int getTop()Returns Top position of the rectangle.- Returns:
- top position of the rectangle.
 
- 
getLeftpublic int getLeft()Returns Left position of the rectangle.- Returns:
- left position of the rectangle.
 
- 
getBottompublic int getBottom()Returns Bottom position of the rectangle.- Returns:
- bottom position of the rectangle.
 
- 
getRightpublic int getRight()Returns Right position of the rectangle.- Returns:
- right position of the rectangle.
 
- 
setAreapublic void setArea(int top, int left, int bottom, int right) Sets the size of thisAreaobject to the specified top, left, bottom, and right properties. Note that iftop,left,bottom, orrightare larger thanInteger.MAX_VALUE, they will be reset toInteger.MAX_VALUE.- Parameters:
- top- the top edge of this Area structure.
- left- the left edge of this Area structure.
- bottom- the bottom edge of this Area structure.
- right- the right edge of this Area structure.
 
- 
toStringReturns a string representation of the values of thisAreaobject'stop,left,bottom, andrightfields. This method is intended to be used only for debugging purposes, and the content and format of the returned string may vary between implementations. The returned string may be empty but may not benull.
 
-