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.RegisterPersistence

    Nested 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_NAME

    Fields inherited from class org.gvsig.symbology.fmap.mapcontext.rendering.symbol.impl.AbstractSymbol

    SYMBOL_PERSISTENCE_DEFINITION_NAME

    Fields inherited from interface org.gvsig.fmap.mapcontext.rendering.symbols.CartographicSupport

    PAPER, WORLD

    Fields 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_STYLE

    Fields inherited from interface org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol

    SELECTION_COLOR
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addLayer(org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol is)
     
    void
    addLayer(org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol is, int i)
     
     
    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)
     
    org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol
    getLayer(int i)
     
    int
     
    org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol[]
     
    org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol
    getSymbolForSelection(Color selectionColor)
     
    double
     
    boolean
    removeLayer(org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol is)
     
    void
    setCartographicContext(org.gvsig.fmap.mapcontext.rendering.symbols.CartographicSupport.CartographicContext ctx)
     
    void
    setLayer(int i, org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol is)
     
    void
    setTransparency(double d)
     
    void
    swapLayers(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, setSizeExpression

    Methods 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, setIsShapeVisible

    Methods inherited from class org.gvsig.symbology.fmap.mapcontext.rendering.symbol.impl.AbstractCartographicSupport

    copyCartographicContext, getCartographicContext, getReferenceSystem, getUnit, isInPixels, setCartographicContext, setCartographicContext, setCartographicContext, setCartographicContext, setReferenceSystem, setUnit, toCartographicUnits

    Methods inherited from class java.lang.Object

    finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.gvsig.fmap.mapcontext.rendering.symbols.CartographicSupport

    copyCartographicContext, getCartographicContext, getReferenceSystem, getUnit, setCartographicContext, setCartographicContext, setCartographicContext, setCartographicContext, setReferenceSystem, setUnit, toCartographicUnits

    Methods inherited from interface org.gvsig.symbology.fmap.mapcontext.rendering.symbol.marker.IMarkerSymbol

    getColor, getMask, getOffset, getRotation, getSize, setAlpha, setColor, setMask, setOffset, setRotation, setSize

    Methods inherited from interface org.gvsig.fmap.mapcontext.rendering.symbols.IPrintable

    print

    Methods inherited from interface org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol

    draw, drawInsideRectangle, getDescription, getFeature, getID, getSymbolForSelection, getSymbolType, isShapeVisible, isSuitableFor, setDescription, setFeature, setID

    Methods 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:
      draw in interface org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol
    • getSymbolForSelection

      public org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol getSymbolForSelection(Color selectionColor)
      Specified by:
      getSymbolForSelection in interface org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol
      Overrides:
      getSymbolForSelection in class org.gvsig.symbology.fmap.mapcontext.rendering.symbol.impl.AbstractSymbol
    • clone

      public Object clone() throws CloneNotSupportedException
      Specified by:
      clone in interface org.gvsig.tools.lang.Cloneable
      Overrides:
      clone in class org.gvsig.symbology.fmap.mapcontext.rendering.symbol.marker.impl.AbstractMarkerSymbol
      Throws:
      CloneNotSupportedException
    • setTransparency

      public void setTransparency(double d)
      Specified by:
      setTransparency in interface org.gvsig.tools.swing.api.TransparencySupport
    • getTransparency

      public double getTransparency()
      Specified by:
      getTransparency in interface org.gvsig.tools.swing.api.TransparencySupport
    • setLayer

      public void setLayer(int i, org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol is) throws IndexOutOfBoundsException
      Specified by:
      setLayer in interface org.gvsig.fmap.mapcontext.rendering.symbols.IMultiLayerSymbol
      Throws:
      IndexOutOfBoundsException
    • swapLayers

      public void swapLayers(int i, int i1)
      Specified by:
      swapLayers in interface org.gvsig.fmap.mapcontext.rendering.symbols.IMultiLayerSymbol
    • getLayer

      public org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol getLayer(int i)
      Specified by:
      getLayer in interface org.gvsig.fmap.mapcontext.rendering.symbols.IMultiLayerSymbol
    • getLayerCount

      public int getLayerCount()
      Specified by:
      getLayerCount in interface org.gvsig.fmap.mapcontext.rendering.symbols.IMultiLayerSymbol
    • addLayer

      public void addLayer(org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol is)
      Specified by:
      addLayer in interface org.gvsig.fmap.mapcontext.rendering.symbols.IMultiLayerSymbol
    • addLayer

      public void addLayer(org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol is, int i) throws IndexOutOfBoundsException
      Specified by:
      addLayer in interface org.gvsig.fmap.mapcontext.rendering.symbols.IMultiLayerSymbol
      Throws:
      IndexOutOfBoundsException
    • removeLayer

      public boolean removeLayer(org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol is)
      Specified by:
      removeLayer in interface org.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:
      setCartographicContext in interface org.gvsig.fmap.mapcontext.rendering.symbols.CartographicSupport
      Overrides:
      setCartographicContext in class org.gvsig.symbology.fmap.mapcontext.rendering.symbol.impl.AbstractCartographicSupport