Class ImageMarkerSymbol
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.marker.impl.AbstractMarkerSymbol
org.gvsig.legend.picturemarkersymboltable.lib.impl.ImageMarkerSymbol
- All Implemented Interfaces:
Cloneable,org.gvsig.fmap.mapcontext.rendering.symbols.CartographicSupport,org.gvsig.fmap.mapcontext.rendering.symbols.IMultiLayerSymbol,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.marker.IMarkerSymbol,org.gvsig.symbology.fmap.mapcontext.rendering.symbol.marker.IMarkerSymbol_v2,org.gvsig.tools.lang.Cloneable,org.gvsig.tools.persistence.Persistent,org.gvsig.tools.swing.api.TransparencySupport
public class ImageMarkerSymbol
extends org.gvsig.symbology.fmap.mapcontext.rendering.symbol.marker.impl.AbstractMarkerSymbol
implements org.gvsig.symbology.fmap.mapcontext.rendering.symbol.marker.IMarkerSymbol, org.gvsig.fmap.mapcontext.rendering.symbols.IMultiLayerSymbol, org.gvsig.tools.swing.api.TransparencySupport
- Author:
- gvSIG Team
-
Nested Class Summary
Nested classes/interfaces inherited from class org.gvsig.symbology.fmap.mapcontext.rendering.symbol.marker.impl.AbstractMarkerSymbol
org.gvsig.symbology.fmap.mapcontext.rendering.symbol.marker.impl.AbstractMarkerSymbol.RegisterPersistenceNested classes/interfaces inherited from interface org.gvsig.fmap.mapcontext.rendering.symbols.CartographicSupport
org.gvsig.fmap.mapcontext.rendering.symbols.CartographicSupport.CartographicContext -
Field Summary
Fields inherited from class org.gvsig.symbology.fmap.mapcontext.rendering.symbol.marker.impl.AbstractMarkerSymbol
MARKER_SYMBOL_PERSISTENCE_DEFINITION_NAMEFields inherited from class org.gvsig.symbology.fmap.mapcontext.rendering.symbol.impl.AbstractSymbol
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.marker.IMarkerSymbol
CIRCLE_STYLE, CROSS_STYLE, DIAMOND_STYLE, HORIZONTAL_LINE_STYLE, SQUARE_STYLE, STAR_STYLE, SYMBOL_NAME, TRIANGLE_STYLE, VERTICAL_LINE_STYLE, X_STYLEFields inherited from interface org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol
SELECTION_COLOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddLayer(org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol is) voidaddLayer(org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol is, int i) clone()voiddraw(Graphics2D g, AffineTransform affineTransform, org.gvsig.fmap.geom.Geometry geom, org.gvsig.fmap.dal.feature.Feature f, org.gvsig.tools.task.Cancellable cancel, Rectangle r) org.gvsig.fmap.mapcontext.rendering.symbols.ISymbolgetLayer(int i) intorg.gvsig.fmap.mapcontext.rendering.symbols.ISymbol[]org.gvsig.fmap.mapcontext.rendering.symbols.ISymbolgetSymbolForSelection(Color selectionColor) doublebooleanremoveLayer(org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol is) voidsetCartographicContext(org.gvsig.fmap.mapcontext.rendering.symbols.CartographicSupport.CartographicContext ctx) voidsetLayer(int i, org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol is) voidsetTransparency(double d) voidswapLayers(int i, int i1) Methods inherited from class org.gvsig.symbology.fmap.mapcontext.rendering.symbol.marker.impl.AbstractMarkerSymbol
getAdjustedSize, getCartographicSize, getColor, getEfectiveLineToOffsetColor, getEfectiveOffset, getEfectiveRotationInDegres, getEfectiveRotationInRadians, getEfectiveSize, getLineToOffsetColor, getLineToOffsetColorExpression, getMask, getOffset, getOffsetXExpression, getOffsetYExpression, getPoint, getRotation, getRotationExpression, getRotationInDegrees, getRotationInRadians, getSampleGeometry, getSize, getSizeExpression, getSymbolTable, getSymbolType, isDrawLineToOffset, isSuitableFor, loadFromState, saveToState, setAlpha, setColor, setDrawLineToOffset, setLineToOffsetColor, setLineToOffsetColorExpression, setMask, setOffset, setOffsetXExpression, setOffsetYExpression, setRotation, setRotationExpression, setRotationInDegrees, setRotationInRadians, setSize, setSizeExpressionMethods inherited from class org.gvsig.symbology.fmap.mapcontext.rendering.symbol.impl.AbstractSymbol
cloneForSelection, cloneForSelection, draw, drawInsideRectangle, equals, getDescription, getFeature, getID, getRequiredFeatureAttributeNames, 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, setReferenceSystem, setUnit, 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, setReferenceSystem, setUnit, toCartographicUnitsMethods inherited from interface org.gvsig.symbology.fmap.mapcontext.rendering.symbol.marker.IMarkerSymbol
getColor, getMask, getOffset, getRotation, getSize, setAlpha, setColor, setMask, setOffset, setRotation, setSizeMethods inherited from interface org.gvsig.fmap.mapcontext.rendering.symbols.IPrintable
printMethods inherited from interface org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol
draw, drawInsideRectangle, getDescription, getFeature, getID, getSymbolForSelection, getSymbolType, isShapeVisible, isSuitableFor, setDescription, setFeature, setIDMethods inherited from interface org.gvsig.tools.persistence.Persistent
loadFromState, saveToState
-
Constructor Details
-
ImageMarkerSymbol
public ImageMarkerSymbol()
-
-
Method Details
-
draw
public void draw(Graphics2D g, AffineTransform affineTransform, org.gvsig.fmap.geom.Geometry geom, org.gvsig.fmap.dal.feature.Feature f, org.gvsig.tools.task.Cancellable cancel, Rectangle r) - Specified by:
drawin interfaceorg.gvsig.fmap.mapcontext.rendering.symbols.ISymbol
-
getSymbolForSelection
public org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol getSymbolForSelection(Color selectionColor) - Specified by:
getSymbolForSelectionin interfaceorg.gvsig.fmap.mapcontext.rendering.symbols.ISymbol- Overrides:
getSymbolForSelectionin classorg.gvsig.symbology.fmap.mapcontext.rendering.symbol.impl.AbstractSymbol
-
clone
- Specified by:
clonein interfaceorg.gvsig.tools.lang.Cloneable- Overrides:
clonein classorg.gvsig.symbology.fmap.mapcontext.rendering.symbol.marker.impl.AbstractMarkerSymbol- Throws:
CloneNotSupportedException
-
setTransparency
public void setTransparency(double d) - Specified by:
setTransparencyin interfaceorg.gvsig.tools.swing.api.TransparencySupport
-
getTransparency
public double getTransparency()- Specified by:
getTransparencyin interfaceorg.gvsig.tools.swing.api.TransparencySupport
-
setLayer
public void setLayer(int i, org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol is) throws IndexOutOfBoundsException - Specified by:
setLayerin interfaceorg.gvsig.fmap.mapcontext.rendering.symbols.IMultiLayerSymbol- Throws:
IndexOutOfBoundsException
-
swapLayers
public void swapLayers(int i, int i1) - Specified by:
swapLayersin interfaceorg.gvsig.fmap.mapcontext.rendering.symbols.IMultiLayerSymbol
-
getLayer
public org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol getLayer(int i) - Specified by:
getLayerin interfaceorg.gvsig.fmap.mapcontext.rendering.symbols.IMultiLayerSymbol
-
getLayerCount
public int getLayerCount()- Specified by:
getLayerCountin interfaceorg.gvsig.fmap.mapcontext.rendering.symbols.IMultiLayerSymbol
-
addLayer
public void addLayer(org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol is) - Specified by:
addLayerin interfaceorg.gvsig.fmap.mapcontext.rendering.symbols.IMultiLayerSymbol
-
addLayer
public void addLayer(org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol is, int i) throws IndexOutOfBoundsException - Specified by:
addLayerin interfaceorg.gvsig.fmap.mapcontext.rendering.symbols.IMultiLayerSymbol- Throws:
IndexOutOfBoundsException
-
removeLayer
public boolean removeLayer(org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol is) - Specified by:
removeLayerin interfaceorg.gvsig.fmap.mapcontext.rendering.symbols.IMultiLayerSymbol
-
getLayers
public org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol[] getLayers() -
setCartographicContext
public void setCartographicContext(org.gvsig.fmap.mapcontext.rendering.symbols.CartographicSupport.CartographicContext ctx) - Specified by:
setCartographicContextin interfaceorg.gvsig.fmap.mapcontext.rendering.symbols.CartographicSupport- Overrides:
setCartographicContextin classorg.gvsig.symbology.fmap.mapcontext.rendering.symbol.impl.AbstractCartographicSupport
-