org.jzy3d.plot3d.primitives.axes.layout.renderers
Class TickLabelMap

java.lang.Object
  extended by org.jzy3d.plot3d.primitives.axes.layout.renderers.TickLabelMap
All Implemented Interfaces:
ITickRenderer

public class TickLabelMap
extends Object
implements ITickRenderer

An ITickRenderer that can store a list of labels for given axis values.

Author:
Martin Pernollet

Field Summary
protected  Map<Double,String> tickValues
           
 
Constructor Summary
TickLabelMap()
           
 
Method Summary
 boolean contains(double value)
           
 String format(double value)
           
 Map<Double,String> getMap()
           
 void register(double value, String string)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tickValues

protected Map<Double,String> tickValues
Constructor Detail

TickLabelMap

public TickLabelMap()
Method Detail

register

public void register(double value,
                     String string)

contains

public boolean contains(double value)

getMap

public Map<Double,String> getMap()

format

public String format(double value)
Specified by:
format in interface ITickRenderer


Copyright © 2013. All rights reserved.