yu.ac.bg.etf.javaqx.qswing.events
Class TreeModelEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byyu.ac.bg.etf.javaqx.qswing.events.TreeModelEvent
All Implemented Interfaces:
java.io.Serializable

public class TreeModelEvent
extends java.util.EventObject

Tree Model Event.

Version:
0.2.0
Author:
Slobodan Vrkacevic (slobodan.vrkacevic@gmail.com)
See Also:
Serialized Form

Field Summary
protected  int[] childIndices
           
protected  java.lang.Object[] children
           
protected  TreePath path
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
TreeModelEvent(java.lang.Object source, java.lang.Object[] path)
          Constructs new TreeModelEvent object.
TreeModelEvent(java.lang.Object source, java.lang.Object[] path, int[] childIndices, java.lang.Object[] children)
          Constructs new TreeModelEvent object.
TreeModelEvent(java.lang.Object source, TreePath path)
          Constructs new TreeModelEvent object.
TreeModelEvent(java.lang.Object source, TreePath path, int[] childIndices, java.lang.Object[] children)
          Constructs new TreeModelEvent object.
 
Method Summary
 int[] getChildIndices()
          Return child indices.
 java.lang.Object[] getChildren()
          Returns children.
 java.lang.Object[] getPath()
          Returns path.
 TreePath getTreePath()
          Returns three path.
 java.lang.String 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
 

Field Detail

path

protected transient TreePath path

childIndices

protected int[] childIndices

children

protected java.lang.Object[] children
Constructor Detail

TreeModelEvent

public TreeModelEvent(java.lang.Object source,
                      TreePath path,
                      int[] childIndices,
                      java.lang.Object[] children)
Constructs new TreeModelEvent object.

Parameters:
source - the event source
path - the path
childIndices - the child indices
children - the children
Throws:
java.lang.IllegalArgumentException - if the source is null

TreeModelEvent

public TreeModelEvent(java.lang.Object source,
                      TreePath path)
Constructs new TreeModelEvent object.

Parameters:
source - the event source
path - the path
Throws:
java.lang.IllegalArgumentException - if the source is null

TreeModelEvent

public TreeModelEvent(java.lang.Object source,
                      java.lang.Object[] path,
                      int[] childIndices,
                      java.lang.Object[] children)
Constructs new TreeModelEvent object.

Parameters:
source - the event source
path - the path
childIndices - the child indices
children - the children
Throws:
java.lang.IllegalArgumentException - if the source is null

TreeModelEvent

public TreeModelEvent(java.lang.Object source,
                      java.lang.Object[] path)
Constructs new TreeModelEvent object.

Parameters:
source - the event source
path - the path
Throws:
java.lang.IllegalArgumentException - if the source is null
Method Detail

getTreePath

public TreePath getTreePath()
Returns three path.

Returns:
three path

getPath

public java.lang.Object[] getPath()
Returns path.

Returns:
path

getChildren

public java.lang.Object[] getChildren()
Returns children.

Returns:
children

getChildIndices

public int[] getChildIndices()
Return child indices.

Returns:
child indices

toString

public java.lang.String toString()



Copyright © 2007 ETF and contributors. All Rights Reserved.