|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
ilog.util.IlEventObject
ilog.cpl.model.container.RepresentationNodeEvent
public class RepresentationNodeEvent
This class describes a change in the list of children of an
IlpRepresentationNode.
| Nested Class Summary | |
|---|---|
static class |
RepresentationNodeEvent.Type
Type of events supported by this event class. |
| Field Summary |
|---|
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
RepresentationNodeEvent(IlpRepresentationNode source,
RepresentationNodeEvent.Type type,
int[] indices,
IlpRepresentationNode[] children)
Creates a child addition or removal event. |
|
| Method Summary | |
|---|---|
IlpRepresentationNode[] |
getChildren()
Returns the child objects added or removed. |
int[] |
getIndices()
Returns the indices of the children added or removed (after addition, or before removal). |
IlpRepresentationNode |
getRepresentationNode()
Returns the parent node the event refers to. |
String |
toString()
Returns a String representation of this event. |
| Methods inherited from class ilog.util.IlEventObject |
|---|
getType |
| 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 RepresentationNodeEvent(IlpRepresentationNode source,
RepresentationNodeEvent.Type type,
int[] indices,
IlpRepresentationNode[] children)
source - The node.type - One of CHILDREN_ADDED,
CHILDREN_REMOVED.indices - The indices of the children added or removed (indices to
be taken after addition, but before removal), in
ascending order.children - The children added or removed, in the same order as
listed in indices.| Method Detail |
|---|
public IlpRepresentationNode getRepresentationNode()
public int[] getIndices()
public IlpRepresentationNode[] getChildren()
public String toString()
String representation of this event.
toString in class EventObject
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||