public class IlpCreateLinkActionEvent extends IlpViewActionEvent
IlpCreateLinkAction
,
Serialized FormACTION_FIRST, ACTION_LAST, ACTION_PERFORMED, ALT_MASK, CTRL_MASK, META_MASK, SHIFT_MASK
ACTION_EVENT_MASK, ADJUSTMENT_EVENT_MASK, COMPONENT_EVENT_MASK, consumed, CONTAINER_EVENT_MASK, FOCUS_EVENT_MASK, HIERARCHY_BOUNDS_EVENT_MASK, HIERARCHY_EVENT_MASK, id, INPUT_METHOD_EVENT_MASK, INVOCATION_EVENT_MASK, ITEM_EVENT_MASK, KEY_EVENT_MASK, MOUSE_EVENT_MASK, MOUSE_MOTION_EVENT_MASK, MOUSE_WHEEL_EVENT_MASK, PAINT_EVENT_MASK, RESERVED_ID_MAX, TEXT_EVENT_MASK, WINDOW_EVENT_MASK, WINDOW_FOCUS_EVENT_MASK, WINDOW_STATE_EVENT_MASK
source
Constructor and Description |
---|
IlpCreateLinkActionEvent(IlpViewInteractionContext context,
int modifiers)
Constructor
|
Modifier and Type | Method and Description |
---|---|
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.
|
getIlpObject, getInteractionContext, getInteractionState, getPosition, getRepresentationObject, getRepresentationObjects, getStartingPosition, getView
getActionCommand, getModifiers, getWhen, paramString
getSource
public IlpCreateLinkActionEvent(IlpViewInteractionContext context, int modifiers)
context
- Interaction contextmodifiers
- Gesture modifierspublic IlpRepresentationObject getFromNode()
public IlpRepresentationObject getToNode()
public void setFromNode(IlpRepresentationObject node)
public void setToNode(IlpRepresentationObject node)
public IltLinkPort getFromPort()
IltLinkPort
or null
public IltLinkPort getToPort()
IltLinkPort
or null
public void setFromPort(IltLinkPort port)
public void setToPort(IltLinkPort port)
public IlpPolyline getNewPosition()
public void setNewPosition(IlpPolyline position)
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.