|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectdiva.canvas.interactor.AbstractInteractor
diva.canvas.interactor.DragInteractor
ptolemy.vergil.toolbox.AttributeBoundsManipulator.Resizer
private class AttributeBoundsManipulator.Resizer
An interactor class that changes the bounds of the child figure and triggers a repaint.
| Field Summary | |
|---|---|
private SnapConstraint |
_snapConstraint
|
| Constructor Summary | |
|---|---|
AttributeBoundsManipulator.Resizer()
Create a new resizer. |
|
| Method Summary | |
|---|---|
void |
mouseReleased(LayerEvent e)
Override the base class to notify the enclosing BoundsInteractor. |
void |
setSnapResolution(double resolution)
Set the snap resolution. |
void |
translate(LayerEvent e,
double x,
double y)
Translate the grab-handle. |
| Methods inherited from class diva.canvas.interactor.DragInteractor |
|---|
addLayerListener, appendConstraint, constrainPoint, fireLayerEvent, getSelectiveEnabled, getTargetArray, getX, getY, mouseDragged, mousePressed, prependConstraint, removeLayerListener, setSelectiveEnabled, setTargetArray, setup, targets |
| Methods inherited from class diva.canvas.interactor.AbstractInteractor |
|---|
accept, getMouseFilter, isConsuming, isEnabled, isMotionEnabled, mouseClicked, mouseEntered, mouseExited, mouseMoved, setConsuming, setEnabled, setMotionEnabled, setMouseFilter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private SnapConstraint _snapConstraint
| Constructor Detail |
|---|
public AttributeBoundsManipulator.Resizer()
| Method Detail |
|---|
public void mouseReleased(LayerEvent e)
mouseReleased in interface LayerListenermouseReleased in class DragInteractore - The mouse event.public void setSnapResolution(double resolution)
resolution - The snap resolution.
public void translate(LayerEvent e,
double x,
double y)
translate in class DragInteractor
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||