Class AbstractFillSymbol
java.lang.Object
org.gvsig.symbology.fmap.mapcontext.rendering.symbol.impl.AbstractCartographicSupport
org.gvsig.symbology.fmap.mapcontext.rendering.symbol.impl.AbstractSymbol
org.gvsig.symbology.fmap.mapcontext.rendering.symbol.fill.impl.AbstractFillSymbol
- All Implemented Interfaces:
Cloneable,org.gvsig.fmap.mapcontext.rendering.symbols.CartographicSupport,org.gvsig.fmap.mapcontext.rendering.symbols.IPrintable,org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol,org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol_v2,org.gvsig.symbology.fmap.mapcontext.rendering.symbol.fill.IFillSymbol,org.gvsig.tools.lang.Cloneable,org.gvsig.tools.persistence.Persistent
- Direct Known Subclasses:
MarkerFillSymbol,MultiLayerFillSymbol,PictureFillSymbol,SimpleFillSymbol
public abstract class AbstractFillSymbol
extends org.gvsig.symbology.fmap.mapcontext.rendering.symbol.impl.AbstractSymbol
implements org.gvsig.symbology.fmap.mapcontext.rendering.symbol.fill.IFillSymbol
Abstract class that any FILL SYMBOL should extend
- Author:
- 2005-2008 jaume dominguez faus - jaume.dominguez@iver.es, 2009- César Ordiñana - 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 class org.gvsig.symbology.fmap.mapcontext.rendering.symbol.impl.AbstractSymbol
LOGGER, SYMBOL_PERSISTENCE_DEFINITION_NAMEFields inherited from interface org.gvsig.fmap.mapcontext.rendering.symbols.CartographicSupport
PAPER, WORLDFields inherited from interface org.gvsig.symbology.fmap.mapcontext.rendering.symbol.fill.IFillSymbol
SYMBOL_NAMEFields inherited from interface org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol
SELECTION_COLOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()doublegetCartographicSize(org.gvsig.fmap.mapcontext.ViewPort viewPort, double dpi, org.gvsig.fmap.geom.Geometry geom) getColor()intorg.gvsig.symbology.fmap.mapcontext.rendering.symbol.line.ILineSymbolprotected org.gvsig.fmap.geom.GeometrybooleanhasFill()booleanbooleanisSuitableFor(org.gvsig.fmap.geom.Geometry geom) voidloadFromState(org.gvsig.tools.persistence.PersistentState state) voidsaveToState(org.gvsig.tools.persistence.PersistentState state) voidsetCartographicSize(double cartographicSize, org.gvsig.fmap.geom.Geometry geom) voidvoidsetFillColor(Color color) voidsetHasFill(boolean hasFill) voidsetHasOutline(boolean hasOutline) voidsetOutline(org.gvsig.symbology.fmap.mapcontext.rendering.symbol.line.ILineSymbol outline) voidsetUnit(int unitIndex) doubletoCartographicSize(org.gvsig.fmap.mapcontext.ViewPort viewPort, double dpi, org.gvsig.fmap.geom.Geometry geom) Methods inherited from class org.gvsig.symbology.fmap.mapcontext.rendering.symbol.impl.AbstractSymbol
cloneForSelection, cloneForSelection, draw, drawInsideRectangle, equals, getDescription, getFeature, getID, getRequiredFeatureAttributeNames, getSymbolForSelection, getSymbolForSelection, isShapeVisible, print, setDescription, setFeature, setID, setIsShapeVisibleMethods inherited from class org.gvsig.symbology.fmap.mapcontext.rendering.symbol.impl.AbstractCartographicSupport
copyCartographicContext, getCartographicContext, getReferenceSystem, getUnit, isInPixels, setCartographicContext, setCartographicContext, setCartographicContext, setCartographicContext, setCartographicContext, setReferenceSystem, toCartographicUnitsMethods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.gvsig.fmap.mapcontext.rendering.symbols.CartographicSupport
copyCartographicContext, getCartographicContext, getReferenceSystem, getUnit, setCartographicContext, setCartographicContext, setCartographicContext, setCartographicContext, setCartographicContext, setReferenceSystem, toCartographicUnitsMethods inherited from interface org.gvsig.fmap.mapcontext.rendering.symbols.IPrintable
printMethods inherited from interface org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol
draw, draw, drawInsideRectangle, getDescription, getFeature, getID, getSymbolForSelection, getSymbolForSelection, getSymbolType, isShapeVisible, setDescription, setFeature, setID
-
Field Details
-
FILL_SYMBOL_PERSISTENCE_DEFINITION_NAME
- See Also:
-
-
Constructor Details
-
AbstractFillSymbol
public AbstractFillSymbol()
-
-
Method Details
-
isSuitableFor
public boolean isSuitableFor(org.gvsig.fmap.geom.Geometry geom) - Specified by:
isSuitableForin interfaceorg.gvsig.symbology.fmap.mapcontext.rendering.symbol.fill.IFillSymbol- Specified by:
isSuitableForin interfaceorg.gvsig.fmap.mapcontext.rendering.symbols.ISymbol
-
setFillColor
- Specified by:
setFillColorin interfaceorg.gvsig.symbology.fmap.mapcontext.rendering.symbol.fill.IFillSymbol
-
setOutline
public void setOutline(org.gvsig.symbology.fmap.mapcontext.rendering.symbol.line.ILineSymbol outline) - Specified by:
setOutlinein interfaceorg.gvsig.symbology.fmap.mapcontext.rendering.symbol.fill.IFillSymbol
-
getFillColor
- Specified by:
getFillColorin interfaceorg.gvsig.symbology.fmap.mapcontext.rendering.symbol.fill.IFillSymbol
-
getOutline
public org.gvsig.symbology.fmap.mapcontext.rendering.symbol.line.ILineSymbol getOutline()- Specified by:
getOutlinein interfaceorg.gvsig.symbology.fmap.mapcontext.rendering.symbol.fill.IFillSymbol
-
getFillAlpha
public int getFillAlpha()- Specified by:
getFillAlphain interfaceorg.gvsig.symbology.fmap.mapcontext.rendering.symbol.fill.IFillSymbol
-
setCartographicSize
public void setCartographicSize(double cartographicSize, org.gvsig.fmap.geom.Geometry geom) -
toCartographicSize
public double toCartographicSize(org.gvsig.fmap.mapcontext.ViewPort viewPort, double dpi, org.gvsig.fmap.geom.Geometry geom) -
hasFill
public boolean hasFill()- Specified by:
hasFillin interfaceorg.gvsig.symbology.fmap.mapcontext.rendering.symbol.fill.IFillSymbol
-
setHasFill
public void setHasFill(boolean hasFill) - Specified by:
setHasFillin interfaceorg.gvsig.symbology.fmap.mapcontext.rendering.symbol.fill.IFillSymbol
-
hasOutline
public boolean hasOutline()- Specified by:
hasOutlinein interfaceorg.gvsig.symbology.fmap.mapcontext.rendering.symbol.fill.IFillSymbol
-
setHasOutline
public void setHasOutline(boolean hasOutline) - Specified by:
setHasOutlinein interfaceorg.gvsig.symbology.fmap.mapcontext.rendering.symbol.fill.IFillSymbol
-
getCartographicSize
public double getCartographicSize(org.gvsig.fmap.mapcontext.ViewPort viewPort, double dpi, org.gvsig.fmap.geom.Geometry geom) -
setUnit
public void setUnit(int unitIndex) - Specified by:
setUnitin interfaceorg.gvsig.fmap.mapcontext.rendering.symbols.CartographicSupport- Overrides:
setUnitin classorg.gvsig.symbology.fmap.mapcontext.rendering.symbol.impl.AbstractCartographicSupport
-
getColor
- Specified by:
getColorin interfaceorg.gvsig.fmap.mapcontext.rendering.symbols.ISymbol
-
setColor
- Specified by:
setColorin interfaceorg.gvsig.fmap.mapcontext.rendering.symbols.ISymbol
-
clone
- Specified by:
clonein interfaceorg.gvsig.tools.lang.Cloneable- Overrides:
clonein classorg.gvsig.symbology.fmap.mapcontext.rendering.symbol.impl.AbstractSymbol- 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- Overrides:
loadFromStatein classorg.gvsig.symbology.fmap.mapcontext.rendering.symbol.impl.AbstractSymbol- 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.symbol.impl.AbstractSymbol- Throws:
org.gvsig.tools.persistence.exception.PersistenceException
-
getSampleGeometry
-