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)
Called to allow the InteractionHandler to change the cursor.
|
protected void |
clearShape(RecordPlot plot) |
String |
getDescription()
Returns a one line description.
|
Icon |
getIcon(int size)
Returns associated icon
|
boolean |
isRegionZoomable() |
void |
mouseButton1Clicked(RecordPlot plot,
MouseEvent event)
Called when mouse button 1 is clicked
|
void |
mouseEntered(RecordPlot plot,
MouseEvent event)
Called when the mouse is entering the component
|
void |
mouseExited(RecordPlot plot,
MouseEvent event)
Called when the mouse is exitting the component
|
void |
mouseMoved(RecordPlot plot,
MouseEvent event)
Called when the mouse is moved
|
void |
mouseWheelMoved(RecordPlot plot,
MouseWheelEvent event)
Called when the mousewheel is moved
|
void |
setRecord(RecordPlot plot,
Object record)
Sets the Record which is displayed in the GraphicsPanel.
|
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)
InteractionHandlergetIcon in interface InteractionHandlergetIcon in class AbstractInteractionHandlerpublic boolean isRegionZoomable()
public String getDescription()
InteractionHandlergetDescription 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)
InteractionHandlersetRecord in interface InteractionHandlersetRecord in class PickInteractionHandlerpublic void changeCursor(RecordPlot plot, InputEvent event)
InteractionHandlerchangeCursor in interface InteractionHandlerchangeCursor in class DefaultInteractionHandlerpublic void mouseMoved(RecordPlot plot, MouseEvent event)
InteractionHandlermouseMoved in interface InteractionHandlermouseMoved in class DefaultWiredInteractionHandlerpublic void mouseButton1Clicked(RecordPlot plot, MouseEvent event)
InteractionHandlermouseButton1Clicked in interface InteractionHandlermouseButton1Clicked in class AbstractInteractionHandlerpublic void mouseEntered(RecordPlot plot, MouseEvent event)
InteractionHandlermouseEntered in interface InteractionHandlermouseEntered in class DefaultInteractionHandlerpublic void mouseExited(RecordPlot plot, MouseEvent event)
InteractionHandlermouseExited in interface InteractionHandlermouseExited in class DefaultWiredInteractionHandlerpublic void mouseWheelMoved(RecordPlot plot, MouseWheelEvent event)
InteractionHandlermouseWheelMoved in interface InteractionHandlermouseWheelMoved in class DefaultInteractionHandlerCopyright © 1996-2014 FreeHEP. All Rights Reserved.