public class IlvBPMNMakeSDMNodeInteractor extends IlvMakeSDMNodeInteractor
IlvBPMNMakeSDMNodeInteractor creates nodes to represent
BPMN objects. In particular, it allows you to create Interrupt Intermediate Events
and Association objects.| Constructor and Description |
|---|
IlvBPMNMakeSDMNodeInteractor()
Creates an
IlvBPMNMakeSDMNodeInteractor. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
attach(IlvManagerView v)
This method is called when the interactor
is attached to the specified manager view.
|
protected IlvEditSDMLabelInteractor |
createEditLabelInteractor()
Factory to create the edit label interactor, used in
IlvMakeSDMNodeInteractor.createNode(double, double) when autoEditLabel is true. |
protected void |
createNode(double x,
double y)
Creates the new node.
|
protected void |
detach()
This method is called when the interactor
is detached from the specified manager view.
|
protected void |
drawGhost(Graphics g)
Draws the ghost when creating an Association object.
|
protected void |
highlight(Object obj)
Highlights an object when moving over it.
|
protected void |
processMouseEvent(MouseEvent event)
Processes the mouse events.
|
protected void |
processMouseMotionEvent(MouseEvent event)
Processes the mouse motion events.
|
getCursor, getEngine, getPrototypeModel, getPrototypeObject, getTag, init, isAutoEditLabel, isGridMode, isPermanent, processKeyEvent, setAutoEditLabel, setCursor, setGridMode, setNodeProperties, setPermanent, setPrototypeObject, setTagaddFocusListener, addKeyListener, addMouseListener, addMouseMotionListener, allowEnsureVisible, allowEnsureVisible, disableEvents, drawGhost, enableEvents, ensureVisible, ensureVisible, getManager, getManagerView, getTransformer, handleExpose, isXORGhost, processEvent, processFocusEvent, removeFocusListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, setXORGhostpublic IlvBPMNMakeSDMNodeInteractor()
IlvBPMNMakeSDMNodeInteractor.protected void createNode(double x,
double y)
Interrupt property to true when
the node is created inside a Task or a collapsed Sub-Process,
or when the node is created at the bottom of an expanded Sub-Process.createNode in class IlvMakeSDMNodeInteractorx - The x-position in manager coordinates.y - The y-position in manager coordinates.protected void processMouseEvent(MouseEvent event)
processMouseEvent in class IlvMakeSDMNodeInteractorevent - The event.IlvManagerViewInteractor.addMouseListener(java.awt.event.MouseListener)protected void processMouseMotionEvent(MouseEvent event)
processMouseMotionEvent in class IlvManagerViewInteractorevent - The event.IlvManagerViewInteractor.addMouseMotionListener(java.awt.event.MouseMotionListener)protected void highlight(Object obj)
obj - The object to highlightprotected void attach(IlvManagerView v)
attach in class IlvMakeSDMNodeInteractorv - The manager view.IlvManagerViewInteractor.detach()protected void detach()
detach in class IlvMakeSDMNodeInteractorIlvManagerViewInteractor.attach(ilog.views.IlvManagerView)protected void drawGhost(Graphics g)
drawGhost in class IlvManagerViewInteractorg - The graphics context.
Its current color is already set to the view's default ghost
color, see IlvManagerView.getDefaultGhostColor().
Also, in XOR ghost drawing mode, the graphics context is already
set to XOR mode, with the view's default XOR color, see
IlvManagerView.getDefaultXORColor().IlvManagerViewInteractor.handleExpose(java.awt.Graphics),
IlvManagerViewInteractor.setXORGhost(boolean)protected IlvEditSDMLabelInteractor createEditLabelInteractor()
IlvMakeSDMNodeInteractor.createNode(double, double) when autoEditLabel is true.createEditLabelInteractor in class IlvMakeSDMNodeInteractorIlvEditSDMLabelInteractorIlvMakeSDMNodeInteractor.setAutoEditLabel(boolean)© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.