|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
com.mindfusion.diagramming.CellEvent
public class CellEvent
Contains information passed to the cellClicked
event defined in DiagramListener
.
Field Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
CellEvent(java.lang.Object source,
Cell cell,
int column,
int row,
java.awt.geom.Point2D position,
int button)
Initializes a new CellEvent instance. |
Method Summary | |
---|---|
Cell |
getCell()
Gets a reference to the cell related to the event. |
int |
getColumn()
Gets the index of the cell column. |
int |
getMouseButton()
Gets the mouse mouseButton related to the event. |
java.awt.geom.Point2D.Float |
getMousePosition()
Gets the mouse position. |
int |
getRow()
Gets the index of the cell row. |
TableNode |
getTable()
Gets a reference to the table related to this event. |
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 CellEvent(java.lang.Object source, Cell cell, int column, int row, java.awt.geom.Point2D position, int button)
source
- The sender of this event.cell
- The Cell
related to this event.position
- The position of the mouse at the time the event was raised.column
- The cell column.row
- The cell row.Method Detail |
---|
public Cell getCell()
Cell
object.public TableNode getTable()
TableNode
object.public int getColumn()
public int getRow()
public java.awt.geom.Point2D.Float getMousePosition()
Point2D.Float
object representing
the mouse position in document coordinates.public int getMouseButton()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |