public class DefaultComplexLegendItem extends Object implements ComplexLegendItem, Persistent
Modifier and Type | Class and Description |
---|---|
static class |
DefaultComplexLegendItem.RegisterPersistence |
Modifier and Type | Field and Description |
---|---|
static String |
COMPLEX_LEGEND_ITEM_PERSISTENCE_DEFINITION_NAME |
static Logger |
logger |
Constructor and Description |
---|
DefaultComplexLegendItem() |
Modifier and Type | Method and Description |
---|---|
ILegend |
getLegend() |
double |
getMaxScale() |
double |
getMinScale() |
void |
loadFromState(PersistentState state)
Set the state of the object from the state passed as parameter.
|
void |
saveToState(PersistentState state)
Saves the internal state of the object on the provided
PersistentState object.
|
void |
setLegend(ILegend legend) |
void |
setMaxScale(double maxScale) |
void |
setMinScale(double minScale) |
String |
toString() |
public static final Logger logger
public static final String COMPLEX_LEGEND_ITEM_PERSISTENCE_DEFINITION_NAME
public ILegend getLegend()
getLegend
in interface ComplexLegendItem
public void setLegend(ILegend legend)
setLegend
in interface ComplexLegendItem
public double getMaxScale()
getMaxScale
in interface ComplexLegendItem
public void setMaxScale(double maxScale)
setMaxScale
in interface ComplexLegendItem
public double getMinScale()
getMinScale
in interface ComplexLegendItem
public void setMinScale(double minScale)
setMinScale
in interface ComplexLegendItem
public String toString()
toString
in interface ComplexLegendItem
toString
in class Object
public void loadFromState(PersistentState state) throws PersistenceException
Persistent
loadFromState
in interface Persistent
PersistenceException
public void saveToState(PersistentState state) throws PersistenceException
Persistent
saveToState
in interface Persistent
PersistenceException