org.deegree_impl.clients.wmsclient.configuration
Class MapOperationFactor

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

public class MapOperationFactor
extends java.lang.Object

Version:
$Revision: 1.1 $
Author:
Andreas Poth

Field Summary
private  double factor
           
private  boolean free
           
private  boolean selected
           
 
Constructor Summary
MapOperationFactor(double factor, boolean selected, boolean free)
          Creates a new MapOperationFactor object.
 
Method Summary
 double getFactor()
          returns the numeric factor to be used in a map operation like zoom or pan
 boolean isFree()
          returns true if the MapOperationFactor represents a field that allows the user to enter his own map size
 boolean isSelected()
          returns true if the zoom factor is selected.
 void setSelected(boolean selected)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

free

private boolean free

selected

private boolean selected

factor

private double factor
Constructor Detail

MapOperationFactor

public MapOperationFactor(double factor,
                          boolean selected,
                          boolean free)
Creates a new MapOperationFactor object.

Parameters:
factor -
selected - true if the zoom factor is selected.
free - true if the MapOperationFactor represents a field that allows the user to enter his own map size
Method Detail

getFactor

public double getFactor()
returns the numeric factor to be used in a map operation like zoom or pan

Returns:

isSelected

public boolean isSelected()
returns true if the zoom factor is selected.

Returns:

setSelected

public void setSelected(boolean selected)
Parameters:
selected -

isFree

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