All Packages Class Hierarchy This Package Previous Next Index
Class com.bulletproof.gui.Dimension
java.lang.Object
|
+----com.bulletproof.gui.Dimension
- public class Dimension
- extends Object
A class to encapsulate a width and a height Dimension.
-
Dimension(int, int)
-
Constructs a Dimension and initializes it to the specified width and
specified height.
-
getHeight()
- Returns the height of this Dimension object.
-
getWidth()
- Returns the width of this Dimension object.
Dimension
public Dimension(int width,
int height)
- Constructs a Dimension and initializes it to the specified width and
specified height.
- Parameters:
- width - the specified width dimension
- height - the specified height dimension
getWidth
public int getWidth()
- Returns the width of this Dimension object.
getHeight
public int getHeight()
- Returns the height of this Dimension object.
All Packages Class Hierarchy This Package Previous Next Index