infovis.visualization.ruler
Class LinearRulersBuilder

java.lang.Object
  extended by infovis.visualization.ruler.LinearRulersBuilder

public class LinearRulersBuilder
extends Object

Class DiscreteRuler

Version:
$Revision: 1.10 $
Author:
Jean-Daniel Fekete

Field Summary
static int DEFAULT_APPROX_STEP
           
static DecimalFormat doubleFormat
           
static double LOG10
           
 
Constructor Summary
LinearRulersBuilder()
           
 
Method Summary
static double computeStep(double min, double max, double scale)
           
static void createHorizontalRulers(double min, double max, Rectangle2D bounds, double step, double scale, Table rulers, boolean up)
           
static void createVerticalRulers(double min, double max, Rectangle2D bounds, double step, double scale, Table rulers)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG10

public static final double LOG10

DEFAULT_APPROX_STEP

public static final int DEFAULT_APPROX_STEP
See Also:
Constant Field Values

doubleFormat

public static DecimalFormat doubleFormat
Constructor Detail

LinearRulersBuilder

public LinearRulersBuilder()
Method Detail

createHorizontalRulers

public static void createHorizontalRulers(double min,
                                          double max,
                                          Rectangle2D bounds,
                                          double step,
                                          double scale,
                                          Table rulers,
                                          boolean up)

createVerticalRulers

public static void createVerticalRulers(double min,
                                        double max,
                                        Rectangle2D bounds,
                                        double step,
                                        double scale,
                                        Table rulers)

computeStep

public static double computeStep(double min,
                                 double max,
                                 double scale)


Copyright 2005 by Jean-Daniel Fekete and INRIA, France All rights reserved.