public interface IVectorialIntervalLegend extends IClassifiedVectorLegend
Modifier and Type | Field and Description |
---|---|
static String |
LEGEND_NAME |
Modifier and Type | Method and Description |
---|---|
IInterval[] |
calculateIntervals(FeatureStore featureStore,
String selectedItem,
int intervalCount,
int shapeType) |
Map<IInterval,ISymbol> |
createSymbols(IInterval[] intervals) |
Color |
getEndColor()
Returns the final color
|
IInterval |
getInterval(Object v) |
int |
getIntervalType() |
Color |
getStartColor()
Returns the initial color.
|
ISymbol |
getSymbolByInterval(IInterval key)
Returns the symbol starting from an interval
|
void |
setDefaultSymbol(ISymbol s)
Establishes the default symbol of a legend.
|
void |
setEndColor(Color endColor)
Inserts the final color.
|
void |
setIntervals(IInterval[] intervals) |
void |
setIntervalType(int tipoClasificacion)
Inserts the type of the classification of the intervals.
|
void |
setStartColor(Color startColor)
Inserts the initial color
|
addSymbol, clear, delSymbol, getClassifyingFieldNames, getClassifyingFieldTypes, replace, setClassifyingFieldNames, setClassifyingFieldTypes
getDescriptions, getSymbols, getValues
draw, draw, getDefaultSymbol, getShapeType, getSymbolByFeature, isSuitableForShapeType, isUseDefaultSymbol, print, print, setShapeType, useDefaultSymbol
addLegendListener, cloneLegend, fireDefaultSymbolChangedEvent, getListeners, removeLegendListener
loadFromState, saveToState
addDrawingObserver, deleteDrawingObserver, deleteDrawingObservers
static final String LEGEND_NAME
void setDefaultSymbol(ISymbol s)
IVectorLegend
setDefaultSymbol
in interface IVectorLegend
s
- default symbol.int getIntervalType()
ISymbol getSymbolByInterval(IInterval key)
key
- interval.void setIntervalType(int tipoClasificacion)
tipoClasificacion
- type of the classification.void setStartColor(Color startColor)
startColor
- initial color.void setEndColor(Color endColor)
endColor
- final color.Color getStartColor()
Color getEndColor()
IInterval[] calculateIntervals(FeatureStore featureStore, String selectedItem, int intervalCount, int shapeType) throws DataException
DataException
void setIntervals(IInterval[] intervals)