deegree 2.2 (2008/12/22 11:33 build-3038-official)

org.deegree.portal.context
Class MapOperationFactor

java.lang.Object
  extended by org.deegree.portal.context.MapOperationFactor

public class MapOperationFactor
extends Object

Version:
$Revision: 9346 $
Author:
Andreas Poth

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
 

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


deegree 2.2 (2008/12/22 11:33 build-3038-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net