Interface IVectorialIntervalLegend
- All Superinterfaces:
Cloneable,org.gvsig.tools.lang.Cloneable,DrawingObservable,IClassifiedLegend,IClassifiedVectorLegend,ILegend,IVectorLegend,Legend,org.gvsig.tools.persistence.Persistent
Interface that allows the methods to classify the legend through intervals.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncalculateIntervals(org.gvsig.fmap.dal.feature.FeatureStore featureStore, String selectedItem, int intervalCount, int shapeType) createSymbols(IInterval[] intervals) Returns the final colorintReturns the initial color.Returns the symbol starting from an intervalvoidEstablishes the default symbol of a legend.voidsetEndColor(Color endColor) Inserts the final color.voidsetIntervals(IInterval[] intervals) voidsetIntervalType(int tipoClasificacion) Inserts the type of the classification of the intervals.voidsetStartColor(Color startColor) Inserts the initial colorMethods 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.IClassifiedLegend
getDescriptions, getSymbols, getValuesMethods inherited from interface org.gvsig.fmap.mapcontext.rendering.legend.IClassifiedVectorLegend
addSymbol, clear, delSymbol, getClassifyingFieldNames, getClassifyingFieldTypes, replace, setClassifyingFieldNames, setClassifyingFieldTypesMethods 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, getDefaultSymbol, getShapeType, getSymbolByFeature, isSuitableForShapeType, isUseDefaultSymbol, print, print, setShapeType, useDefaultSymbolMethods inherited from interface org.gvsig.tools.persistence.Persistent
loadFromState, saveToState
-
Field Details
-
LEGEND_NAME
- See Also:
-
-
Method Details
-
setDefaultSymbol
Description copied from interface:IVectorLegendEstablishes the default symbol of a legend. In a SingleSymbolLegend the symbol is established by calling this method.- Specified by:
setDefaultSymbolin interfaceIVectorLegend- Parameters:
s- default symbol.
-
getInterval
-
getIntervalType
int getIntervalType() -
getSymbolByInterval
Returns the symbol starting from an interval- Parameters:
key- interval.- Returns:
- symbol.
-
setIntervalType
void setIntervalType(int tipoClasificacion) Inserts the type of the classification of the intervals.- Parameters:
tipoClasificacion- type of the classification.
-
setStartColor
Inserts the initial color- Parameters:
startColor- initial color.
-
setEndColor
Inserts the final color.- Parameters:
endColor- final color.
-
getStartColor
Color getStartColor()Returns the initial color.- Returns:
- Color initial color.
-
getEndColor
Color getEndColor()Returns the final color- Returns:
- Color final color.
-
calculateIntervals
IInterval[] calculateIntervals(org.gvsig.fmap.dal.feature.FeatureStore featureStore, String selectedItem, int intervalCount, int shapeType) throws org.gvsig.fmap.dal.exception.DataException - Throws:
org.gvsig.fmap.dal.exception.DataException
-
setIntervals
-
createSymbols
-