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, setY
getProperty, getPropertyKeys, putProperty
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getX, getY
getProperty, getPropertyKeys, putProperty
public AreaContext()
AreaContext
.public int getHeight()
IAreaContext
getHeight
in interface IAreaContext
public int getWidth()
IAreaContext
getWidth
in interface IAreaContext
public 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