public class IlvMakeDoubleLinkImageInteractor extends IlvMakeLinkInteractor implements IlvLinkImageFactory
IlvGrapher
with
an IlvDoubleLinkImage
.
This interactor must be attached to an IlvGrapher.IlvDoubleLinkImage
,
IlvGrapher
,
Serialized FormConstructor and Description |
---|
IlvMakeDoubleLinkImageInteractor()
Creates and initializes the interactor.
|
Modifier and Type | Method and Description |
---|---|
IlvLinkImage |
createObject(IlvGraphic from,
IlvGraphic to,
IlvPoint[] points,
boolean oriented)
Creates the link instance.
|
Class |
getLinkImageClass()
Returns the class created by this interactor.
|
int |
getOrientation()
Returns the orientation of the
IlvDoubleLinkImage
that is created. |
void |
setOrientation(int orientation)
Allows to modify the orientation of the
IlvOneLinkImage
that is created. |
accept, acceptDestination, acceptOrigin, addPolyPoints, attach, doIt, drawGhost, endOnDoubleClick, getFrom, getGrapher, getLinkClass, getLinkFactory, getTo, highlight, isGridMode, isOriented, isSelectionMode, isSelfLinkAllowed, makePolyPoint, numberOfPointsReached, react, reInitialize, setLinkFactory, setOriented, setSelectionMode, setSelfLinkAllowed, unHighlight
allowsMultiplePoints, allowsMultiplePoints, count, detach, getBackground, getCursor, getForeground, getMinPointsDistance, getObjectFactory, getPoints, isAllowingMultiplePoints, isCreationInSubManagersAllowed, isGrapherMode, isOpaqueMode, isPermanent, isXORGhost, processMouseEvent, processMouseMotionEvent, setAllowingMultiplePoints, setBackground, setCreationInSubManagersAllowed, setCursor, setForeground, setGrapherMode, setGridMode, setMinPointsDistance, setObjectFactory, setOpaqueMode, setPermanent
addFocusListener, addKeyListener, addMouseListener, addMouseMotionListener, allowEnsureVisible, allowEnsureVisible, disableEvents, drawGhost, enableEvents, ensureVisible, ensureVisible, getManager, getManagerView, getTransformer, handleExpose, processEvent, processFocusEvent, processKeyEvent, removeFocusListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, setXORGhost
public IlvMakeDoubleLinkImageInteractor()
public final int getOrientation()
IlvDoubleLinkImage
that is created.public final void setOrientation(int orientation)
IlvOneLinkImage
that is created.public IlvLinkImage createObject(IlvGraphic from, IlvGraphic to, IlvPoint[] points, boolean oriented)
IlvDoubleLinkImage
.createObject
in interface IlvLinkImageFactory
from
- the starting node of the link.to
- the ending node of the link.points
- the points defining the link, including origin and
destination points.oriented
- true if the link must be ended by an arrow showing
the orientation.public Class getLinkImageClass()
IlvDoubleLinkImage
class.getLinkImageClass
in interface IlvLinkImageFactory
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.