public class IlvMakeConstraintInteractor extends IlvMakeLinkInteractor
IlvConstraint
object
in an IlvGanttSheet
object.
To install the interactor, call the method setInteractor
of
the class IlvGanttSheet
.
Once the interactor is installed, you can use it to create
IlvConstraint
objects.
IlvConstraint
will link.IlvConstraint
will link.IlvConstraint
objects depending on whether you click on the start or on the end of the
activity graphics.
This interactor works only with IlvGanttSheet
objects.
Constructor and Description |
---|
IlvMakeConstraintInteractor()
Creates an
IlvMakeConstraintInteractor object. |
Modifier and Type | Method and Description |
---|---|
void |
abort()
This function is called when the user presses the
Esc key
to abort the current interaction. |
IlvGanttModel |
getGanttModel()
Returns the data model that the Gantt sheet is currently displaying.
|
protected void |
processKeyEvent(KeyEvent e)
Processes the key events.
|
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, removeFocusListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, setXORGhost
public IlvMakeConstraintInteractor()
IlvMakeConstraintInteractor
object.public final IlvGanttModel getGanttModel()
IlvGanttModel
.protected void processKeyEvent(KeyEvent e)
Esc
is pressed then
the interaction will be aborted.processKeyEvent
in class IlvManagerViewInteractor
e
- The KeyEvent
.abort()
public void abort()
Esc
key
to abort the current interaction.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.