protected class DrawToolFactory.TextDrawTool extends MouseTool
lastMouseEvent, mouseOutside| Constructor and Description |
|---|
TextDrawTool(PicText prototype) |
| Modifier and Type | Method and Description |
|---|---|
void |
flush()
called when this tool is being replaced by another mouse-tool in the hosting
editor kit ; this is mainly for mousetools using more than one sequence, for it
gives them a chance to clean themselves up for the next time
|
void |
init()
called when this tool is being activated in the hosting editor kit
|
void |
mouseDragged(PEMouseEvent e)
do nothing
|
void |
mouseMoved(PEMouseEvent e)
set cursor for canvas, then call mouseDragged
|
void |
mousePressed(PEMouseEvent e)
A popup-trigger mouse event (e.g.
|
getLastMouseEvent, keyPressed, keyReleased, mouseClicked, mouseEntered, mouseExited, mouseReleased, paint, processKeyEventpublic TextDrawTool(PicText prototype)
prototype - the Element that will serve as the prototype (getting cloned, then added to the drawing).public void mousePressed(PEMouseEvent e)
mousePressed in interface PEMouseInputListenermousePressed in class MouseToolpublic void mouseDragged(PEMouseEvent e)
mouseDragged in interface PEMouseInputListenermouseDragged in class MouseToolpublic void mouseMoved(PEMouseEvent e)
mouseMoved in interface PEMouseInputListenermouseMoved in class MouseToolpublic void init()
Submit a bug : syd@jpicedt.org