|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdiva.canvas.interactor.AbstractInteractor
diva.canvas.interactor.DragInteractor
diva.canvas.connector.ConnectorInteractor
diva.canvas.connector.ArcInteractor
public class ArcInteractor
An interactor for dragging either end of an arc connector and for for altering the shape of the arc by dragging a midpoint grab handle. This class is designed for use in conjunction with ArcManipulator.
Constructor Summary | |
---|---|
ArcInteractor(ArcManipulator m)
Create a new interactor to be used with the given manipulator. |
Method Summary | |
---|---|
protected void |
fireConnectorEvent(int id)
Fire a connector event to all connector listeners. |
void |
translate(LayerEvent e,
double dx,
double dy)
Respond to translation of the grab-handle. |
Methods inherited from class diva.canvas.connector.ConnectorInteractor |
---|
_notifyConnectorListeners, addConnectorListener, getConnector, getHandle, getTarget, mouseReleased, removeConnectorListener, setup, snapToSite |
Methods inherited from class diva.canvas.interactor.DragInteractor |
---|
addLayerListener, appendConstraint, constrainPoint, fireLayerEvent, getSelectiveEnabled, getTargetArray, getX, getY, mouseDragged, mousePressed, prependConstraint, removeLayerListener, setSelectiveEnabled, setTargetArray, 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 |
Constructor Detail |
---|
public ArcInteractor(ArcManipulator m)
Method Detail |
---|
protected void fireConnectorEvent(int id)
fireConnectorEvent
in class ConnectorInteractor
public void translate(LayerEvent e, double dx, double dy)
translate
in class ConnectorInteractor
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |