infovis.visualization.render
Class VisualAlpha

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

public class VisualAlpha
extends AbstractVisualColumn

Choose the transpareny of items.

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

Field Summary
static int RULE
           
static String VISUAL
           
 
Constructor Summary
VisualAlpha(ItemRenderer child)
           
VisualAlpha(ItemRenderer c1, ItemRenderer c2)
           
 
Method Summary
 ItemRenderer compile()
           
static VisualAlpha get(Visualization vis)
           
 double getAlphaAt(int row)
           
 NumberColumn getAlphaColumn()
           
 Column getColumn()
           
 double getDefaultAlpha()
           
 void install(Graphics2D graphics)
           
 void paint(Graphics2D graphics, int row, Shape shape)
           
 void setColumn(Column column)
           
 void setDefaultAlpha(double alpha)
           
 
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, compileGroup, findNamed, findNamed, getName, getRenderer, getRendererCount, getVisualization, indexOf, insertAfterNamed, insertBeforeNamed, insertRenderer, 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

RULE

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

VisualAlpha

public VisualAlpha(ItemRenderer child)

VisualAlpha

public VisualAlpha(ItemRenderer c1,
                   ItemRenderer c2)
Method Detail

get

public static VisualAlpha get(Visualization vis)

getColumn

public Column getColumn()

setColumn

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

getAlphaColumn

public NumberColumn getAlphaColumn()

install

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

getAlphaAt

public double getAlphaAt(int row)

getDefaultAlpha

public double getDefaultAlpha()

setDefaultAlpha

public void setDefaultAlpha(double alpha)

paint

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

compile

public ItemRenderer compile()
Specified by:
compile in interface ItemRenderer
Overrides:
compile in class AbstractItemRenderer


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