infovis.visualization.render
Class Fill

java.lang.Object
  extended by infovis.visualization.render.StaticItemRenderer
      extended by infovis.visualization.render.Fill
All Implemented Interfaces:
ItemRenderer

public class Fill
extends StaticItemRenderer

ItemRenderer that fills its shape.

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

Field Summary
static Fill instance
          The instance.
 
Method Summary
 void paint(Graphics2D graphics, int row, Shape shape)
          
 boolean pick(Rectangle2D hitBox, int row, Shape shape)
          
 
Methods inherited from class infovis.visualization.render.StaticItemRenderer
addRenderer, compile, getName, getRenderer, getRendererCount, getVisualization, insertRenderer, install, instantiate, isPrototype, removeRenderer, setRenderer, uninstall
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

public static final Fill instance
The instance.

Method Detail

paint

public void paint(Graphics2D graphics,
                  int row,
                  Shape shape)

Specified by:
paint in interface ItemRenderer
Overrides:
paint in class StaticItemRenderer

pick

public boolean pick(Rectangle2D hitBox,
                    int row,
                    Shape shape)



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