public class HoverToPick extends PickInteractionHandler
currentInstance, pickedInstances, pickWhileDragging, selectedInstances_formatcommand, fixedScale, fixedTranslate, multiplyScale, multiplyTranslateX, Y, Z| Constructor and Description |
|---|
HoverToPick() |
| 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 |
mouseEntered(RecordPlot plot,
MouseEvent event) |
void |
mouseExited(RecordPlot plot,
MouseEvent event) |
void |
mouseMoved(RecordPlot plot,
MouseEvent event) |
void |
mouseWheelMoved(RecordPlot plot,
MouseWheelEvent event) |
void |
setRecord(RecordPlot plot,
Object record) |
void |
setSelected(RecordPlot plot,
boolean selected)
Called when underlying plot is selected/unselected.
|
String |
toString() |
void |
translateToPicked(RecordPlot plot) |
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, setSelection, stateChangedgetInstance, getLastScale, isControlMetaDown, isMac, otherKeyPressedaltKeyPressed, altKeyReleased, ctrlKeyPressed, ctrlKeyReleased, ctrlMetaKeyPressed, ctrlMetaKeyReleased, equals, escKeyPressed, escKeyReleased, getHeight, getID, getName, getWidth, hashCode, keyTyped, metaKeyPressed, metaKeyReleased, mouseButton1DragEnded, mouseButton1Dragged, mouseButton1DragStarted, mouseButton1Pressed, mouseButton1Released, otherKeyReleased, reset, restore, save, setSize, shiftKeyPressed, shiftKeyReleasedpublic Icon getIcon(int size)
getIcon in interface InteractionHandlergetIcon in class AbstractInteractionHandlerpublic boolean isRegionZoomable()
public String getDescription()
getDescription in interface InteractionHandlergetDescription in class DefaultInteractionHandlerpublic void update(RecordPlot plot)
update in interface PickHandlerupdate in class PickInteractionHandlerpublic void zoomIntoRegion(RecordPlot plot)
public void translateToPicked(RecordPlot plot)
translateToPicked in interface PickHandlertranslateToPicked in class PickInteractionHandlerprotected void clearShape(RecordPlot plot)
clearShape in class PickInteractionHandlerpublic void setSelected(RecordPlot plot, boolean selected)
DefaultWiredInteractionHandlersetSelected in interface InteractionHandlersetSelected in class PickInteractionHandlerpublic void setRecord(RecordPlot plot, Object record)
setRecord in interface InteractionHandlersetRecord in class PickInteractionHandlerpublic void changeCursor(RecordPlot plot, InputEvent event)
changeCursor in interface InteractionHandlerchangeCursor in class DefaultInteractionHandlerpublic void mouseMoved(RecordPlot plot, MouseEvent event)
mouseMoved in interface InteractionHandlermouseMoved in class DefaultWiredInteractionHandlerpublic void mouseButton1Clicked(RecordPlot plot, MouseEvent event)
mouseButton1Clicked in interface InteractionHandlermouseButton1Clicked in class AbstractInteractionHandlerpublic void mouseEntered(RecordPlot plot, MouseEvent event)
mouseEntered in interface InteractionHandlermouseEntered in class DefaultInteractionHandlerpublic void mouseExited(RecordPlot plot, MouseEvent event)
mouseExited in interface InteractionHandlermouseExited in class DefaultWiredInteractionHandlerpublic void mouseWheelMoved(RecordPlot plot, MouseWheelEvent event)
mouseWheelMoved in interface InteractionHandlermouseWheelMoved in class DefaultInteractionHandlerCopyright © 1996-2014 FreeHEP. All Rights Reserved.