public class IlvSelectInteractorMultipleSelection extends IlvDragRectangleInteractor
IlvSelectInteractor
to select all
objects in a rectangle.Constructor and Description |
---|
IlvSelectInteractorMultipleSelection(IlvSelectInteractor inter)
Creates a new
IlvSelectInteractorMultipleSelection referring
to the specified IlvSelectInteractor . |
Modifier and Type | Method and Description |
---|---|
protected void |
fireRectangleDraggedEvent(IlvRect rectangle,
MouseEvent event)
Called when the user releases the mouse button after the drag.
|
double |
getMaximumScrollDistance()
Returns the maximal distance of scroll operations when the mouse moves
outside the manager view.
|
int |
getScrollTiming()
Returns the timing of repetitive scroll operations when the mouse moves
outside
the manager view.
|
IlvSelectInteractor |
getSelectInteractor()
Returns the associated
IlvSelectInteractor . |
boolean |
isOpaqueMode()
Returns an indication of whether the interactor is in Opaque
mode or not.
|
boolean |
isProgressiveScroll()
Returns whether progressive scrolling is enabled.
|
boolean |
isXORGhost()
Returns the ghost drawing mode.
|
protected void |
selectObject(IlvGraphic obj)
Called when selecting a graphic object.
|
protected void |
selectObjects(IlvRect rect)
Called when selecting objects in a rectangle.
|
addRectangleDraggedListener, attach, detach, dragscroll, drawGhost, getCursor, getDraggedRectangle, getLineStyle, getRectangleAspectRatio, getStartDragModifier, getStartPoint, handleButtonDown, handleButtonDragged, handleButtonUp, isGridMode, isRotationAllowed, isStartDragModifierDown, processMouseEvent, processMouseMotionEvent, removeRectangleDraggedListener, setCursor, setGridMode, setLineStyle, setOpaqueMode, setRectangleAspectRatio, setRotationAllowed, setStartDragModifier
adjustPointIfOutsideView, doAutoScroll, setMaximumScrollDistance, setProgressiveScroll, setScrollTiming, startDraggingScrollTimer, stopDraggingScrollTimer
addFocusListener, addKeyListener, addMouseListener, addMouseMotionListener, allowEnsureVisible, allowEnsureVisible, disableEvents, drawGhost, enableEvents, ensureVisible, ensureVisible, getManager, getManagerView, getTransformer, handleExpose, processEvent, processFocusEvent, processKeyEvent, removeFocusListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, setXORGhost
public IlvSelectInteractorMultipleSelection(IlvSelectInteractor inter)
IlvSelectInteractorMultipleSelection
referring
to the specified IlvSelectInteractor
.inter
- The associated IlvSelectInteractor
.public IlvSelectInteractor getSelectInteractor()
IlvSelectInteractor
.public boolean isOpaqueMode()
This method is overridden in this class to return
the opaque multiple selection mode of the associated
IlvSelectInteractor
.
isOpaqueMode
in class IlvDragRectangleInteractor
IlvSelectInteractor.isOpaqueDragSelection()
,
IlvDragRectangleInteractor.setOpaqueMode(boolean)
public final boolean isXORGhost()
isOpaqueMode()
returns false
.isXORGhost
in class IlvDragRectangleInteractor
true
if the drawing needs to be performed in
XOR
mode, false
otherwise.IlvManagerViewInteractor.setXORGhost(boolean)
,
IlvManagerViewInteractor.handleExpose(java.awt.Graphics)
,
IlvManagerViewInteractor.drawGhost(java.awt.Graphics)
public int getScrollTiming()
getScrollTiming
in class IlvAbstractScrollInteractor
IlvAbstractScrollInteractor.setScrollTiming(int)
public double getMaximumScrollDistance()
getMaximumScrollDistance
in class IlvAbstractScrollInteractor
IlvAbstractScrollInteractor.setMaximumScrollDistance(double)
public boolean isProgressiveScroll()
isProgressiveScroll
in class IlvAbstractScrollInteractor
IlvAbstractScrollInteractor.setProgressiveScroll(boolean)
protected void fireRectangleDraggedEvent(IlvRect rectangle, MouseEvent event)
selectObjects
to select objects in
the rectangle.fireRectangleDraggedEvent
in class IlvDragRectangleInteractor
rectangle
- The dragged rectangle in the manager coordinate system.event
- The mouse-released event that corresponds to the end
of the drag.selectObjects(ilog.views.IlvRect)
protected void selectObjects(IlvRect rect)
rect
- The dragged rectangle in the manager coordinate system.selectObject(ilog.views.IlvGraphic)
protected void selectObject(IlvGraphic obj)
IlvSelectInteractor.selectObject(ilog.views.IlvGraphic)
method.obj
- The IlvGraphic
to select.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.