public class TreeTableModelEvent extends TreeModelEvent
ITreeTableModelListener,
ITreeTableModel.addTreeTableModelListener(ITreeTableModelListener),
Serialized FormchildIndices, children, pathsource| Constructor and Description |
|---|
TreeTableModelEvent(ITreeTableModel model,
Object[] path,
Object oldValue,
Object newValue,
int modelIndex)
Constructs a new model event.
|
TreeTableModelEvent(ITreeTableModel model,
TreePath path,
Object oldValue,
Object newValue,
int modelIndex)
Constructs a new model event.
|
| Modifier and Type | Method and Description |
|---|---|
ITreeTableModel |
getModel()
Returns the tree table model from which the event originated.
|
int |
getModelIndex()
Returns the model index of the tree table column where the value of a
cell was edited.
|
Object |
getNewValue()
Returns the new value for the edited tree table cell.
|
Object |
getOldValue()
Returns the old value of the edited tree table cell.
|
String |
toString() |
getChildIndices, getChildren, getPath, getTreePathgetSourcepublic TreeTableModelEvent(ITreeTableModel model, Object[] path, Object oldValue, Object newValue, int modelIndex)
model - the tree table model where the change happenedpath - the object path to the tree node where the event occuredoldValue - the previous value of the table cellnewValue - the new value for the table cellmodelIndex - the model index of the column where the changed happenedpublic TreeTableModelEvent(ITreeTableModel model, TreePath path, Object oldValue, Object newValue, int modelIndex)
model - the tree table model where the change happenedpath - the object path to the tree node where the event occuredoldValue - the previous value of the table cellnewValue - the new value for the table cellmodelIndex - the model index of the column where the changed happenedpublic ITreeTableModel getModel()
public Object getNewValue()
public Object getOldValue()
public int getModelIndex()
public String toString()
toString in class TreeModelEventCopyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.