public class IlvMakeOneLinkImageInteractor extends IlvMakeLinkInteractor implements IlvLinkImageFactory
IlvGrapher with
an IlvOneLinkImage.
This interactor must be attached to an IlvGrapher.IlvOneLinkImage,
IlvGrapher,
Serialized Form| Constructor and Description |
|---|
IlvMakeOneLinkImageInteractor()
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
IlvOneLinkImage
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, unHighlightallowsMultiplePoints, 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, setPermanentaddFocusListener, addKeyListener, addMouseListener, addMouseMotionListener, allowEnsureVisible, allowEnsureVisible, disableEvents, drawGhost, enableEvents, ensureVisible, ensureVisible, getManager, getManagerView, getTransformer, handleExpose, processEvent, processFocusEvent, processKeyEvent, removeFocusListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, setXORGhostpublic IlvMakeOneLinkImageInteractor()
public final int getOrientation()
IlvOneLinkImage
that is created.public final void setOrientation(int orientation)
IlvOneLinkImage
that is created.public IlvLinkImage createObject(IlvGraphic from, IlvGraphic to, IlvPoint[] points, boolean oriented)
IlvOneLinkImage.createObject in interface IlvLinkImageFactoryfrom - 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()
IlvOneLinkImage class.getLinkImageClass in interface IlvLinkImageFactory© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.