|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthep.wired.interaction.AbstractInteractionHandler
hep.wired.interaction.DefaultInteractionHandler
hep.wired.interaction.DragToRotate
public class DragToRotate
Drag mouse to rotate plot in Z-plane.
Field Summary |
---|
Fields inherited from class hep.wired.interaction.DefaultInteractionHandler |
---|
command, fixedScale, fixedTranslate, multiplyScale, multiplyTranslate |
Constructor Summary | |
---|---|
DragToRotate()
Create a drag handler to generate rotate edits. |
Method Summary | |
---|---|
void |
changeCursor(RecordPlot plot,
InputEvent event)
Called to allow the InteractionHandler to change the cursor. |
String |
getDescription()
Returns a one line description. |
Icon |
getIcon(int size)
Returns associated icon |
boolean |
isSupportedBy(GraphicsPanel panel)
Returns true if this Interaction Handler is supported by this Graphics Panel. |
void |
mouseButton1DragEnded(RecordPlot plot,
MouseEvent event)
Called when mouse button 1 is ending a drag |
void |
mouseButton1Dragged(RecordPlot plot,
MouseEvent event)
Called when mouse button 1 is dragged |
void |
mouseButton1DragStarted(RecordPlot plot,
MouseEvent event)
Called when mouse button 1 is starting a drag |
void |
mouseEntered(RecordPlot plot,
MouseEvent event)
Called when the mouse is entering the component |
void |
reset(RecordPlot plot,
InputEvent event)
Called to reset the interaction handler in its initial state. |
String |
toString()
|
Methods inherited from class hep.wired.interaction.DefaultInteractionHandler |
---|
getInstance, getLastScale, isControlMetaDown, isMac, mouseWheelMoved, otherKeyPressed |
Methods inherited from class hep.wired.interaction.AbstractInteractionHandler |
---|
altKeyPressed, altKeyReleased, ctrlKeyPressed, ctrlKeyReleased, ctrlMetaKeyPressed, ctrlMetaKeyReleased, equals, escKeyPressed, escKeyReleased, getHeight, getID, getName, getWidth, hashCode, keyTyped, metaKeyPressed, metaKeyReleased, mouseButton1Clicked, mouseButton1Pressed, mouseButton1Released, mouseExited, mouseMoved, otherKeyReleased, restore, save, setRecord, setSelected, setSize, shiftKeyPressed, shiftKeyReleased |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DragToRotate()
Method Detail |
---|
public Icon getIcon(int size)
InteractionHandler
getIcon
in interface InteractionHandler
getIcon
in class AbstractInteractionHandler
public String getDescription()
InteractionHandler
getDescription
in interface InteractionHandler
getDescription
in class DefaultInteractionHandler
public boolean isSupportedBy(GraphicsPanel panel)
InteractionHandler
isSupportedBy
in interface InteractionHandler
isSupportedBy
in class DefaultInteractionHandler
public void changeCursor(RecordPlot plot, InputEvent event)
InteractionHandler
changeCursor
in interface InteractionHandler
changeCursor
in class DefaultInteractionHandler
public void reset(RecordPlot plot, InputEvent event)
InteractionHandler
reset
in interface InteractionHandler
reset
in class AbstractInteractionHandler
public void mouseEntered(RecordPlot plot, MouseEvent event)
InteractionHandler
mouseEntered
in interface InteractionHandler
mouseEntered
in class DefaultInteractionHandler
public void mouseButton1DragStarted(RecordPlot plot, MouseEvent event)
InteractionHandler
mouseButton1DragStarted
in interface InteractionHandler
mouseButton1DragStarted
in class AbstractInteractionHandler
public void mouseButton1Dragged(RecordPlot plot, MouseEvent event)
InteractionHandler
mouseButton1Dragged
in interface InteractionHandler
mouseButton1Dragged
in class AbstractInteractionHandler
public void mouseButton1DragEnded(RecordPlot plot, MouseEvent event)
InteractionHandler
mouseButton1DragEnded
in interface InteractionHandler
mouseButton1DragEnded
in class AbstractInteractionHandler
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |