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.
- Author:
- Paul Reavis
Copyright 2005 Partner Software, Inc.
| 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.ArrayList 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()
setState
public void setState(Cog state)
- Specified by:
setState in interface Coggable
getState
public Cog getState()
- Specified by:
getState in interface Coggable
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.ArrayList getZooms()
setZooms
public void setZooms(java.util.ArrayList 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()