public class DrawCellEvent
extends java.util.EventObject
Constructor and Description |
---|
DrawCellEvent(java.lang.Object source,
java.awt.Graphics2D graphics,
TableNode table,
int column,
int row,
java.awt.geom.Rectangle2D bounds) |
Modifier and Type | Method and Description |
---|---|
java.awt.geom.Rectangle2D |
getBounds()
Gets the bounding rectangle of the cell being drawn.
|
Cell |
getCell()
Gets the cell that should be custom drawn.
|
int |
getColumn()
Gets the index of the table's column that contains Cell.
|
java.awt.Graphics2D |
getGraphics()
An object implementing the Graphics2D interface whose methods should be used to draw the cell.
|
int |
getRow()
Gets the index of the table's row that contains Cell.
|
TableNode |
getTable()
Get the table that contains Cell.
|
public DrawCellEvent(java.lang.Object source, java.awt.Graphics2D graphics, TableNode table, int column, int row, java.awt.geom.Rectangle2D bounds)
public java.awt.geom.Rectangle2D getBounds()
public int getColumn()
public java.awt.Graphics2D getGraphics()
public int getRow()
public TableNode getTable()
TableNode
classpublic Cell getCell()
TableNode.getCell(int, int)
cell class.