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

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

public class DefaultDecimalTickRenderer
extends java.lang.Object
implements ITickRenderer

Force number to be represented with a given number of decimals


Constructor Summary
DefaultDecimalTickRenderer()
           
DefaultDecimalTickRenderer(int precision)
           
 
Method Summary
 java.lang.String format(float value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultDecimalTickRenderer

public DefaultDecimalTickRenderer()

DefaultDecimalTickRenderer

public DefaultDecimalTickRenderer(int precision)
Method Detail

format

public java.lang.String format(float value)
Specified by:
format in interface ITickRenderer