public class DefaultComplexLabelClass extends LabelClass implements Persistent
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultComplexLabelClass.RegisterPersistence |
| Modifier and Type | Field and Description |
|---|---|
static String |
COMPLEXLABELCLASS_PERSISTENCE_DEFINITION_NAME |
PAPER, WORLD| Constructor and Description |
|---|
DefaultComplexLabelClass() |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Creates a copy of the object.
|
double |
getMaxScale() |
double |
getMinScale() |
boolean |
isVisible()
Returns true if the label will be showed in the map
|
boolean |
isVisible(double scale)
Returns true if the label will be showed in the map
|
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 |
setMaxScale(double maxScale) |
void |
setMinScale(double minScale) |
draw, drawInsideRectangle, getBounds, getCartographicSize, getClassName, getLabelExpressions, getLabelStyle, getName, getPriority, getReferenceSystem, getShape, getSQLQuery, getStringLabelExpression, getTexts, getTextSymbol, getUnit, isUseSqlQuery, setCartographicSize, setLabelExpressions, setLabelStyle, setName, setPriority, setReferenceSystem, setSQLQuery, setTexts, setTextSymbol, setUnit, setUseSqlQuery, setVisible, toCartographicSize, toStringpublic static final String COMPLEXLABELCLASS_PERSISTENCE_DEFINITION_NAME
public double getMinScale()
public void setMinScale(double minScale)
public double getMaxScale()
public void setMaxScale(double maxScale)
public boolean isVisible()
LabelClassisVisible in interface ILabelClassisVisible in class LabelClasspublic boolean isVisible(double scale)
LabelClassisVisible in interface ILabelClassisVisible in class LabelClasspublic void loadFromState(PersistentState state) throws PersistenceException
PersistentloadFromState in interface PersistentloadFromState in class LabelClassPersistenceExceptionpublic void saveToState(PersistentState state) throws PersistenceException
PersistentsaveToState in interface PersistentsaveToState in class LabelClassPersistenceExceptionpublic Object clone() throws CloneNotSupportedException
Cloneableclone in class LabelClassCloneNotSupportedException - 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()}.