|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject javax.swing.event.TreeModelEvent com.dlsc.flexgantt.model.treetable.TreeTableModelEvent
public class TreeTableModelEvent
An event object used to notify the application if the user edited a tree table cell.
ITreeTableModelListener
,
ITreeTableModel.addTreeTableModelListener(ITreeTableModelListener)
,
Serialized FormField Summary |
---|
Fields inherited from class javax.swing.event.TreeModelEvent |
---|
childIndices, children, path |
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
TreeTableModelEvent(ITreeTableModel model,
java.lang.Object[] path,
java.lang.Object oldValue,
java.lang.Object newValue,
int modelIndex)
Constructs a new model event. |
|
TreeTableModelEvent(ITreeTableModel model,
javax.swing.tree.TreePath path,
java.lang.Object oldValue,
java.lang.Object newValue,
int modelIndex)
Constructs a new model event. |
Method Summary | |
---|---|
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. |
java.lang.Object |
getNewValue()
Returns the new value for the edited tree table cell. |
java.lang.Object |
getOldValue()
Returns the old value of the edited tree table cell. |
java.lang.String |
toString()
|
Methods inherited from class javax.swing.event.TreeModelEvent |
---|
getChildIndices, getChildren, getPath, getTreePath |
Methods inherited from class java.util.EventObject |
---|
getSource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TreeTableModelEvent(ITreeTableModel model, java.lang.Object[] path, java.lang.Object oldValue, java.lang.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, javax.swing.tree.TreePath path, java.lang.Object oldValue, java.lang.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 happenedMethod Detail |
---|
public ITreeTableModel getModel()
public java.lang.Object getNewValue()
public java.lang.Object getOldValue()
public int getModelIndex()
public java.lang.String toString()
toString
in class javax.swing.event.TreeModelEvent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |