Class DefaultPictureMarkerSymbolTableLegend
java.lang.Object
org.gvsig.symbology.fmap.mapcontext.rendering.legend.impl.AbstractLegend
org.gvsig.symbology.fmap.mapcontext.rendering.legend.impl.AbstractVectorialLegend
org.gvsig.legend.picturemarkersymboltable.lib.impl.DefaultPictureMarkerSymbolTableLegend
- All Implemented Interfaces:
Cloneable,org.gvsig.fmap.mapcontext.rendering.legend.DrawingObservable,org.gvsig.fmap.mapcontext.rendering.legend.IClassifiedLegend,org.gvsig.fmap.mapcontext.rendering.legend.ILegend,org.gvsig.fmap.mapcontext.rendering.legend.IVectorLegend,org.gvsig.fmap.mapcontext.rendering.legend.Legend,PictureMarkerSymbolTableLegend,org.gvsig.tools.lang.Cloneable,org.gvsig.tools.persistence.Persistent
@SupportedSourceVersion(RELEASE_8)
public class DefaultPictureMarkerSymbolTableLegend
extends org.gvsig.symbology.fmap.mapcontext.rendering.legend.impl.AbstractVectorialLegend
implements PictureMarkerSymbolTableLegend
-
Nested Class Summary
Nested classes/interfaces inherited from class org.gvsig.symbology.fmap.mapcontext.rendering.legend.impl.AbstractVectorialLegend
org.gvsig.symbology.fmap.mapcontext.rendering.legend.impl.AbstractVectorialLegend.RegisterPersistence -
Field Summary
Fields inherited from class org.gvsig.symbology.fmap.mapcontext.rendering.legend.impl.AbstractVectorialLegend
LOG, VECTORIAL_LEGEND_PERSISTENCE_DEFINITION_NAME, zSortFields inherited from class org.gvsig.symbology.fmap.mapcontext.rendering.legend.impl.AbstractLegend
LEGEND_PERSISTENCE_DEFINITION_NAMEFields inherited from interface org.gvsig.legend.picturemarkersymboltable.lib.api.PictureMarkerSymbolTableLegend
DEFAULT_IMAGE_SIZE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.gvsig.fmap.mapcontext.rendering.symbols.ISymbolString[]doubleprotected String[]getRequiredFeatureAttributeNames(org.gvsig.fmap.dal.feature.FeatureStore fs) doublegetScale()intorg.gvsig.fmap.mapcontext.rendering.symbols.ISymbolgetSymbolByFeature(org.gvsig.fmap.dal.feature.Feature feature) org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol[]intgetUnits()Object[]booleanbooleanbooleanisSuitableForShapeType(int shapeType) booleanvoidloadFromState(org.gvsig.tools.persistence.PersistentState state) voidsaveToState(org.gvsig.tools.persistence.PersistentState state) voidsetClassifyingFieldName(String classifyingFieldName) voidsetDefaultLineToOffsetColor(Color color) voidsetDefaultSymbol(org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol is) voidsetDrawLineToOffset(boolean drawLineToOffset) voidsetImageFieldName(String imageFieldName) voidsetImageSelectedFieldName(String imageSelectedFieldName) voidsetImageSize(double size) voidsetImagesTableClassifyingFieldName(String imagesTableClassifyingFieldName) voidsetImagesTableName(String imagesTableName) voidsetLineToOffsetColorFieldName(String fieldName) voidsetOffsetXFieldName(String fieldName) voidsetOffsetYFieldName(String fieldName) voidsetReverseDirectionOfAngle(boolean reverse) voidsetRotationFieldName(String fieldName) voidsetScale(double scale) voidsetShapeType(int i) voidsetUnits(int units) voiduseDefaultSymbol(boolean bln) Methods inherited from class org.gvsig.symbology.fmap.mapcontext.rendering.legend.impl.AbstractVectorialLegend
clone, draw, draw, draw, drawFeatures, getZSort, internalDraw, isDrawSymbolInEeachPrimitive, print, print, setDrawSymbolInEeachPrimitive, setZSortMethods inherited from class org.gvsig.symbology.fmap.mapcontext.rendering.legend.impl.AbstractLegend
addDrawingObserver, addLegendListener, addObserver, beginComplexNotification, cloneLegend, countObservers, deleteDrawingObserver, deleteDrawingObservers, deleteObserver, disableNotifications, enableNotifications, endComplexNotification, fireDefaultSymbolChangedEvent, getListeners, getManager, getSymbolManager, inComplex, isEnabledNotifications, notifyObservers, notifyObservers, removeLegendListenerMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.gvsig.tools.lang.Cloneable
cloneMethods inherited from interface org.gvsig.fmap.mapcontext.rendering.legend.DrawingObservable
addDrawingObserver, deleteDrawingObserver, deleteDrawingObserversMethods inherited from interface org.gvsig.fmap.mapcontext.rendering.legend.ILegend
addLegendListener, cloneLegend, fireDefaultSymbolChangedEvent, getListeners, removeLegendListenerMethods inherited from interface org.gvsig.fmap.mapcontext.rendering.legend.IVectorLegend
draw, draw, print, print
-
Constructor Details
-
DefaultPictureMarkerSymbolTableLegend
public DefaultPictureMarkerSymbolTableLegend()
-
-
Method Details
-
getDefaultSymbol
public org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol getDefaultSymbol()- Specified by:
getDefaultSymbolin interfaceorg.gvsig.fmap.mapcontext.rendering.legend.ILegend- Specified by:
getDefaultSymbolin interfaceorg.gvsig.fmap.mapcontext.rendering.legend.IVectorLegend
-
setDefaultSymbol
public void setDefaultSymbol(org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol is) - Specified by:
setDefaultSymbolin interfaceorg.gvsig.fmap.mapcontext.rendering.legend.IVectorLegend
-
getSymbolByFeature
public org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol getSymbolByFeature(org.gvsig.fmap.dal.feature.Feature feature) throws org.gvsig.fmap.mapcontext.MapContextException - Specified by:
getSymbolByFeaturein interfaceorg.gvsig.fmap.mapcontext.rendering.legend.IVectorLegend- Throws:
org.gvsig.fmap.mapcontext.MapContextException
-
getShapeType
public int getShapeType()- Specified by:
getShapeTypein interfaceorg.gvsig.fmap.mapcontext.rendering.legend.IVectorLegend
-
setShapeType
public void setShapeType(int i) - Specified by:
setShapeTypein interfaceorg.gvsig.fmap.mapcontext.rendering.legend.IVectorLegend
-
isUseDefaultSymbol
public boolean isUseDefaultSymbol()- Specified by:
isUseDefaultSymbolin interfaceorg.gvsig.fmap.mapcontext.rendering.legend.IVectorLegend
-
useDefaultSymbol
public void useDefaultSymbol(boolean bln) - Specified by:
useDefaultSymbolin interfaceorg.gvsig.fmap.mapcontext.rendering.legend.IVectorLegend
-
isSuitableForShapeType
public boolean isSuitableForShapeType(int shapeType) - Specified by:
isSuitableForShapeTypein interfaceorg.gvsig.fmap.mapcontext.rendering.legend.IVectorLegend
-
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.impl.AbstractVectorialLegend- 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.impl.AbstractVectorialLegend- Throws:
org.gvsig.tools.persistence.exception.PersistenceException
-
getRequiredFeatureAttributeNames
protected String[] getRequiredFeatureAttributeNames(org.gvsig.fmap.dal.feature.FeatureStore fs) throws org.gvsig.fmap.dal.exception.DataException - Specified by:
getRequiredFeatureAttributeNamesin classorg.gvsig.symbology.fmap.mapcontext.rendering.legend.impl.AbstractVectorialLegend- Throws:
org.gvsig.fmap.dal.exception.DataException
-
getDefaultLineToOffsetColor
- Specified by:
getDefaultLineToOffsetColorin interfacePictureMarkerSymbolTableLegend
-
setDefaultLineToOffsetColor
- Specified by:
setDefaultLineToOffsetColorin interfacePictureMarkerSymbolTableLegend
-
isDrawLineToOffset
public boolean isDrawLineToOffset()- Specified by:
isDrawLineToOffsetin interfacePictureMarkerSymbolTableLegend
-
setDrawLineToOffset
public void setDrawLineToOffset(boolean drawLineToOffset) - Specified by:
setDrawLineToOffsetin interfacePictureMarkerSymbolTableLegend
-
getImageSize
public double getImageSize()- Specified by:
getImageSizein interfacePictureMarkerSymbolTableLegend
-
setImageSize
public void setImageSize(double size) - Specified by:
setImageSizein interfacePictureMarkerSymbolTableLegend
-
getLineToOffsetColorFieldName
- Specified by:
getLineToOffsetColorFieldNamein interfacePictureMarkerSymbolTableLegend
-
setLineToOffsetColorFieldName
- Specified by:
setLineToOffsetColorFieldNamein interfacePictureMarkerSymbolTableLegend
-
getOffsetXFieldName
- Specified by:
getOffsetXFieldNamein interfacePictureMarkerSymbolTableLegend
-
setOffsetXFieldName
- Specified by:
setOffsetXFieldNamein interfacePictureMarkerSymbolTableLegend
-
getOffsetYFieldName
- Specified by:
getOffsetYFieldNamein interfacePictureMarkerSymbolTableLegend
-
setOffsetYFieldName
- Specified by:
setOffsetYFieldNamein interfacePictureMarkerSymbolTableLegend
-
getRotationFieldName
- Specified by:
getRotationFieldNamein interfacePictureMarkerSymbolTableLegend
-
setRotationFieldName
- Specified by:
setRotationFieldNamein interfacePictureMarkerSymbolTableLegend
-
getImagesTableName
- Specified by:
getImagesTableNamein interfacePictureMarkerSymbolTableLegend
-
setImagesTableName
- Specified by:
setImagesTableNamein interfacePictureMarkerSymbolTableLegend
-
getImageFieldName
- Specified by:
getImageFieldNamein interfacePictureMarkerSymbolTableLegend
-
setImageFieldName
- Specified by:
setImageFieldNamein interfacePictureMarkerSymbolTableLegend
-
getClassifyingFieldName
- Specified by:
getClassifyingFieldNamein interfacePictureMarkerSymbolTableLegend
-
setClassifyingFieldName
- Specified by:
setClassifyingFieldNamein interfacePictureMarkerSymbolTableLegend
-
getImageSelectedFieldName
- Specified by:
getImageSelectedFieldNamein interfacePictureMarkerSymbolTableLegend
-
setImageSelectedFieldName
- Specified by:
setImageSelectedFieldNamein interfacePictureMarkerSymbolTableLegend
-
getImagesTableClassifyingFieldName
- Specified by:
getImagesTableClassifyingFieldNamein interfacePictureMarkerSymbolTableLegend
-
setImagesTableClassifyingFieldName
- Specified by:
setImagesTableClassifyingFieldNamein interfacePictureMarkerSymbolTableLegend
-
getDescriptions
- Specified by:
getDescriptionsin interfaceorg.gvsig.fmap.mapcontext.rendering.legend.IClassifiedLegend
-
getSymbols
public org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol[] getSymbols()- Specified by:
getSymbolsin interfaceorg.gvsig.fmap.mapcontext.rendering.legend.IClassifiedLegend
-
getValues
- Specified by:
getValuesin interfaceorg.gvsig.fmap.mapcontext.rendering.legend.IClassifiedLegend
-
getUnits
public int getUnits()- Specified by:
getUnitsin interfacePictureMarkerSymbolTableLegend
-
setUnits
public void setUnits(int units) - Specified by:
setUnitsin interfacePictureMarkerSymbolTableLegend
-
getScale
public double getScale()- Specified by:
getScalein interfacePictureMarkerSymbolTableLegend
-
setScale
public void setScale(double scale) - Specified by:
setScalein interfacePictureMarkerSymbolTableLegend
-
setReverseDirectionOfAngle
public void setReverseDirectionOfAngle(boolean reverse) - Specified by:
setReverseDirectionOfAnglein interfacePictureMarkerSymbolTableLegend
-
isReverseDirectionOfAngle
public boolean isReverseDirectionOfAngle()- Specified by:
isReverseDirectionOfAnglein interfacePictureMarkerSymbolTableLegend
-