com.jmex.bui.util
Class Dimension
java.lang.Object
com.jmex.bui.util.Dimension
- Direct Known Subclasses:
- BBounds
public class Dimension
- extends java.lang.Object
Represents the size of a component.
|
Field Summary |
int |
height
The height of the entity in question. |
int |
width
The width of the entity in question. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
width
public int width
- The width of the entity in question.
height
public int height
- The height of the entity in question.
Dimension
public Dimension(int width,
int height)
Dimension
public Dimension(Dimension other)
Dimension
public Dimension()
getWidth
public int getWidth()
setWidth
public void setWidth(int _width)
getHeight
public int getHeight()
setHeight
public void setHeight(int _height)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2011 Michael Bayne.
All Rights Reserved.