public class DragRectangleToPick extends PickInteractionHandler implements PickHandler, XYZindices
currentInstance, pickedInstances, pickWhileDragging, selectedInstances
_format
command, fixedScale, fixedTranslate, multiplyScale, multiplyTranslate
X, 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, translateToPicked
mouseExited, mouseMoved
getInstance, getLastScale, isControlMetaDown, isMac, mouseWheelMoved, otherKeyPressed
altKeyPressed, altKeyReleased, ctrlKeyPressed, ctrlKeyReleased, ctrlMetaKeyPressed, ctrlMetaKeyReleased, equals, escKeyPressed, escKeyReleased, getHeight, getID, getName, getWidth, hashCode, keyTyped, metaKeyPressed, metaKeyReleased, mouseButton1Pressed, mouseButton1Released, otherKeyReleased, reset, restore, save, shiftKeyPressed, shiftKeyReleased
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
canSetPickWhileDragging, isPickedTranslateable, isPickWhileDragging, setPickWhileDragging, setSelection, translateToPicked
public void update(RecordPlot plot)
PickInteractionHandler
update
in interface PickHandler
update
in class PickInteractionHandler
public boolean isRegionZoomable()
isRegionZoomable
in interface PickHandler
public void zoomIntoRegion(RecordPlot plot)
zoomIntoRegion
in interface PickHandler
public void setSelected(RecordPlot plot, boolean selected)
DefaultWiredInteractionHandler
setSelected
in interface InteractionHandler
setSelected
in class PickInteractionHandler
public void setSize(RecordPlot plot, int width, int height)
setSize
in interface InteractionHandler
setSize
in class AbstractInteractionHandler
public Icon getIcon(int size)
getIcon
in interface InteractionHandler
getIcon
in class AbstractInteractionHandler
public String getDescription()
getDescription
in interface InteractionHandler
getDescription
in class DefaultInteractionHandler
public void changeCursor(RecordPlot plot, InputEvent event)
changeCursor
in interface InteractionHandler
changeCursor
in class DefaultInteractionHandler
public void mouseButton1Clicked(RecordPlot plot, MouseEvent event)
mouseButton1Clicked
in interface InteractionHandler
mouseButton1Clicked
in class AbstractInteractionHandler
public void mouseButton1DragStarted(RecordPlot plot, MouseEvent event)
mouseButton1DragStarted
in interface InteractionHandler
mouseButton1DragStarted
in class AbstractInteractionHandler
public void mouseButton1Dragged(RecordPlot plot, MouseEvent event)
mouseButton1Dragged
in interface InteractionHandler
mouseButton1Dragged
in class AbstractInteractionHandler
public void mouseButton1DragEnded(RecordPlot plot, MouseEvent event)
mouseButton1DragEnded
in interface InteractionHandler
mouseButton1DragEnded
in class AbstractInteractionHandler
public void mouseEntered(RecordPlot plot, MouseEvent event)
mouseEntered
in interface InteractionHandler
mouseEntered
in class DefaultInteractionHandler
protected void clearShape(RecordPlot plot)
clearShape
in class PickInteractionHandler
Copyright © 1996-2014 FreeHEP. All Rights Reserved.