public interface IClassifiedVectorLegend extends IClassifiedLegend, IVectorLegend
Modifier and Type | Method and Description |
---|---|
void |
addSymbol(Object key,
ISymbol symbol)
Inserts a symbol.
|
void |
clear()
Deletes all the information of classification:
intervals, values, or other classifying elements
|
void |
delSymbol(Object key)
Deletes a symbol using for that its key which is the parameter of the
method.
|
String[] |
getClassifyingFieldNames()
Returns the name of the field
|
int[] |
getClassifyingFieldTypes() |
void |
replace(ISymbol oldSymbol,
ISymbol newSymbol)
Removes oldSymbol from the Legend and substitutes it with the newSymbol
|
void |
setClassifyingFieldNames(String[] fieldNames)
Inserts the name of the field
|
void |
setClassifyingFieldTypes(int[] fieldTypes) |
getDescriptions, getSymbols, getValues
draw, draw, getDefaultSymbol, getShapeType, getSymbolByFeature, isSuitableForShapeType, isUseDefaultSymbol, print, print, setDefaultSymbol, setShapeType, useDefaultSymbol
addLegendListener, cloneLegend, fireDefaultSymbolChangedEvent, getListeners, removeLegendListener
loadFromState, saveToState
addDrawingObserver, deleteDrawingObserver, deleteDrawingObservers
void clear()
String[] getClassifyingFieldNames()
void setClassifyingFieldNames(String[] fieldNames)
fieldNames
- Names of the fields.
TODO refactor to allow more than one field namevoid delSymbol(Object key)
key
- clave.void replace(ISymbol oldSymbol, ISymbol newSymbol)
oldSymbol
- newSymbol
- int[] getClassifyingFieldTypes()
void setClassifyingFieldTypes(int[] fieldTypes)