public class EditCellTextEvent
extends java.util.EventObject
DiagramListener.cellTextEdited(com.mindfusion.diagramming.EditCellTextEvent) event handlers.| Constructor and Description |
|---|
EditCellTextEvent(java.lang.Object source,
Cell cell,
java.lang.String oldText,
java.lang.String newText,
int column,
int row)
Initializes a new instance of the EditCellTextEvent class.
|
| Modifier and Type | Method and Description |
|---|---|
Cell |
getCell()
Get the cell whose text has been edited.
|
int |
getColumn()
Gets the index of the table's column that contains the
Cell object. |
java.lang.String |
getNewText()
Gets the text that has just been entered by the user.
|
java.lang.String |
getOldText()
Gets the text that had been displayed in the cell before the user edited it.
|
int |
getRow()
Gets the index of the table's row that contains the
Cell object. |
public EditCellTextEvent(java.lang.Object source,
Cell cell,
java.lang.String oldText,
java.lang.String newText,
int column,
int row)
source - The source of the event.cell - The Cell related to the event.oldText - The old text of the cell.newText - The new text of the cell.column - The zero-based index of the table column related to the event.row - The zero-based index of the table row related to the event.public int getColumn()
Cell object.public java.lang.String getNewText()
public java.lang.String getOldText()
public int getRow()
Cell object.