Class AbstractStyle
java.lang.Object
org.gvsig.symbology.fmap.mapcontext.rendering.symbol.impl.AbstractCartographicSupport
org.gvsig.symbology.fmap.mapcontext.rendering.symbol.style.AbstractStyle
- All Implemented Interfaces:
Cloneable,org.gvsig.fmap.mapcontext.rendering.symbols.CartographicSupport,org.gvsig.fmap.mapcontext.rendering.symbols.styles.IStyle,org.gvsig.tools.lang.Cloneable,org.gvsig.tools.persistence.Persistent
- Direct Known Subclasses:
ArrowDecoratorStyle,BackgroundFileStyle,DefaultMask,SimpleLabelStyle,SimpleLineStyle,SimpleMarkerFillPropertiesStyle
public abstract class AbstractStyle
extends org.gvsig.symbology.fmap.mapcontext.rendering.symbol.impl.AbstractCartographicSupport
implements org.gvsig.fmap.mapcontext.rendering.symbols.styles.IStyle
Implements the IStyle interface in order to complete the methods ot the
IStyle interface that allow the users to add the description of an object or
obtain it.
- Author:
- gvSIG team
-
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()final StringvoidloadFromState(org.gvsig.tools.persistence.PersistentState state) voidsaveToState(org.gvsig.tools.persistence.PersistentState state) final voidsetDescription(String desc) Methods inherited from class org.gvsig.symbology.fmap.mapcontext.rendering.symbol.impl.AbstractCartographicSupport
copyCartographicContext, getCartographicContext, getReferenceSystem, getUnit, isInPixels, setCartographicContext, setCartographicContext, setCartographicContext, setCartographicContext, setCartographicContext, setReferenceSystem, setUnit, toCartographicUnitsMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.gvsig.fmap.mapcontext.rendering.symbols.styles.IStyle
drawInsideRectangle, drawOutline, isSuitableFor
-
Field Details
-
LOGGER
protected static final org.slf4j.Logger LOGGER -
STYLE_PERSISTENCE_DEFINITION_NAME
- See Also:
-
-
Constructor Details
-
AbstractStyle
public AbstractStyle()
-
-
Method Details
-
setDescription
- Specified by:
setDescriptionin interfaceorg.gvsig.fmap.mapcontext.rendering.symbols.styles.IStyle
-
getDescription
- Specified by:
getDescriptionin interfaceorg.gvsig.fmap.mapcontext.rendering.symbols.styles.IStyle
-
clone
- Specified by:
clonein interfaceorg.gvsig.tools.lang.Cloneable- Overrides:
clonein classObject- Throws:
CloneNotSupportedException
-
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- 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- Throws:
org.gvsig.tools.persistence.exception.PersistenceException
-