public class DefaultComplexLabelClass extends LabelClass implements Persistent
Modifier and Type | Class and Description |
---|---|
static class |
DefaultComplexLabelClass.RegisterPersistence |
CartographicSupport.CartographicContext
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COMPLEXLABELCLASS_PERSISTENCE_DEFINITION_NAME |
PAPER, WORLD
Constructor and Description |
---|
DefaultComplexLabelClass() |
Modifier and Type | Method and Description |
---|---|
java.lang.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, getShape, getSQLQuery, getStringLabelExpression, getTexts, getTextSymbol, isUseSqlQuery, setLabelExpressions, setLabelStyle, setName, setPriority, setReferenceSystem, setSQLQuery, setTexts, setTextSymbol, setUnit, setUseSqlQuery, setVisible, toString
copyCartographicContext, getCartographicContext, getReferenceSystem, getUnit, isInPixels, setCartographicContext, setCartographicContext, setCartographicContext, setCartographicContext, setCartographicContext, toCartographicUnits
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
cloneQuietly, cloneQuietly
copyCartographicContext, copyCartographicContext, getCartographicContext, getReferenceSystem, getUnit, setCartographicContext, setCartographicContext, setCartographicContext, setCartographicContext, setCartographicContext, toCartographicUnits
public static final java.lang.String COMPLEXLABELCLASS_PERSISTENCE_DEFINITION_NAME
public double getMinScale()
public void setMinScale(double minScale)
public double getMaxScale()
public void setMaxScale(double maxScale)
public boolean isVisible()
LabelClass
isVisible
in interface ILabelClass
isVisible
in class LabelClass
public boolean isVisible(double scale)
LabelClass
isVisible
in interface ILabelClass
isVisible
in class LabelClass
public void loadFromState(PersistentState state) throws PersistenceException
Persistent
loadFromState
in interface Persistent
loadFromState
in class LabelClass
PersistenceException
public void saveToState(PersistentState state) throws PersistenceException
Persistent
saveToState
in interface Persistent
saveToState
in class LabelClass
PersistenceException
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
Cloneable
clone
in class LabelClass
java.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()}.