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 ComplexLegendItempublic void setLegend(ILegend legend)
setLegend in interface ComplexLegendItempublic double getMaxScale()
getMaxScale in interface ComplexLegendItempublic void setMaxScale(double maxScale)
setMaxScale in interface ComplexLegendItempublic double getMinScale()
getMinScale in interface ComplexLegendItempublic void setMinScale(double minScale)
setMinScale in interface ComplexLegendItempublic String toString()
toString in interface ComplexLegendItemtoString in class Objectpublic void loadFromState(PersistentState state) throws PersistenceException
PersistentloadFromState in interface PersistentPersistenceExceptionpublic void saveToState(PersistentState state) throws PersistenceException
PersistentsaveToState in interface PersistentPersistenceException