ePOST API

rice.visualization.render
Class KeyValueListViewRenderer

java.lang.Object
  extended by rice.visualization.render.ViewRenderer
      extended by rice.visualization.render.KeyValueListViewRenderer

public class KeyValueListViewRenderer
extends ViewRenderer


Field Summary
static int DEFAULT_INDENT
           
static int DEFAULT_LINE_SPACING
           
 
Fields inherited from class rice.visualization.render.ViewRenderer
visualization
 
Constructor Summary
KeyValueListViewRenderer(DataProvider visualization)
           
 
Method Summary
 boolean canRender(DataView view)
           
protected  int getIndent()
           
protected  int getLineSpacing()
           
protected  void paintLine(java.awt.Graphics g, int number, java.lang.String a, java.lang.String b)
           
 javax.swing.JPanel render(DataView v)
           
 
Methods inherited from class rice.visualization.render.ViewRenderer
getDefaultBackgroundColor, getDefaultBorder, getDefaultFont, getDefaultFontColor, getDefaultSmallFont
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_LINE_SPACING

public static int DEFAULT_LINE_SPACING

DEFAULT_INDENT

public static int DEFAULT_INDENT
Constructor Detail

KeyValueListViewRenderer

public KeyValueListViewRenderer(DataProvider visualization)
Method Detail

canRender

public boolean canRender(DataView view)
Specified by:
canRender in class ViewRenderer

render

public javax.swing.JPanel render(DataView v)
Specified by:
render in class ViewRenderer

paintLine

protected void paintLine(java.awt.Graphics g,
                         int number,
                         java.lang.String a,
                         java.lang.String b)

getLineSpacing

protected int getLineSpacing()

getIndent

protected int getIndent()

ePOST API

Copyright © 2001-2005 - Rice Pastry.