com.jmex.bui.util
Class Dimension

java.lang.Object
  extended by 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.
 
Constructor Summary
Dimension()
           
Dimension(Dimension other)
           
Dimension(int width, int height)
           
 
Method Summary
 int getHeight()
           
 int getWidth()
           
 void setHeight(int _height)
           
 void setWidth(int _width)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

width

public int width
The width of the entity in question.


height

public int height
The height of the entity in question.

Constructor Detail

Dimension

public Dimension(int width,
                 int height)

Dimension

public Dimension(Dimension other)

Dimension

public Dimension()
Method Detail

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.