infovis.visualization.render
Class VisualArea

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

public class VisualArea
extends AbstractVisualColumn
implements Orientable

Class VisualArea

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

Field Summary
static String VISUAL
           
 
Fields inherited from interface infovis.visualization.Orientable
DIRECTION, NAME, ORIENTATION_CENTER, ORIENTATION_EAST, ORIENTATION_INVALID, ORIENTATION_NORTH, ORIENTATION_SOUTH, ORIENTATION_WEST, SQRT2
 
Fields inherited from interface javax.swing.SwingConstants
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST
 
Constructor Summary
VisualArea(ItemRenderer child)
           
VisualArea(String name)
           
 
Method Summary
static VisualArea get(ItemRenderer ir)
           
static VisualArea get(Visualization vis)
           
 Column getColumn()
           
 double getDefaultScale()
           
 short getOrientation()
          Returns the orientation manages by this interface.
 double getScaleAt(int row)
           
 void install(Graphics2D graphics)
           
 void paint(Graphics2D graphics, int row, Shape shape)
           
 void setColumn(Column column)
           
 void setDefaultScale(double s)
           
 void setOrientation(short orientation)
          Sets the orientation of this interface.
 
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, 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
Constructor Detail

VisualArea

public VisualArea(String name)

VisualArea

public VisualArea(ItemRenderer child)
Method Detail

get

public static VisualArea get(Visualization vis)

get

public static VisualArea get(ItemRenderer ir)

getColumn

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

setColumn

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

setOrientation

public void setOrientation(short orientation)
Description copied from interface: Orientable
Sets the orientation of this interface.

Specified by:
setOrientation in interface Orientable
Parameters:
orientation - the orientation.

getOrientation

public short getOrientation()
Description copied from interface: Orientable
Returns the orientation manages by this interface.

Specified by:
getOrientation in interface Orientable
Returns:
the orientation manages by this interface

install

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

getScaleAt

public double getScaleAt(int row)

paint

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

getDefaultScale

public double getDefaultScale()

setDefaultScale

public void setDefaultScale(double s)


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