infovis.visualization.ruler
Class DiscreteRulersBuilder

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

public class DiscreteRulersBuilder
extends Object

Helper methods to create rulers for discrete values.

Author:
Jean-Christophe Latsis

Constructor Summary
DiscreteRulersBuilder()
           
 
Method Summary
static void createHorizontalRuler(Rectangle2D bounds, String label, double position, Table rulers)
           
static void createHorizontalRulers(Rectangle2D bounds, double min, double max, DoubleColumn positions, Table rulers)
           
static void createHorizontalRulers(Rectangle2D bounds, StringColumn labels, DoubleColumn positions, Table rulers)
           
static void createVerticalRuler(Rectangle2D bounds, String label, double position, Table rulers)
           
static void createVerticalRulers(Rectangle2D bounds, double min, double max, DoubleColumn positions, Table rulers)
           
static void createVerticalRulers(Rectangle2D bounds, StringColumn labels, DoubleColumn positions, Table rulers)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiscreteRulersBuilder

public DiscreteRulersBuilder()
Method Detail

createHorizontalRulers

public static void createHorizontalRulers(Rectangle2D bounds,
                                          double min,
                                          double max,
                                          DoubleColumn positions,
                                          Table rulers)

createHorizontalRulers

public static void createHorizontalRulers(Rectangle2D bounds,
                                          StringColumn labels,
                                          DoubleColumn positions,
                                          Table rulers)

createHorizontalRuler

public static void createHorizontalRuler(Rectangle2D bounds,
                                         String label,
                                         double position,
                                         Table rulers)

createVerticalRulers

public static void createVerticalRulers(Rectangle2D bounds,
                                        double min,
                                        double max,
                                        DoubleColumn positions,
                                        Table rulers)

createVerticalRulers

public static void createVerticalRulers(Rectangle2D bounds,
                                        StringColumn labels,
                                        DoubleColumn positions,
                                        Table rulers)

createVerticalRuler

public static void createVerticalRuler(Rectangle2D bounds,
                                       String label,
                                       double position,
                                       Table rulers)


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