public class IlvMakePolyLinkInteractor extends IlvMakeLinkInteractor implements IlvLinkImageFactory
IlvPolylineLinkImage
between two nodes of a grapher.IlvPolylineLinkImage
,
Serialized FormConstructor and Description |
---|
IlvMakePolyLinkInteractor()
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.
|
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 IlvMakePolyLinkInteractor()
public IlvLinkImage createObject(IlvGraphic from, IlvGraphic to, IlvPoint[] points, boolean oriented)
IlvPolylineLinkImage
.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()
makePolyPoint
.
The default implementation returns the IlvPolylineLinkImage class.getLinkImageClass
in interface IlvLinkImageFactory
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.