public abstract class AbstractRecodedLegend<U extends SymbolParameters> extends MappedLegend<String,U> implements RecodedLegendStructure
Methods provided here will rely on the visitor pattern implemented in RecodedLegend instances as much as possible.
MappedLegend.MappedLegendEntry, MappedLegend.NumComparator| Constructor and Description |
|---|
AbstractRecodedLegend() |
| Modifier and Type | Method and Description |
|---|---|
void |
applyGlobalVisitor(ParameterVisitor pv)
Apply the given visitor to all the Legend that are used in this
MappedLegend. |
void |
applyGlobalVisitor(RecodedParameterVisitor rpv)
Apply the given visitor to all the RecodedLegend that are used in this
AbstractRecodedLegend. |
static Comparator<String> |
getComparator(int type)
Gets a comparator well-suited for the given type
|
String |
getNotUsedKey(String orig)
Search in this recoded legend for a key that is not already used,
based on the
String given in argument. |
clear, containsKey, containsValue, entrySet, equals, getFallbackParameters, getLookupFieldName, isEmpty, keySet, putAll, setComparator, setFallbackParameters, setLookupFieldName, size, valuesgetLegendTypeId, getMaxScale, getMinScale, getName, setMaxScale, setMinScale, setNameclone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRecodedLegendsgetLegendTypeName, getSymbolizergetStrokeUom, setStrokeUompublic void applyGlobalVisitor(ParameterVisitor pv)
MappedLegendMappedLegend.applyGlobalVisitor in class MappedLegend<String,U extends SymbolParameters>pv - The visitor that will be used in each inner MappedLegend.public void applyGlobalVisitor(RecodedParameterVisitor rpv)
AbstractRecodedLegend.rpv - The visitor that will be used in each inner RecodedLegend.public String getNotUsedKey(String orig)
String given in argument.getNotUsedKey in class MappedLegend<String,U extends SymbolParameters>orig - The original Stringpublic static Comparator<String> getComparator(int type)
type - The input type of TypesCopyright © 2015 IRSTV CNRS-FR-2488. All Rights Reserved.