|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
java.awt.AWTEvent
java.awt.event.ActionEvent
ilog.cpl.interactor.IlpViewActionEvent
ilog.cpl.graphic.views.action.IlpCreateLinkActionEvent
public class IlpCreateLinkActionEvent
This event contains all information needed to create a network link. The position (link shape) is optional.
IlpCreateLinkAction,
Serialized Form| Field Summary |
|---|
| Fields inherited from class java.awt.event.ActionEvent |
|---|
ACTION_FIRST, ACTION_LAST, ACTION_PERFORMED, ALT_MASK, CTRL_MASK, META_MASK, SHIFT_MASK |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
IlpCreateLinkActionEvent(IlpViewInteractionContext context,
int modifiers)
Constructor |
|
| Method Summary | |
|---|---|
IlpRepresentationObject |
getFromNode()
Returns the starting node of the link to be created. |
IltLinkPort |
getFromPort()
Returns the port at which to connect at the starting node. |
IlpPolyline |
getNewPosition()
Returns the new position, a model position. |
IlpRepresentationObject |
getToNode()
Returns the ending node of the link to be created. |
IltLinkPort |
getToPort()
Returns the port at which to connect at the ending node. |
void |
setFromNode(IlpRepresentationObject node)
Sets the starting node of the link to be created. |
void |
setFromPort(IltLinkPort port)
Sets the port at which to connect at the starting node. |
void |
setNewPosition(IlpPolyline position)
Sets the new position, a model position. |
void |
setToNode(IlpRepresentationObject node)
Sets the ending node of the link to be created. |
void |
setToPort(IltLinkPort port)
Sets the port at which to connect at the ending node. |
| Methods inherited from class ilog.cpl.interactor.IlpViewActionEvent |
|---|
getIlpObject, getInteractionContext, getInteractionState, getPosition, getRepresentationObject, getRepresentationObjects, getStartingPosition, getView |
| Methods inherited from class java.awt.event.ActionEvent |
|---|
getActionCommand, getModifiers, getWhen, paramString |
| Methods inherited from class java.awt.AWTEvent |
|---|
consume, getID, isConsumed, setSource, 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 |
| Constructor Detail |
|---|
public IlpCreateLinkActionEvent(IlpViewInteractionContext context,
int modifiers)
context - Interaction contextmodifiers - Gesture modifiers| Method Detail |
|---|
public IlpRepresentationObject getFromNode()
public IlpRepresentationObject getToNode()
public void setFromNode(IlpRepresentationObject node)
public void setToNode(IlpRepresentationObject node)
public IltLinkPort getFromPort()
IltLinkPort or nullpublic IltLinkPort getToPort()
IltLinkPort or nullpublic void setFromPort(IltLinkPort port)
public void setToPort(IltLinkPort port)
public IlpPolyline getNewPosition()
public void setNewPosition(IlpPolyline position)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||