|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.gnu.gdk.Dimension
public class Dimension
| Constructor Summary | |
|---|---|
Dimension(int width,
int height)
Creates a new Dimension object with the specified width
and height. |
|
| Method Summary | |
|---|---|
int |
getHeight()
|
int |
getWidth()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Dimension(int width,
int height)
Dimension object with the specified width
and height.
width - the new object's width.height - the new object's height.
java.lang.IllegalArgumentException - If width or height is negative| Method Detail |
|---|
public int getHeight()
dimension object.public int getWidth()
dimension object.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||