|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.klg.jclass.table.CellAreaRenderer
CellAreaRenderer
controls the painting of
CellAreas
within the table.
Field Summary | |
protected Color |
borderColor
|
protected Color |
borderHighlightColor
|
protected Color |
borderShadowColor
|
protected com.klg.jclass.table.CellAreaHandler |
cellAreaHandler
|
protected BasicStroke |
dashedStroke
|
protected com.klg.jclass.table.JCTable |
table
|
Constructor Summary | |
CellAreaRenderer(com.klg.jclass.table.CellAreaHandler cellAreaHandler)
|
Method Summary | |
void |
drawDashedFocusRectangle(Graphics gc,
int x,
int y,
int width,
int height)
Draws a dashed focus rectangle. |
void |
drawFrameBorder(Graphics gc)
Draws a border around the cell and label regions. |
void |
drawSelectionBorder(Graphics gc)
Draws a border around selected regions. |
void |
drawTable3FocusRectangle(Graphics gc,
int x,
int y,
int width,
int height)
Draws the Table3-style focus rectangle. |
void |
drawThinFocusRectangle(Graphics gc,
int x,
int y,
int width,
int height)
Draws a thin focus rectangle. |
protected void |
forcePaintComponent(Component component,
Graphics gc,
int x,
int y,
int width,
int height)
Allows subclasses to paint components in cells. |
protected void |
paintArea(Graphics gc,
com.klg.jclass.table.CellArea area)
Paints all visible cells in a cell area. |
protected void |
paintCell(Graphics gc,
int row,
int column)
Paints the cell if it is in the visible region and notifies any JCPaintListeners. |
protected void |
paintCell(Graphics gc,
int row,
int column,
boolean notify)
Paints the cell if it is in the visible region. |
protected void |
paintCell(Graphics gc,
int row,
int column,
boolean notify,
Rectangle r)
Paints the cell if it is in the visible region re-using the given rectangle for cell bounds manipulation. |
void |
paintComponent(Graphics gc)
Paints the entire visible region. |
protected void |
paintRange(Graphics gc,
int start_row,
int start_column,
int end_row,
int end_column)
Paints all cells in the range that are in the visible region. |
void |
repaintCell(int row,
int column)
Notifies table that the given cell requires repaint. |
void |
repaintCell(int row,
int column,
boolean useStore)
Notifies table that the given cell requires repaint. |
void |
repaintRange(int start_row,
int start_column,
int end_row,
int end_column)
Notifies table that the given cell range requires repaint. |
void |
repaintRange(com.klg.jclass.table.JCCellRange cr)
Notifies table that the given cell range requires repaint. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected com.klg.jclass.table.JCTable table
protected com.klg.jclass.table.CellAreaHandler cellAreaHandler
protected Color borderColor
protected Color borderShadowColor
protected Color borderHighlightColor
protected transient BasicStroke dashedStroke
Constructor Detail |
public CellAreaRenderer(com.klg.jclass.table.CellAreaHandler cellAreaHandler)
Method Detail |
public void paintComponent(Graphics gc)
protected void paintArea(Graphics gc, com.klg.jclass.table.CellArea area)
protected void paintRange(Graphics gc, int start_row, int start_column, int end_row, int end_column)
protected void paintCell(Graphics gc, int row, int column)
protected void paintCell(Graphics gc, int row, int column, boolean notify)
protected void paintCell(Graphics gc, int row, int column, boolean notify, Rectangle r)
protected void forcePaintComponent(Component component, Graphics gc, int x, int y, int width, int height)
public void drawFrameBorder(Graphics gc)
public void drawTable3FocusRectangle(Graphics gc, int x, int y, int width, int height)
public void drawThinFocusRectangle(Graphics gc, int x, int y, int width, int height)
public void drawDashedFocusRectangle(Graphics gc, int x, int y, int width, int height)
public void drawSelectionBorder(Graphics gc)
public void repaintRange(com.klg.jclass.table.JCCellRange cr)
public void repaintRange(int start_row, int start_column, int end_row, int end_column)
public void repaintCell(int row, int column)
public void repaintCell(int row, int column, boolean useStore)
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |