|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--fri.gui.swing.polytreetable.PolyTreeTableModelEvent
An event that is created when nodes were inserted or removed from the data model. Information about inserted/deleted nodes or change of node properties (name) is provided.
PolyTreeTableModel
Field Summary | |
static int |
CHILDREN_DELETED
Identifies an event that tells about children inserted into node. |
static int |
CHILDREN_INSERTED
Identifies an event that tells about children inserted into node. |
static int |
NODE_CHANGED
Identifies an event that tells about node properties changed. |
static int |
PARENTS_DELETED
Identifies an event that tells about parents inserted into node. |
static int |
PARENTS_INSERTED
Identifies an event that tells about parents inserted into node. |
Constructor Summary | |
PolyTreeTableModelEvent(int type,
MutablePolyTreeNode node,
PolyTreeNode[] nodes,
int[] indizes)
Create an event about an insertion or deletion. |
|
PolyTreeTableModelEvent(MutablePolyTreeNode node)
Create an event about a node change. |
Method Summary | |
int[] |
getIndizes()
Returns the indizes of the inserted or deleted nodes. |
MutablePolyTreeNode |
getNode()
Returns the originator node on which the event occured. |
PolyTreeNode[] |
getNodes()
Returns the inserted or deleted nodes. |
int |
getType()
Returns the type of event: PARENTS_INSERTED, CHILDREN_DELETED, .... |
java.lang.String |
toString()
Writes all event information to a String. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int PARENTS_INSERTED
public static final int CHILDREN_INSERTED
public static final int PARENTS_DELETED
public static final int CHILDREN_DELETED
public static final int NODE_CHANGED
Constructor Detail |
public PolyTreeTableModelEvent(MutablePolyTreeNode node)
public PolyTreeTableModelEvent(int type, MutablePolyTreeNode node, PolyTreeNode[] nodes, int[] indizes)
Method Detail |
public int getType()
public MutablePolyTreeNode getNode()
public PolyTreeNode[] getNodes()
public int[] getIndizes()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |