infovis.visualization.render
Class VisualFilter

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

public class VisualFilter
extends AbstractVisualColumn
implements RowFilter

Class VisualFilter

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

Field Summary
static String VISUAL
           
 
Constructor Summary
VisualFilter(ItemRenderer child)
           
 
Method Summary
static VisualFilter get(Visualization vis)
           
 Column getColumn()
           
 RowFilter getExtraFilter()
           
 FilterColumn getFilterColumn()
           
 boolean isFiltered(int row)
           
 void paint(Graphics2D graphics, int row, Shape shape)
           
 boolean pick(Rectangle2D hitBox, int row, Shape shape)
           
 void setColumn(Column column)
           
 void setExtraFilter(RowFilter extraFilter)
           
 
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, 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
Constructor Detail

VisualFilter

public VisualFilter(ItemRenderer child)
Method Detail

get

public static VisualFilter get(Visualization vis)

getColumn

public Column getColumn()
Specified by:
getColumn in interface VisualColumnDescriptor

getFilterColumn

public FilterColumn getFilterColumn()

setColumn

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

isFiltered

public boolean isFiltered(int row)
Specified by:
isFiltered in interface RowFilter

paint

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

getExtraFilter

public RowFilter getExtraFilter()

setExtraFilter

public void setExtraFilter(RowFilter extraFilter)

pick

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


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