org.owasp.webscarab.util.swing.treetable
Class TreeTableModelEvent
java.lang.Object
java.util.EventObject
javax.swing.event.TreeModelEvent
org.owasp.webscarab.util.swing.treetable.TreeTableModelEvent
- All Implemented Interfaces:
- java.io.Serializable
public class TreeTableModelEvent
- extends javax.swing.event.TreeModelEvent
- Author:
- rogan
- See Also:
- Serialized Form
Field Summary |
protected int |
column
|
static int |
DELETE
Identifies the removal of columns. |
static int |
INSERT
Identifies the addtion of new columns. |
protected int |
type
|
static int |
UPDATE
Identifies a change to existing data. |
Fields inherited from class javax.swing.event.TreeModelEvent |
childIndices, children, path |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
TreeTableModelEvent(java.lang.Object source,
javax.swing.tree.TreePath path,
int column)
Used to create an event when the node structure has changed in some way,
identifying the path to the root of the modified subtree as a TreePath
object. |
TreeTableModelEvent(java.lang.Object source,
javax.swing.tree.TreePath path,
int column,
int type)
Used to create an event when the node structure has changed in some way,
identifying the path to the root of the modified subtree as a TreePath
object. |
Methods inherited from class javax.swing.event.TreeModelEvent |
getChildIndices, getChildren, getPath, getTreePath, toString |
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 |
column
protected int column
type
protected int type
INSERT
public static final int INSERT
- Identifies the addtion of new columns.
- See Also:
- Constant Field Values
UPDATE
public static final int UPDATE
- Identifies a change to existing data.
- See Also:
- Constant Field Values
DELETE
public static final int DELETE
- Identifies the removal of columns.
- See Also:
- Constant Field Values
TreeTableModelEvent
public TreeTableModelEvent(java.lang.Object source,
javax.swing.tree.TreePath path,
int column)
- Used to create an event when the node structure has changed in some way,
identifying the path to the root of the modified subtree as a TreePath
object. For more information on this event specification, see
TreeModelEvent(Object,Object[])
.
- Parameters:
source
- the Object responsible for generating the event (typically
the creator of the event object passes this
for its value)path
- a TreePath object that identifies the path to the
change. In the DefaultTreeModel,
this object contains an array of user-data objects,
but a subclass of TreePath could use some totally
different mechanism -- for example, a node ID numbercolumn
- the column in which the change occurred
TreeTableModelEvent
public TreeTableModelEvent(java.lang.Object source,
javax.swing.tree.TreePath path,
int column,
int type)
- Used to create an event when the node structure has changed in some way,
identifying the path to the root of the modified subtree as a TreePath
object. For more information on this event specification, see
TreeModelEvent(Object,Object[])
.
- Parameters:
source
- the Object responsible for generating the event (typically
the creator of the event object passes this
for its value)path
- a TreePath object that identifies the path to the
change. In the DefaultTreeModel,
this object contains an array of user-data objects,
but a subclass of TreePath could use some totally
different mechanism -- for example, a node ID numbercolumn
- the column in which the change occurred
getColumn
public int getColumn()
getType
public int getType()