infovis.visualization.render
Class VisualColor
java.lang.Object
infovis.visualization.render.AbstractItemRenderer
infovis.visualization.render.AbstractVisualColumn
infovis.visualization.render.VisualColor
- All Implemented Interfaces:
- ColumnFilter, ItemRenderer, VisualColumnDescriptor, Cloneable
public class VisualColor
- extends AbstractVisualColumn
Class VisualColor
- Version:
- $Revision: 1.18 $
- Author:
- Jean-Daniel Fekete
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 |
VISUAL
public static final String VISUAL
- See Also:
- Constant Field Values
defaultDefaultColor
public static Color defaultDefaultColor
VisualColor
public VisualColor(ItemRenderer child)
VisualColor
public VisualColor(ItemRenderer c1,
ItemRenderer c2)
VisualColor
public VisualColor(ItemRenderer c1,
ItemRenderer c2,
ItemRenderer c3)
VisualColor
public VisualColor(ItemRenderer c1,
ItemRenderer c2,
ItemRenderer c3,
ItemRenderer c4)
VisualColor
public VisualColor(ItemRenderer child,
Color def)
get
public static VisualColor get(Visualization vis)
get
public static VisualColor get(ItemRenderer ir)
setColumn
public void setColumn(Column column)
- Specified by:
setColumn
in interface VisualColumnDescriptor
- Overrides:
setColumn
in class AbstractVisualColumn
createColorVisualization
public void createColorVisualization()
getColumn
public Column getColumn()
findDefaultColorColumn
public Column findDefaultColorColumn()
getColorAt
public Color getColorAt(int row)
paint
public void paint(Graphics2D graphics,
int row,
Shape shape)
- Specified by:
paint
in interface ItemRenderer
- Overrides:
paint
in class AbstractItemRenderer
getColorVisualization
public ColorVisualization getColorVisualization()
getDefaultColor
public Color getDefaultColor()
setColorVisualization
public void setColorVisualization(ColorVisualization cv)
setDefaultColor
public void setDefaultColor(Color color)
isSmooth
public boolean isSmooth()
- Returns the smooth.
- Returns:
- boolean
setSmooth
public void setSmooth(boolean smooth)
- Sets the smooth.
- Parameters:
smooth
- The smooth to set
Copyright © 2005 by Jean-Daniel Fekete and INRIA, France All rights reserved.