|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface for objects that can have their size set and queried.
| Method Summary | |
int |
getHeight()
Returns the object's height. |
Dimension |
getSize()
Returns the object's size as an AWT Dimension. |
int |
getWidth()
Returns the object's width. |
void |
setSize(Dimension d)
Sets the object's size to the given Dimension. |
void |
setSize(int width,
int height)
Sets the object's size to the given dimensions. |
| Method Detail |
public void setSize(int width,
int height)
public void setSize(Dimension d)
public Dimension getSize()
public int getWidth()
public int getHeight()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||