Package org.gvsig.complexlabel.impl
Class DefaultComplexLabelClass
java.lang.Object
org.gvsig.symbology.fmap.mapcontext.rendering.symbol.impl.AbstractCartographicSupport
org.gvsig.symbology.fmap.mapcontext.rendering.legend.styling.LabelClass
org.gvsig.complexlabel.impl.DefaultComplexLabelClass
- All Implemented Interfaces:
Cloneable,org.gvsig.fmap.mapcontext.rendering.legend.styling.ILabelClass,org.gvsig.fmap.mapcontext.rendering.symbols.CartographicSupport,org.gvsig.tools.lang.Cloneable,org.gvsig.tools.persistence.Persistent
public class DefaultComplexLabelClass
extends org.gvsig.symbology.fmap.mapcontext.rendering.legend.styling.LabelClass
implements org.gvsig.tools.persistence.Persistent
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.gvsig.fmap.mapcontext.rendering.symbols.CartographicSupport
org.gvsig.fmap.mapcontext.rendering.symbols.CartographicSupport.CartographicContext -
Field Summary
FieldsFields inherited from interface org.gvsig.fmap.mapcontext.rendering.symbols.CartographicSupport
PAPER, WORLD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()doubledoublebooleanbooleanisVisible(double scale) voidloadFromState(org.gvsig.tools.persistence.PersistentState state) voidsaveToState(org.gvsig.tools.persistence.PersistentState state) voidsetMaxScale(double maxScale) voidsetMinScale(double minScale) Methods inherited from class org.gvsig.symbology.fmap.mapcontext.rendering.legend.styling.LabelClass
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, toStringMethods inherited from class org.gvsig.symbology.fmap.mapcontext.rendering.symbol.impl.AbstractCartographicSupport
copyCartographicContext, getCartographicContext, getReferenceSystem, getUnit, isInPixels, setCartographicContext, setCartographicContext, setCartographicContext, setCartographicContext, setCartographicContext, toCartographicUnitsMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.gvsig.fmap.mapcontext.rendering.symbols.CartographicSupport
copyCartographicContext, getCartographicContext, getReferenceSystem, getUnit, setCartographicContext, setCartographicContext, setCartographicContext, setCartographicContext, setCartographicContext, toCartographicUnits
-
Field Details
-
COMPLEXLABELCLASS_PERSISTENCE_DEFINITION_NAME
- See Also:
-
-
Constructor Details
-
DefaultComplexLabelClass
public DefaultComplexLabelClass()
-
-
Method Details
-
getMinScale
public double getMinScale() -
setMinScale
public void setMinScale(double minScale) -
getMaxScale
public double getMaxScale() -
setMaxScale
public void setMaxScale(double maxScale) -
isVisible
public boolean isVisible()- Specified by:
isVisiblein interfaceorg.gvsig.fmap.mapcontext.rendering.legend.styling.ILabelClass- Overrides:
isVisiblein classorg.gvsig.symbology.fmap.mapcontext.rendering.legend.styling.LabelClass
-
isVisible
public boolean isVisible(double scale) - Specified by:
isVisiblein interfaceorg.gvsig.fmap.mapcontext.rendering.legend.styling.ILabelClass- Overrides:
isVisiblein classorg.gvsig.symbology.fmap.mapcontext.rendering.legend.styling.LabelClass
-
loadFromState
public void loadFromState(org.gvsig.tools.persistence.PersistentState state) throws org.gvsig.tools.persistence.exception.PersistenceException - Specified by:
loadFromStatein interfaceorg.gvsig.tools.persistence.Persistent- Overrides:
loadFromStatein classorg.gvsig.symbology.fmap.mapcontext.rendering.legend.styling.LabelClass- Throws:
org.gvsig.tools.persistence.exception.PersistenceException
-
saveToState
public void saveToState(org.gvsig.tools.persistence.PersistentState state) throws org.gvsig.tools.persistence.exception.PersistenceException - Specified by:
saveToStatein interfaceorg.gvsig.tools.persistence.Persistent- Overrides:
saveToStatein classorg.gvsig.symbology.fmap.mapcontext.rendering.legend.styling.LabelClass- Throws:
org.gvsig.tools.persistence.exception.PersistenceException
-
clone
- Specified by:
clonein interfaceorg.gvsig.tools.lang.Cloneable- Overrides:
clonein classorg.gvsig.symbology.fmap.mapcontext.rendering.legend.styling.LabelClass- Throws:
CloneNotSupportedException
-