|
||||||||||
| 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.RepresentationLinkEvent
public class RepresentationLinkEvent
This class describes a change in an IlpRepresentationLink.
RepresentationLinkListener,
Serialized Form| Nested Class Summary | |
|---|---|
static class |
RepresentationLinkEvent.Type
Type of events supported by this event class. |
| Field Summary |
|---|
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
RepresentationLinkEvent(IlpRepresentationLink source,
RepresentationLinkEvent.Type type,
boolean origin,
IlpRepresentationNode oldEnd,
IlpRepresentationNode newEnd)
Creates a link-related event. |
|
| Method Summary | |
|---|---|
IlpRepresentationNode |
getNewEnd()
Return the link's new end node. |
IlpRepresentationNode |
getOldEnd()
Return the link's previous end node. |
boolean |
getOrigin()
Returns true if the event is about the from end of
the link, false if about the to end. |
IlpRepresentationLink |
getRepresentationLink()
Returns the link 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 RepresentationLinkEvent(IlpRepresentationLink source,
RepresentationLinkEvent.Type type,
boolean origin,
IlpRepresentationNode oldEnd,
IlpRepresentationNode newEnd)
source - The link.type - END_CHANGED.origin - If this parameter is true, the from
end is changed, otherwise the to end.oldEnd - The previous link end node.newEnd - The new link end node.| Method Detail |
|---|
public IlpRepresentationLink getRepresentationLink()
public boolean getOrigin()
true if the event is about the from end of
the link, false if about the to end.
public IlpRepresentationNode getOldEnd()
public IlpRepresentationNode getNewEnd()
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 | |||||||||