|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject com.mindfusion.diagramming.DrawCellEvent
public class DrawCellEvent
Contains the arguments passed to the DrawCell event handlers.
Field Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
DrawCellEvent(java.lang.Object source,
java.awt.Graphics2D graphics,
TableNode table,
int column,
int row,
java.awt.geom.Rectangle2D bounds)
|
Method Summary | |
---|---|
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 IGraphics 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. |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DrawCellEvent(java.lang.Object source, java.awt.Graphics2D graphics, TableNode table, int column, int row, java.awt.geom.Rectangle2D bounds)
Method Detail |
---|
public java.awt.geom.Rectangle2D getBounds()
public int getColumn()
public java.awt.Graphics2D getGraphics()
Graphics2D
interface.public int getRow()
public TableNode getTable()
TableNode
classpublic Cell getCell()
TableNode.getCell(int, int)
cell class.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |