|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.event.KeyAdapter
jpicedt.graphic.toolkit.MouseTool
jpicedt.graphic.toolkit.DrawToolFactory.TextDrawTool
protected class DrawToolFactory.TextDrawTool
A tool used to place PicText's ; it opens a dialog box for editing text content.
author: Sylvain Reynal
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class jpicedt.graphic.toolkit.MouseTool |
|---|
MouseTool.MouseToolType |
| Field Summary |
|---|
| Fields inherited from class jpicedt.graphic.toolkit.MouseTool |
|---|
lastMouseEvent, mouseOutside |
| Constructor Summary | |
|---|---|
DrawToolFactory.TextDrawTool(PicText prototype)
|
|
| Method Summary | |
|---|---|
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 |
keyPressed(KeyEvent e)
Triggers a fake "mouseMoved" event when a key is pressed. |
void |
keyReleased(KeyEvent e)
Triggers a fake "mouseMoved" event when a key is released. |
void |
keyTyped(KeyEvent e)
|
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. a right click on Unix/Windows): switches back to SELECT_MODE if the task-iterator is completed or cancels the current task if the task-iterator is underway. |
| Methods inherited from class jpicedt.graphic.toolkit.MouseTool |
|---|
getLastMouseEvent, mouseClicked, mouseEntered, mouseExited, mouseReleased, paint, processKeyEvent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DrawToolFactory.TextDrawTool(PicText prototype)
prototype - the Element that will serve as the prototype
(getting cloned, then added to the drawing).| Method Detail |
|---|
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()
init in class MouseToolpublic void flush()
flush in class MouseToolpublic void keyPressed(KeyEvent e)
MouseToolMouseTool.processKeyEvent(java.awt.event.KeyEvent, boolean).
keyPressed in interface KeyListenerkeyPressed in class MouseToolpublic void keyReleased(KeyEvent e)
MouseToolMouseTool.processKeyEvent(java.awt.event.KeyEvent, boolean).
keyReleased in interface KeyListenerkeyReleased in class MouseToolpublic void keyTyped(KeyEvent e)
keyTyped in interface KeyListenerkeyTyped in class KeyAdapter
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||