org.gnu.gdk
public class Dimension extends Object
Constructor Summary | |
---|---|
Dimension(int width, int height)
Creates a new Dimension object with the specified width
and height.
|
Method Summary | |
---|---|
int | getHeight() |
int | getWidth() |
Deprecated: Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.
Creates a newDimension
object with the specified width
and height.
Parameters: width the new object's width. height the new object's height.
Throws: IllegalArgumentException
If width
or height
is negative
Deprecated: Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.
Returns: the height of the dimension
object.
Deprecated: Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.
Returns: the width of the dimension
object.