public class CellEvent
extends java.util.EventObject
DiagramListener.| Constructor and Description |
|---|
CellEvent(java.lang.Object source,
Cell cell,
int column,
int row,
android.graphics.PointF position,
int button)
Initializes a new CellEvent instance.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
android.graphics.PointF |
getPointerPosition()
Gets the pointer position.
|
int |
getRow()
Gets the index of the cell row.
|
TableNode |
getTable()
Gets a reference to the table related to this event.
|
public CellEvent(java.lang.Object source,
Cell cell,
int column,
int row,
android.graphics.PointF position,
int button)
source - The sender of this event.cell - The Cell related to this event.position - The position of the pointer at the time the event was raised.column - The cell column.row - The cell row.public Cell getCell()
Cell object.public TableNode getTable()
TableNode object.public int getColumn()
public int getRow()
public android.graphics.PointF getPointerPosition()
PointF object representing
the pointer position in document coordinates.public int getMouseButton()