T - type of object being mappedK - type of key generatedpublic abstract class KeyLabeller<T,K> extends HashLabeller<T,K>
HashLabeller where the labels are generated from the Key value onlyconn| Constructor and Description |
|---|
KeyLabeller(AppContext c) |
| Modifier and Type | Method and Description |
|---|---|
abstract java.lang.Object |
getLabel(K key) |
java.lang.Object |
getLabel(K key,
T o)
generates the label object we could get this either from the key or
the object itself.
|
int |
getSetByKey(K key) |
getKey, getLabels, getPerm, getSet, getSet, nSetsgetContext, getLogger, resetLoggerpublic KeyLabeller(AppContext c)
public abstract java.lang.Object getLabel(K key)
public final java.lang.Object getLabel(K key, T o)
HashLabellergetLabel in class HashLabeller<T,K>key - Key Objecto - Plot Objectpublic final int getSetByKey(K key)