public class IlvSDMCompositeSelectInteractor extends IlvSelectInteractor
IlvSelectInteractor
handles the selection of objects that are contained in
IlvCompositeGraphic objects (instead of being contained
in an IlvGrapher, which is the normal case).
You need to use this interactor only if you use the "ParentName" rendering
property defined by the IlvCompositeRenderer.
| Constructor and Description |
|---|
IlvSDMCompositeSelectInteractor()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
attach(IlvManagerView v)
Checks that the view is attached to an SDM engine.
|
void |
deSelectAll()
Deselects all objects, including objects inside composite graphics.
|
void |
deSelectObject(IlvGraphic obj)
If the deselected object is a composite graphic, this method looks
for an SDM object at the location of the mouse event that caused the deselection,
and deselects it.
|
protected boolean |
mouseDown(MouseEvent event)
Records the position of the mouse event.
|
void |
selectObject(IlvGraphic obj)
If the selected object is a composite graphic, this method looks
for an SDM object at the location of the mouse event that caused the selection,
and selects it.
|
detach, dispatchToSelection, drawGhostMove, getLineStyle, getMaximumScrollDistance, getMoveSelectionCursor, getMoveSelectionInteractor, getMoveSelectionManager, getMoveThreshold, getMultipleSelectionCursor, getMultipleSelectionInteractor, getMultipleSelectionModifier, getMultipleSelectionModifierEx, getObject, getScrollTiming, getSelectedMovingObjects, getSelectionModifier, getSelectionModifierEx, handleExpose, isDragAllowed, isEditionAllowed, isHyperEdgesFollowEndNodes, isLinksFollowEndNodes, isMoveAffectsSingleSubManager, isMoveAllowed, isMultipleSelectionMode, isMultipleSelectionModifierDown, isObjectInteractorEnabled, isOpaqueDragSelection, isOpaqueMove, isOpaquePolyPointsEdition, isOpaqueResize, isProgressiveScroll, isSelectionInsideSubobjectsAllowed, isSelectionModifierDown, isSelectionMovable, isShowingMovingObject, mouseDownMultipleSelection, processFocusEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, selectionChanged, setDragAllowed, setEditionAllowed, setHyperEdgesFollowEndNodes, setLineStyle, setLinksFollowEndNodes, setMaximumScrollDistance, setMoveAffectsSingleSubManager, setMoveAllowed, setMoveSelectionCursor, setMoveThreshold, setMultipleSelectionCursor, setMultipleSelectionMode, setMultipleSelectionModifier, setObjectInteractorEnabled, setOpaqueDragSelection, setOpaqueMove, setOpaquePolyPointsEdition, setOpaqueResize, setProgressiveScroll, setScrollTiming, setSelectionInsideSubobjectsAllowed, setSelectionModifier, setShowingMovingObject, setXORGhostaddFocusListener, addKeyListener, addMouseListener, addMouseMotionListener, allowEnsureVisible, allowEnsureVisible, disableEvents, drawGhost, drawGhost, enableEvents, ensureVisible, ensureVisible, getManager, getManagerView, getTransformer, isXORGhost, processEvent, removeFocusListener, removeKeyListener, removeMouseListener, removeMouseMotionListenerpublic IlvSDMCompositeSelectInteractor()
protected void attach(IlvManagerView v)
attach in class IlvSelectInteractorv - The new manager view to which this interactor is attached.IlvManagerViewInteractor.detach()protected boolean mouseDown(MouseEvent event)
mouseDown in class IlvSelectInteractorevent - The mouse event to process.public void selectObject(IlvGraphic obj)
selectObject in class IlvSelectInteractorobj - The "toplevel" selected graphic object.IlvSelectInteractorMultipleSelectionpublic void deSelectObject(IlvGraphic obj)
deSelectObject in class IlvSelectInteractorobj - The "toplevel" deselected graphic object.IlvSelectInteractorMultipleSelectionpublic void deSelectAll()
deSelectAll in class IlvSelectInteractorIlvSelectInteractorMultipleSelection© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.