public class DefaultComplexLegendItem extends java.lang.Object implements ComplexLegendItem, Persistent
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultComplexLegendItem.RegisterPersistence |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COMPLEX_LEGEND_ITEM_PERSISTENCE_DEFINITION_NAME |
static Logger |
logger |
| Constructor and Description |
|---|
DefaultComplexLegendItem() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Creates a copy of the object.
|
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) |
java.lang.String |
toString() |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcloneQuietly, cloneQuietlypublic static final Logger logger
public static final java.lang.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 java.lang.String toString()
toString in interface ComplexLegendItemtoString in class java.lang.Objectpublic void loadFromState(PersistentState state) throws PersistenceException
PersistentloadFromState in interface PersistentPersistenceExceptionpublic void saveToState(PersistentState state) throws PersistenceException
PersistentsaveToState in interface PersistentPersistenceExceptionpublic java.lang.Object clone()
throws java.lang.CloneNotSupportedException
Cloneableclone in class java.lang.Objectjava.lang.CloneNotSupportedException - if the instance of the object cannot
be cloned. As this is extending Cloneable so its sure
it implements it, so this exception may be used for problems on specific
object instances.Object#clone()}.