public class AreaContext extends LocationContext implements IAreaContext
| Constructor and Description |
|---|
AreaContext()
Creates a new
AreaContext. |
| Modifier and Type | Method and Description |
|---|---|
int |
getHeight()
Gets the height.
|
int |
getWidth()
Gets the width.
|
void |
setHeight(int height)
Sets the height.
|
void |
setSize(int width,
int height)
Sets the size.
|
void |
setWidth(int width)
Sets the width.
|
java.lang.String |
toString() |
getX, getY, setLocation, setX, setYgetProperty, getPropertyKeys, putPropertyequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetX, getYgetProperty, getPropertyKeys, putPropertypublic AreaContext()
AreaContext.public int getHeight()
IAreaContextgetHeight in interface IAreaContextpublic int getWidth()
IAreaContextgetWidth in interface IAreaContextpublic void setHeight(int height)
height - The height to set.public void setSize(int width,
int height)
width - the widthheight - the heightpublic void setWidth(int width)
width - The width to set.public java.lang.String toString()
toString in class LocationContext