Interface FixedLabelTickGenerator
-
- All Superinterfaces:
Destroyable
,OptionHandler
,ShallowCopySupporter<TickGenerator>
,TickGenerator
- All Known Implementing Classes:
SimpleFixedLabelTickGenerator
public interface FixedLabelTickGenerator extends TickGenerator
Interface for tick generators that use a fixed list of string labels.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<String>
getLabels()
Returns the list of labels in use.void
setLabels(List<String> value)
Sets the list of labels to use.String
valueToDisplayLabel(double value)
Returns the label associated with the value.-
Methods inherited from interface adams.core.Destroyable
destroy
-
Methods inherited from interface adams.core.option.OptionHandler
cleanUpOptions, defineOptions, getOptionManager, toCommandLine
-
Methods inherited from interface adams.core.ShallowCopySupporter
shallowCopy, shallowCopy
-
Methods inherited from interface adams.gui.visualization.core.axis.TickGenerator
getParent, getTicks, setParent
-
-
-
-
Method Detail
-
setLabels
void setLabels(List<String> value)
Sets the list of labels to use.- Parameters:
value
- the labels
-
valueToDisplayLabel
String valueToDisplayLabel(double value)
Returns the label associated with the value.- Parameters:
value
- the value to get the label for- Returns:
- the label, null if none available
-
-