Package | Description |
---|---|
edu.umd.cs.piccolo.event |
This package supports Piccolo event handlers.
|
edu.umd.cs.piccolo.util |
This package defines several utility classes that are likely
to be useful for Piccolo applications.
|
edu.umd.cs.piccolox.handles |
This package contains handle nodes.
|
edu.umd.cs.piccolox.swt |
This package provides a SWT implementation of the core Piccolo library.
|
Modifier and Type | Method and Description |
---|---|
PDimension |
PInputEvent.getCanvasDelta()
Return the delta between the last and current mouse position in PCanvas
coordinates.
|
PDimension |
PInputEvent.getDelta()
Return the delta between the last and current mouse positions transformed
through the view transform of the bottom camera.
|
PDimension |
PInputEvent.getDeltaRelativeTo(PNode nodeOnPath)
Return the delta between the last and current mouse positions relative to
a given node on the pick path.
|
Modifier and Type | Method and Description |
---|---|
PDimension |
PBounds.deltaRequiredToCenter(Rectangle2D targetBounds)
Returns the required translation in order for this bounds origin to sit
on the center of the provided rectangle.
|
PDimension |
PBounds.deltaRequiredToContain(Rectangle2D targetBounds)
Returns the required translation in order for these to contain the bounds
provided.
|
Modifier and Type | Method and Description |
---|---|
void |
PHandle.dragHandle(PDimension aLocalDimension,
PInputEvent aEvent)
Override this method to get notified as the handle is dragged.
|
void |
PBoundsHandle.dragHandle(PDimension aLocalDimension,
PInputEvent aEvent)
Is invoked when the handle is being dragged.
|
Modifier and Type | Method and Description |
---|---|
void |
PSWTHandle.dragHandle(PDimension aLocalDimension,
PInputEvent aEvent)
Override this method to get notified as the handle is dragged.
|
void |
PSWTBoundsHandle.dragHandle(PDimension aLocalDimension,
PInputEvent aEvent)
Callback invoked when the user is dragging the handle.
|
Copyright © 1995-2013 Piccolo2D. All Rights Reserved.