public class DragRectangleToPick extends PickInteractionHandler implements PickHandler, XYZindices
currentInstance, pickedInstances, pickWhileDragging, selectedInstances_formatcommand, fixedScale, fixedTranslate, multiplyScale, multiplyTranslateX, Y, Z| Constructor and Description |
|---|
DragRectangleToPick() |
| Modifier and Type | Method and Description |
|---|---|
void |
changeCursor(RecordPlot plot,
InputEvent event) |
protected void |
clearShape(RecordPlot plot) |
String |
getDescription() |
Icon |
getIcon(int size) |
boolean |
isRegionZoomable() |
void |
mouseButton1Clicked(RecordPlot plot,
MouseEvent event) |
void |
mouseButton1DragEnded(RecordPlot plot,
MouseEvent event) |
void |
mouseButton1Dragged(RecordPlot plot,
MouseEvent event) |
void |
mouseButton1DragStarted(RecordPlot plot,
MouseEvent event) |
void |
mouseEntered(RecordPlot plot,
MouseEvent event) |
void |
setSelected(RecordPlot plot,
boolean selected)
Called when underlying plot is selected/unselected.
|
void |
setSize(RecordPlot plot,
int width,
int height) |
String |
toString() |
void |
update(RecordPlot plot)
Performs picking action based on current cursor location if possible,
decorates the plot and informs it of newly picked objects.
|
void |
zoomIntoRegion(RecordPlot plot) |
canSetPickWhileDragging, info, isPickedTranslateable, isPickWhileDragging, isSupportedBy, setPickWhileDragging, setRecord, setSelection, stateChanged, translateToPickedmouseExited, mouseMovedgetInstance, getLastScale, isControlMetaDown, isMac, mouseWheelMoved, otherKeyPressedaltKeyPressed, altKeyReleased, ctrlKeyPressed, ctrlKeyReleased, ctrlMetaKeyPressed, ctrlMetaKeyReleased, equals, escKeyPressed, escKeyReleased, getHeight, getID, getName, getWidth, hashCode, keyTyped, metaKeyPressed, metaKeyReleased, mouseButton1Pressed, mouseButton1Released, otherKeyReleased, reset, restore, save, shiftKeyPressed, shiftKeyReleasedclone, finalize, getClass, notify, notifyAll, wait, wait, waitcanSetPickWhileDragging, isPickedTranslateable, isPickWhileDragging, setPickWhileDragging, setSelection, translateToPickedpublic void update(RecordPlot plot)
PickInteractionHandlerupdate in interface PickHandlerupdate in class PickInteractionHandlerpublic boolean isRegionZoomable()
isRegionZoomable in interface PickHandlerpublic void zoomIntoRegion(RecordPlot plot)
zoomIntoRegion in interface PickHandlerpublic void setSelected(RecordPlot plot, boolean selected)
DefaultWiredInteractionHandlersetSelected in interface InteractionHandlersetSelected in class PickInteractionHandlerpublic void setSize(RecordPlot plot, int width, int height)
setSize in interface InteractionHandlersetSize in class AbstractInteractionHandlerpublic Icon getIcon(int size)
getIcon in interface InteractionHandlergetIcon in class AbstractInteractionHandlerpublic String getDescription()
getDescription in interface InteractionHandlergetDescription in class DefaultInteractionHandlerpublic void changeCursor(RecordPlot plot, InputEvent event)
changeCursor in interface InteractionHandlerchangeCursor in class DefaultInteractionHandlerpublic void mouseButton1Clicked(RecordPlot plot, MouseEvent event)
mouseButton1Clicked in interface InteractionHandlermouseButton1Clicked in class AbstractInteractionHandlerpublic void mouseButton1DragStarted(RecordPlot plot, MouseEvent event)
mouseButton1DragStarted in interface InteractionHandlermouseButton1DragStarted in class AbstractInteractionHandlerpublic void mouseButton1Dragged(RecordPlot plot, MouseEvent event)
mouseButton1Dragged in interface InteractionHandlermouseButton1Dragged in class AbstractInteractionHandlerpublic void mouseButton1DragEnded(RecordPlot plot, MouseEvent event)
mouseButton1DragEnded in interface InteractionHandlermouseButton1DragEnded in class AbstractInteractionHandlerpublic void mouseEntered(RecordPlot plot, MouseEvent event)
mouseEntered in interface InteractionHandlermouseEntered in class DefaultInteractionHandlerprotected void clearShape(RecordPlot plot)
clearShape in class PickInteractionHandlerCopyright © 1996-2014 FreeHEP. All Rights Reserved.