rice.visualization.render
Class TableViewRenderer
java.lang.Object
rice.visualization.render.ViewRenderer
rice.visualization.render.TableViewRenderer
-
public class TableViewRenderer
- extends ViewRenderer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_CELL_WIDTH
public static int DEFAULT_CELL_WIDTH
DEFAULT_CELL_HEIGHT
public static int DEFAULT_CELL_HEIGHT
DEFAULT_CELL_PADDING
public static int DEFAULT_CELL_PADDING
DEFAULT_BACKGROUND_COLOR
public static java.awt.Color DEFAULT_BACKGROUND_COLOR
DEFAULT_FOREGROUND_COLOR
public static java.awt.Color DEFAULT_FOREGROUND_COLOR
TableViewRenderer
public TableViewRenderer(DataProvider visualization)
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
-
paintRow
protected void paintRow(java.awt.Graphics g,
int[] widths,
int row,
int num)
-
paintCell
protected void paintCell(java.awt.Graphics g,
int[] widths,
int x,
int y,
java.lang.String s)
-
getWidth
protected int getWidth(int[] widths,
int column)
-
getSizes
protected int[] getSizes(TableView view)
-
fillArray
protected int[] fillArray(int num,
int fill)
-
getDefaultBackgroundColor
protected java.awt.Color getDefaultBackgroundColor()
-
- Overrides:
-
getDefaultBackgroundColor
in class ViewRenderer
-
getDefaultForegroundColor
protected java.awt.Color getDefaultForegroundColor()
-
getCellPadding
protected int getCellPadding()
-
getCellWidth
protected int getCellWidth()
-
getCellHeight
protected int getCellHeight()
-
Copyright © 2001-2005 - Rice Pastry.