public class GEventDragElement extends GAbstractEvent
| Modifier and Type | Field and Description |
|---|---|
GElement |
dragElement |
protected Vector2D |
dragElementOffset |
protected boolean |
dragging |
protected Point |
p1 |
protected Point |
p2 |
delegate, manager, view| Constructor and Description |
|---|
GEventDragElement(GView view) |
| Modifier and Type | Method and Description |
|---|---|
void |
mouseDragged(MouseEvent e,
Point mousePosition) |
void |
mousePressed(MouseEvent e,
Point mousePosition) |
void |
mouseReleased(MouseEvent e,
Point mousePosition) |
addExclusiveValue, draw, hasExclusiveValue, mouseMoved, removeExclusiveValue, setDelegate, setManager, shouldFocusOnElementpublic GElement dragElement
protected boolean dragging
protected Point p1
protected Point p2
protected Vector2D dragElementOffset
public GEventDragElement(GView view)
public void mousePressed(MouseEvent e, Point mousePosition)
mousePressed in class GAbstractEventpublic void mouseReleased(MouseEvent e, Point mousePosition)
mouseReleased in class GAbstractEventpublic void mouseDragged(MouseEvent e, Point mousePosition)
mouseDragged in class GAbstractEventCopyright © 2013. All rights reserved.