|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface that must implement all objects that want to be sized.
| Method Summary | |
int |
getHeight()
Returns the height of the instance. |
java.awt.Dimension |
getPreferredSize()
Returns the preferred size of the instance. |
java.awt.Dimension |
getSize()
Returns the size of the instance. |
int |
getWidth()
Returns the width of the instance. |
void |
setHeight(int height)
Sets the height of the instance. |
void |
setSize(java.awt.Dimension size)
Sets the size of the instance. |
void |
setSize(int width,
int height)
Sets the size of the instance. |
void |
setWidth(int width)
Sets the width of the instance. |
| Method Detail |
public int getWidth()
public void setWidth(int width)
width - the width of the instancepublic int getHeight()
public void setHeight(int height)
height - the height of the instancepublic java.awt.Dimension getSize()
public void setSize(int width,
int height)
width - the width of the instance.height - the height of the instancepublic void setSize(java.awt.Dimension size)
size - the size of the instance.public java.awt.Dimension getPreferredSize()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||