public interface IVectorialIntervalLegend extends IClassifiedVectorLegend
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
LEGEND_NAME |
Modifier and Type | Method and Description |
---|---|
IInterval[] |
calculateIntervals(FeatureStore featureStore,
java.lang.String selectedItem,
int intervalCount,
int shapeType) |
java.util.Map<IInterval,ISymbol> |
createSymbols(IInterval[] intervals) |
java.awt.Color |
getEndColor()
Returns the final color
|
IInterval |
getInterval(java.lang.Object v) |
int |
getIntervalType() |
java.awt.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(java.awt.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(java.awt.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
clone, cloneQuietly, cloneQuietly
addDrawingObserver, deleteDrawingObserver, deleteDrawingObservers
static final java.lang.String LEGEND_NAME
void setDefaultSymbol(ISymbol s)
IVectorLegend
setDefaultSymbol
in interface IVectorLegend
s
- default symbol.IInterval getInterval(java.lang.Object v)
int getIntervalType()
ISymbol getSymbolByInterval(IInterval key)
key
- interval.void setIntervalType(int tipoClasificacion)
tipoClasificacion
- type of the classification.void setStartColor(java.awt.Color startColor)
startColor
- initial color.void setEndColor(java.awt.Color endColor)
endColor
- final color.java.awt.Color getStartColor()
java.awt.Color getEndColor()
IInterval[] calculateIntervals(FeatureStore featureStore, java.lang.String selectedItem, int intervalCount, int shapeType) throws DataException
DataException
void setIntervals(IInterval[] intervals)