com.esri.aims.mtier.model.map.layer.renderer
Class ValueMap

java.lang.Object
  |
  +--com.esri.aims.mtier.model.map.layer.renderer.ValueMap
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Exact, Other, Range

public abstract class ValueMap
extends Object
implements Serializable

Implements an abstract ValueMap object.

See Also:
Serialized Form

Constructor Summary
ValueMap()
          Constructs an instance of a ValueMap object.
 
Method Summary
 String getLabel()
          Returns the label associated with the Other object.
 Symbol getSymbol()
          Returns the Symbol associated with this Other object.
abstract  String getType()
          Returns the name string defining the type of Renderer.
 void setLabel(String value)
          Sets the given value as label for the Other object.
 void setSymbol(Object object)
          Sets the given Symbol object to the Other object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValueMap

public ValueMap()
Constructs an instance of a ValueMap object. Example:
ValueMap valueMap = new ValueMap();

Method Detail

getType

public abstract String getType()
Returns the name string defining the type of Renderer.


setLabel

public void setLabel(String value)
Sets the given value as label for the Other object. The Label is used for the legend. Example:
valueMap.setLabel("Logan");

Parameters:
value - the label as string.
See Also:
getLabel()

getLabel

public String getLabel()
Returns the label associated with the Other object. Example:
String label = valueMap.getLabel();

Returns:
the label.
See Also:
setLabel(java.lang.String)

setSymbol

public void setSymbol(Object object)
Sets the given Symbol object to the Other object. Example:
 SimplePolygonSymbol simplePolygon = new SimplePolygonSymbol();
 simplePolygon.setFillColor("255,0,0");
 valueMap.setSymbol(simplePolygon);
 

Parameters:
object - the symbol object.
See Also:
getSymbol()

getSymbol

public Symbol getSymbol()
Returns the Symbol associated with this Other object. Example:
 Symbol symbol = valueMap.getSymbol();
 

Returns:
the Symbol object.
See Also:
setSymbol(java.lang.Object)