org.jtgl.core
Class JTGLDimension

java.lang.Object
  extended by org.jtgl.core.JTGLDimension

public class JTGLDimension
extends java.lang.Object

Represents an inmutable 2D Dimension

Author:
Manuel Polo (manuel_polo at yahoo dot es)

Constructor Summary
JTGLDimension(int width, int height)
          Creates a new instance of JTGLDimension
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int getHeight()
           
 int getWidth()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JTGLDimension

public JTGLDimension(int width,
                     int height)
Creates a new instance of JTGLDimension

Method Detail

getWidth

public int getWidth()

getHeight

public int getHeight()

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object