infovis.visualization.render
Class VisualArrowHead

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

public class VisualArrowHead
extends AbstractVisualColumn

Class VisualArrowHead

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

Field Summary
static int SHAPE_ARROW
           
static int SHAPE_DIAMOND
           
static String VISUAL
           
 
Constructor Summary
VisualArrowHead(ItemRenderer child)
           
VisualArrowHead(ItemRenderer child, int defaultShape, Shape[] shapeRepertoire)
           
VisualArrowHead(ItemRenderer c1, ItemRenderer c2)
           
 
Method Summary
static AffineTransform computeTransform(float x0, float y0, float x1, float y1, AffineTransform t)
           
 void computeTransform(Shape s)
           
static VisualArrowHead get(Visualization vis)
           
 Column getColumn()
           
 int getDefaultShape()
           
static Shape[] getDefaultShapeRepertoire()
           
 Shape getShapeAt(int row)
           
 Shape[] getShapeRepertoireReference()
           
 void paint(Graphics2D graphics, int row, Shape shape)
           
 void setColumn(Column column)
           
 void setDefaultShape(int defaultShape)
           
static void setDefaultShapeRepertoire(Shape[] def)
           
 void setShapeRepertoire(Shape[] shapeRepertoire)
           
 
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, install, instantiate, invalidate, isPrototype, pick, 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

VISUAL

public static final String VISUAL
See Also:
Constant Field Values

SHAPE_ARROW

public static final int SHAPE_ARROW
See Also:
Constant Field Values

SHAPE_DIAMOND

public static final int SHAPE_DIAMOND
See Also:
Constant Field Values
Constructor Detail

VisualArrowHead

public VisualArrowHead(ItemRenderer child,
                       int defaultShape,
                       Shape[] shapeRepertoire)

VisualArrowHead

public VisualArrowHead(ItemRenderer child)

VisualArrowHead

public VisualArrowHead(ItemRenderer c1,
                       ItemRenderer c2)
Method Detail

get

public static VisualArrowHead get(Visualization vis)

getColumn

public Column getColumn()

setColumn

public void setColumn(Column column)
Specified by:
setColumn in interface VisualColumnDescriptor
Overrides:
setColumn in class AbstractVisualColumn

getDefaultShape

public int getDefaultShape()

setDefaultShape

public void setDefaultShape(int defaultShape)

getShapeRepertoireReference

public Shape[] getShapeRepertoireReference()

setShapeRepertoire

public void setShapeRepertoire(Shape[] shapeRepertoire)

getDefaultShapeRepertoire

public static Shape[] getDefaultShapeRepertoire()

setDefaultShapeRepertoire

public static void setDefaultShapeRepertoire(Shape[] def)

getShapeAt

public Shape getShapeAt(int row)

computeTransform

public static AffineTransform computeTransform(float x0,
                                               float y0,
                                               float x1,
                                               float y1,
                                               AffineTransform t)

computeTransform

public void computeTransform(Shape s)

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.