com.partnersoft.maps.model
Class MapSpaceLegend
java.lang.Object
com.partnersoft.maps.model.MapSpaceLegend
- All Implemented Interfaces:
- Coggable
public class MapSpaceLegend
- extends java.lang.Object
- implements Coggable
A global legend for a MapSpace. Each MapSpaceLegend establishes a defined
name, background, and zooms for the MapSets in the MapSpace. Each MapSet must
then provide individual Legends that correspond to the name of this
MapSpaceLegend and that define how the data in the MapSet is to be drawn.
Copyright 2005-2009 Partner Software, Inc.
- Version:
- $Id: MapSpaceLegend.java 2046 2009-08-25 05:28:53Z paul $
- Author:
- Paul Reavis
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
public java.lang.String name
backgroundColorName
public java.lang.String backgroundColorName
indicationColorName
public java.lang.String indicationColorName
selectionColorName
public java.lang.String selectionColorName
zooms
public java.util.List zooms
centerX
public double centerX
centerY
public double centerY
backgroundColor
public transient int backgroundColor
indicationColor
public transient int indicationColor
selectionColor
public transient int selectionColor
zoomArray
public transient double[] zoomArray
MapSpaceLegend
public MapSpaceLegend()
MapSpaceLegend
public MapSpaceLegend(Cog state)
toCog
public Cog toCog()
- Description copied from interface:
Coggable
- Returns the complete internal state of this object in the form of a
Cog.
- Specified by:
toCog in interface Coggable
- Returns:
- Cog representing the internal state of this object
getName
public java.lang.String getName()
setName
public void setName(java.lang.String argName)
getBackgroundColor
public java.lang.String getBackgroundColor()
setBackgroundColor
public void setBackgroundColor(java.lang.String argBackgroundColorName)
getZooms
public java.util.List getZooms()
setZooms
public void setZooms(java.util.List argZooms)
getCenterX
public double getCenterX()
setCenterX
public void setCenterX(double argCenterX)
getCenterY
public double getCenterY()
setCenterY
public void setCenterY(double argCenterY)
hasDarkBackground
public boolean hasDarkBackground()