Class CameraDragAndDrop
java.lang.Object
org.variantsync.diffdetective.show.engine.InputListener
org.variantsync.diffdetective.show.engine.input.MouseDragListener
org.variantsync.diffdetective.show.engine.input.CameraDragAndDrop
- All Implemented Interfaces:
KeyListener,MouseListener,MouseMotionListener,MouseWheelListener,EventListener
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddragEnd()protected voidprotected voiddragUpdate(Vec2 windowPos) Methods inherited from class org.variantsync.diffdetective.show.engine.input.MouseDragListener
mouseDragged, mousePressed, mouseReleasedMethods inherited from class org.variantsync.diffdetective.show.engine.InputListener
getWindow, keyPressed, keyReleased, keyTyped, mouseClicked, mouseEntered, mouseExited, mouseMoved, mouseWheelMoved
-
Field Details
-
camDelta
-
-
Constructor Details
-
CameraDragAndDrop
public CameraDragAndDrop(int dragAndDropMouseButton)
-
-
Method Details
-
dragStart
- Specified by:
dragStartin classMouseDragListener
-
dragUpdate
- Specified by:
dragUpdatein classMouseDragListener
-
dragEnd
protected void dragEnd()- Specified by:
dragEndin classMouseDragListener
-