public class IlvMakeLineInteractor extends IlvMakePolyPointsInteractor implements IlvPolyPointsObjectFactory
IlvLine
.Constructor and Description |
---|
IlvMakeLineInteractor()
Creates and initializes the interactor.
|
Modifier and Type | Method and Description |
---|---|
IlvGraphic |
createObject(IlvPoint[] points)
Called by the interactor to
create the
IlvLine . |
protected void |
drawGhost(Graphics g)
Draws the line while the object is being created.
|
accept, addPolyPoints, allowsMultiplePoints, allowsMultiplePoints, attach, count, detach, doIt, endOnDoubleClick, getBackground, getCursor, getForeground, getMinPointsDistance, getObjectFactory, getPoints, isAllowingMultiplePoints, isCreationInSubManagersAllowed, isGrapherMode, isGridMode, isOpaqueMode, isPermanent, isSelectionMode, isXORGhost, makePolyPoint, numberOfPointsReached, processMouseEvent, processMouseMotionEvent, react, reInitialize, setAllowingMultiplePoints, setBackground, setCreationInSubManagersAllowed, setCursor, setForeground, setGrapherMode, setGridMode, setMinPointsDistance, setObjectFactory, setOpaqueMode, setPermanent, setSelectionMode
addFocusListener, addKeyListener, addMouseListener, addMouseMotionListener, allowEnsureVisible, allowEnsureVisible, disableEvents, drawGhost, enableEvents, ensureVisible, ensureVisible, getManager, getManagerView, getTransformer, handleExpose, processEvent, processFocusEvent, processKeyEvent, removeFocusListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, setXORGhost
public IlvMakeLineInteractor()
public IlvGraphic createObject(IlvPoint[] points)
IlvLine
.createObject
in interface IlvPolyPointsObjectFactory
points
- The control points of the line.protected void drawGhost(Graphics g)
drawGhost
in class IlvMakePolyPointsInteractor
g
- The Graphics.IlvMakePolyPointsInteractor.setOpaqueMode(boolean)
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.