public interface MouseTransform
SelectionTool
.
Sequence order is :
mouse-press : start()
mouse-dragged : process()
mouse-released : next() ? no => end()
mouse-moved : process()
mouse-pressed : next() ? no => end()
etc...Modifier and Type | Method and Description |
---|---|
java.awt.Cursor |
getCursor()
Return the cursor for this MouseTransform
|
java.lang.String |
getHelpMessage()
Return a help-message for the UI, that makes sense with this transform.
|
boolean |
next(PEMouseEvent e)
Called when the left mouse-button changes state.
|
void |
paint(java.awt.Graphics2D g,
java.awt.geom.Rectangle2D allocation,
double scale)
Allows the MouseTransform to do specific graphic rendering when it's operating.
|
void |
process(PEMouseEvent e)
Called when the mouse is dragged/moved after the first mouse-pressed event.
|
void |
start(PEMouseEvent e)
Called when the mouse is pressed.
|
void start(PEMouseEvent e)
void process(PEMouseEvent e)
boolean next(PEMouseEvent e)
java.awt.Cursor getCursor()
void paint(java.awt.Graphics2D g, java.awt.geom.Rectangle2D allocation, double scale)
java.lang.String getHelpMessage()
Submit a bug : syd@jpicedt.org