|
|
|||||||||
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.
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 |
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. |
Methods inherited from class jpicedt.graphic.toolkit.MouseTool |
---|
getLastMouseEvent, keyPressed, keyReleased, mouseClicked, mouseEntered, mouseExited, mouseReleased, paint, processKeyEvent |
Methods inherited from class java.awt.event.KeyAdapter |
---|
keyTyped |
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 PEMouseInputListener
mousePressed
in class MouseTool
public void mouseDragged(PEMouseEvent e)
mouseDragged
in interface PEMouseInputListener
mouseDragged
in class MouseTool
public void mouseMoved(PEMouseEvent e)
mouseMoved
in interface PEMouseInputListener
mouseMoved
in class MouseTool
public void init()
init
in class MouseTool
public void flush()
flush
in class MouseTool
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |