public class MapSpaceLegend extends java.lang.Object implements Coggable
Copyright 2005-2009 Partner Software, Inc.
| Modifier and Type | Field and Description |
|---|---|
int |
backgroundColor |
java.lang.String |
backgroundColorName |
double |
centerX |
double |
centerY |
int |
indicationColor |
java.lang.String |
indicationColorName |
java.lang.String |
name |
int |
selectionColor |
java.lang.String |
selectionColorName |
double[] |
zoomArray |
java.util.List |
zooms |
| Constructor and Description |
|---|
MapSpaceLegend() |
MapSpaceLegend(Cog state) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getBackgroundColor() |
XyPoint |
getCenter() |
double |
getCenterX() |
double |
getCenterY() |
java.lang.String |
getName() |
java.util.List |
getZooms() |
boolean |
hasDarkBackground() |
void |
setBackgroundColor(java.lang.String argBackgroundColorName) |
void |
setCenterX(double argCenterX) |
void |
setCenterY(double argCenterY) |
void |
setName(java.lang.String argName) |
void |
setZooms(java.util.List argZooms) |
Cog |
toCog()
Returns the complete internal state of this object in the form of a
Cog. |
public java.lang.String name
public java.lang.String backgroundColorName
public java.lang.String indicationColorName
public java.lang.String selectionColorName
public java.util.List zooms
public double centerX
public double centerY
public transient int backgroundColor
public transient int indicationColor
public transient int selectionColor
public transient double[] zoomArray
public MapSpaceLegend()
public MapSpaceLegend(Cog state)
public Cog toCog()
CoggableCog.public java.lang.String getName()
public void setName(java.lang.String argName)
public java.lang.String getBackgroundColor()
public void setBackgroundColor(java.lang.String argBackgroundColorName)
public java.util.List getZooms()
public void setZooms(java.util.List argZooms)
public XyPoint getCenter()
public double getCenterX()
public void setCenterX(double argCenterX)
public double getCenterY()
public void setCenterY(double argCenterY)
public boolean hasDarkBackground()