|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Sizeable
Interface for objects that can have their size set and queried.
Method Summary | |
---|---|
int |
getHeight()
Returns the object's height. |
java.awt.Dimension |
getSize()
Returns the object's size as an AWT Dimension. |
int |
getWidth()
Returns the object's width. |
void |
setSize(java.awt.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 |
---|
void setSize(int width, int height)
void setSize(java.awt.Dimension d)
java.awt.Dimension getSize()
int getWidth()
int getHeight()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |