infovis.visualization.render
Class VisualImage

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

public class VisualImage
extends AbstractVisualColumn
implements Runnable

Class VisualImage

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

Field Summary
static Image NULL_IMAGE
           
static String VISUAL_URL
           
 
Constructor Summary
VisualImage()
           
 
Method Summary
 Image completeLoad(Image img, String url)
           
 Image computeIcon(Image img, String url)
           
static VisualImage get(Visualization vis)
           
 Column getColumn()
           
 Image getIcon(String url)
           
 int getIconSize()
           
 String getURLAt(int row)
           
 void install(Graphics2D graphics)
           
 boolean isImage(String url)
           
 boolean isSynchronous()
           
 Image loadIconAt(int row)
           
 Image loadResizeImage(String url)
           
 void paint(Graphics2D graphics, int row, Shape shape)
           
 void putIcon(String url, Image img)
           
 void run()
           
 void setColumn(Column column)
           
 void setIconSize(int iconSize)
           
 void setSynchronous(boolean synchronous)
           
 
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_URL

public static final String VISUAL_URL
See Also:
Constant Field Values

NULL_IMAGE

public static final Image NULL_IMAGE
Constructor Detail

VisualImage

public VisualImage()
Method Detail

get

public static VisualImage get(Visualization vis)

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

install

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

getURLAt

public String getURLAt(int row)

getIcon

public Image getIcon(String url)

putIcon

public void putIcon(String url,
                    Image img)

isImage

public boolean isImage(String url)

loadIconAt

public Image loadIconAt(int row)

completeLoad

public Image completeLoad(Image img,
                          String url)

computeIcon

public Image computeIcon(Image img,
                         String url)

loadResizeImage

public Image loadResizeImage(String url)

run

public void run()
Specified by:
run in interface Runnable

paint

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

isSynchronous

public boolean isSynchronous()

setSynchronous

public void setSynchronous(boolean synchronous)

getIconSize

public int getIconSize()

setIconSize

public void setIconSize(int iconSize)


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