org.jzy3d.plot3d.primitives.axes.layout.renderers
Class TickLabelMap
java.lang.Object
org.jzy3d.plot3d.primitives.axes.layout.renderers.TickLabelMap
- All Implemented Interfaces:
- ITickRenderer
public class TickLabelMap
- extends java.lang.Object
- implements ITickRenderer
An ITickRenderer
that can store a list of labels for given axis values.
- Author:
- Martin Pernollet
Method Summary |
boolean |
contains(float value)
|
java.lang.String |
format(float value)
|
java.util.Map<java.lang.Float,java.lang.String> |
getMap()
|
void |
register(float value,
java.lang.String string)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TickLabelMap
public TickLabelMap()
register
public void register(float value,
java.lang.String string)
contains
public boolean contains(float value)
getMap
public java.util.Map<java.lang.Float,java.lang.String> getMap()
format
public java.lang.String format(float value)
- Specified by:
format
in interface ITickRenderer