public class FeatureMoveListener
extends edu.umd.cs.piccolo.event.PBasicInputEventHandler
| Modifier and Type | Field and Description |
|---|---|
protected edu.umd.cs.piccolo.util.PDimension |
dragDim |
protected Point2D |
dragPoint |
protected Vector |
features |
protected MappingComponent |
mc |
protected PFeature |
pFeature |
protected Point2D |
pressPoint |
static String |
SELECTION_CHANGED_NOTIFICATION |
| Constructor and Description |
|---|
FeatureMoveListener(MappingComponent mc)
Creates a new instance of FeatureMoveListener.
|
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup()
DOCUMENT ME!
|
void |
mouseDragged(edu.umd.cs.piccolo.event.PInputEvent e) |
void |
mouseMoved(edu.umd.cs.piccolo.event.PInputEvent event) |
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, mouseWheelRotated, mouseWheelRotatedByBlock, paramString, processEvent, setEventFilter, toStringpublic static final String SELECTION_CHANGED_NOTIFICATION
protected Point2D pressPoint
protected Point2D dragPoint
protected edu.umd.cs.piccolo.util.PDimension dragDim
protected PFeature pFeature
protected MappingComponent mc
protected Vector features
public FeatureMoveListener(MappingComponent mc)
mc - DOCUMENT ME!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.PBasicInputEventHandlerpublic void mouseMoved(edu.umd.cs.piccolo.event.PInputEvent event)
mouseMoved in class edu.umd.cs.piccolo.event.PBasicInputEventHandlerpublic void cleanup()
Copyright © 2012–2025 cismet GmbH. All rights reserved.