public class RectangleRubberBandListener
extends edu.umd.cs.piccolo.event.PBasicInputEventHandler
| Modifier and Type | Field and Description |
|---|---|
protected Point2D |
dragPoint
The current drag location.
|
protected Point2D |
pressPoint
The mouse press location for the current pressed, drag and release sequence.
|
protected edu.umd.cs.piccolo.nodes.PPath |
rectangle
The rectangle that is currently getting created.
|
protected boolean |
rectangleEmpty |
| Constructor and Description |
|---|
RectangleRubberBandListener()
Creates a new instance of RectangleRubberBandListener.
|
| Modifier and Type | Method and Description |
|---|---|
void |
mouseDragged(edu.umd.cs.piccolo.event.PInputEvent e) |
void |
mousePressed(edu.umd.cs.piccolo.event.PInputEvent e) |
void |
mouseReleased(edu.umd.cs.piccolo.event.PInputEvent e) |
acceptsEvent, getEventFilter, keyboardFocusGained, keyboardFocusLost, keyPressed, keyReleased, keyTyped, mouseClicked, mouseEntered, mouseExited, mouseMoved, mouseWheelRotated, mouseWheelRotatedByBlock, paramString, processEvent, setEventFilter, toStringprotected edu.umd.cs.piccolo.nodes.PPath rectangle
protected Point2D pressPoint
protected Point2D dragPoint
protected boolean rectangleEmpty
public RectangleRubberBandListener()
public void mousePressed(edu.umd.cs.piccolo.event.PInputEvent e)
mousePressed in class edu.umd.cs.piccolo.event.PBasicInputEventHandlerpublic void mouseDragged(edu.umd.cs.piccolo.event.PInputEvent e)
mouseDragged in class edu.umd.cs.piccolo.event.PBasicInputEventHandlerpublic void mouseReleased(edu.umd.cs.piccolo.event.PInputEvent e)
mouseReleased in class edu.umd.cs.piccolo.event.PBasicInputEventHandlerCopyright © 2012–2026 cismet GmbH. All rights reserved.