infovis.visualization.render
Class VisualStrokeSize

java.lang.Object
  extended by infovis.visualization.render.AbstractItemRenderer
      extended by infovis.visualization.render.AbstractVisualColumn
          extended by infovis.visualization.render.VisualSize
              extended by infovis.visualization.render.VisualStrokeSize
All Implemented Interfaces:
ColumnFilter, ItemRenderer, VisualColumnDescriptor, Cloneable

public class VisualStrokeSize
extends VisualSize

Visual size for stroking visualization.

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

Field Summary
static double defaultDefaultSize
           
static double defaultMaxSize
           
static double defaultMinSize
           
 
Fields inherited from class infovis.visualization.render.VisualSize
VISUAL
 
Constructor Summary
VisualStrokeSize(ItemRenderer child)
           
VisualStrokeSize(ItemRenderer child, double def, double min, double max)
           
 
Method Summary
 void install(Graphics2D graphics)
           
 void paint(Graphics2D graphics, int row, Shape shape)
           
 boolean pick(Rectangle2D hitBox, int row, Shape shape)
           
 
Methods inherited from class infovis.visualization.render.VisualSize
get, getColumn, getDefaultSize, getHeightAt, getMaxSize, getMinSize, getSizeAt, getSizeColumn, getWidthAt, isRescaling, setColumn, setDefaultSize, setMaxSize, setMinSize, setRectSizeAt, setRescaling
 
Methods inherited from class infovis.visualization.render.AbstractVisualColumn
contrastColor, contrastColor, filter, getFilter, invalidate, isInvalidate, setFilter, setInvalidate
 
Methods inherited from class infovis.visualization.render.AbstractItemRenderer
addRenderer, compile, compileGroup, findNamed, findNamed, getName, getRenderer, getRendererCount, getVisualization, indexOf, insertAfterNamed, insertBeforeNamed, insertRenderer, instantiate, invalidate, isPrototype, removeNamed, removeRenderer, repaint, replaceNamed, replaceNamed, setRenderer, uninstall
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface infovis.visualization.VisualColumnDescriptor
getName
 

Field Detail

defaultMinSize

public static double defaultMinSize

defaultMaxSize

public static double defaultMaxSize

defaultDefaultSize

public static double defaultDefaultSize
Constructor Detail

VisualStrokeSize

public VisualStrokeSize(ItemRenderer child)

VisualStrokeSize

public VisualStrokeSize(ItemRenderer child,
                        double def,
                        double min,
                        double max)
Method Detail

install

public void install(Graphics2D graphics)
Specified by:
install in interface ItemRenderer
Overrides:
install in class AbstractItemRenderer

pick

public boolean pick(Rectangle2D hitBox,
                    int row,
                    Shape shape)
Specified by:
pick in interface ItemRenderer
Overrides:
pick in class AbstractItemRenderer

paint

public void paint(Graphics2D graphics,
                  int row,
                  Shape shape)
Specified by:
paint in interface ItemRenderer
Overrides:
paint in class AbstractItemRenderer


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