public abstract class AbstractMouseTransform extends java.lang.Object implements MouseTransform
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractMouseTransform(Element target) |
| Modifier and Type | Method and Description |
|---|---|
protected Element |
getClone()
Return the clone of the target element, which was init'd by
startTransform |
protected Element |
getTarget()
Return the element this transform acts upon
|
boolean |
next(PEMouseEvent e)
Called by mouseReleased.
This implementation set the clone's parent and view to null so as to make it elligible for gc. |
void |
paint(java.awt.Graphics2D g,
java.awt.geom.Rectangle2D allocation,
double scale)
Paints the clone.
|
void |
start(PEMouseEvent e)
Called by mousePressed.
Creates a clone of the target (e.g. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCursor, getHelpMessage, processprotected AbstractMouseTransform(Element target)
target - The target-element upon which this transform will act.public void start(PEMouseEvent e)
start in interface MouseTransformpublic boolean next(PEMouseEvent e)
next in interface MouseTransformpublic void paint(java.awt.Graphics2D g,
java.awt.geom.Rectangle2D allocation,
double scale)
paint in interface MouseTransformprotected Element getTarget()
protected Element getClone()
startTransformSubmit a bug : syd@jpicedt.org