org.opengts.war.tools
Class MapDimension

java.lang.Object
  extended by org.opengts.war.tools.MapDimension

public class MapDimension
extends java.lang.Object


Constructor Summary
MapDimension()
          Consructor
MapDimension(int width, int height)
          Consructor
 
Method Summary
 int getHeight()
          Gets the dimension height
 int getWidth()
          Gets the dimension width
 boolean isValid()
          Returns true if this MapDimension defines a valid dimension
 java.lang.String toString()
          Returns a String representation of this MapDimension
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MapDimension

public MapDimension()
Consructor


MapDimension

public MapDimension(int width,
                    int height)
Consructor

Parameters:
width - The dimension width
height - The dimension height
Method Detail

getWidth

public int getWidth()
Gets the dimension width

Returns:
The dimension width

getHeight

public int getHeight()
Gets the dimension height

Returns:
The dimension height

isValid

public boolean isValid()
Returns true if this MapDimension defines a valid dimension

Returns:
True if this MapDimension defines a valid dimension

toString

public java.lang.String toString()
Returns a String representation of this MapDimension

Overrides:
toString in class java.lang.Object
Returns:
A String representation of this MapDimension