org.deegree_impl.clients.wmsclient.configuration
Class MapSize

java.lang.Object
  extended byorg.deegree_impl.clients.wmsclient.configuration.MapSize

public class MapSize
extends java.lang.Object

Version:
$Revision: 1.1 $
Author:
Andreas Poth

Field Summary
private  boolean free
           
private  int height
           
private  boolean selected
           
private  int width
           
 
Constructor Summary
MapSize(int width, int height, boolean selected, boolean free)
          Creates a new instance of MapSize
 
Method Summary
 int getHeight()
          returns the map height.
 int getWidth()
          returns the map width.
 boolean isFree()
          returns true if the MapSize represents a field (combination) that allows the user to enter his own map size
 boolean isSelected()
          returns true if the map size is selected. the user have to ensure that only one map size is in selected state
 void setSelected(boolean selected)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

selected

private boolean selected

free

private boolean free

height

private int height

width

private int width
Constructor Detail

MapSize

public MapSize(int width,
               int height,
               boolean selected,
               boolean free)
Creates a new instance of MapSize

Method Detail

getWidth

public int getWidth()
returns the map width.

Returns:

getHeight

public int getHeight()
returns the map height.

Returns:

isSelected

public boolean isSelected()
returns true if the map size is selected. the user have to ensure that only one map size is in selected state

Returns:

setSelected

public void setSelected(boolean selected)
Parameters:
selected -

isFree

public boolean isFree()
returns true if the MapSize represents a field (combination) that allows the user to enter his own map size