Interface IVectorialUniqueValueLegend
- All Superinterfaces:
Cloneable,org.gvsig.tools.lang.Cloneable,DrawingObservable,IClassifiedLegend,IClassifiedVectorLegend,ILegend,IVectorLegend,Legend,org.gvsig.tools.persistence.Persistent
Interface for the legend with unique values.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionColor[]getSymbolByValue(Object key) Returns the symbols starting from its key.getSymbolKey(ISymbol symbol) Returns the key related to a registeredISymbolor null if it is not registered.getZSort()voidsetColorScheme(Color[] colors) voidsetValueSymbolByID(int id, ISymbol symbol) Establishes the symbol for the value which is the argument of the function.voidMethods 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, setDefaultSymbol, setShapeType, useDefaultSymbolMethods inherited from interface org.gvsig.tools.persistence.Persistent
loadFromState, saveToState
-
Field Details
-
LEGEND_NAME
- See Also:
-
-
Method Details
-
setValueSymbolByID
Establishes the symbol for the value which is the argument of the function.- Parameters:
id- index.symbol- symbol.
-
getSymbolByValue
Returns the symbols starting from its key.- Parameters:
key- ID.- Returns:
- symbol associated with the key.
- Throws:
MapContextException
-
getSymbolKey
Returns the key related to a registeredISymbolor null if it is not registered.- Parameters:
symbol- to look for- Returns:
- the related key
-
getZSort
ZSort getZSort() -
setZSort
-
getColorScheme
Color[] getColorScheme() -
setColorScheme
-