|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectCH.ifa.draw.standard.AbstractTool
CH.ifa.draw.standard.CreationTool
CH.ifa.draw.figures.TextTool
CH.ifa.draw.figures.ConnectedTextTool
public class ConnectedTextTool
Tool to create new or edit existing text figures. A new text figure is connected with the clicked figure.
TextHolder| Field Summary |
|---|
| Fields inherited from class CH.ifa.draw.standard.AbstractTool |
|---|
fAnchorX, fAnchorY, fView |
| Constructor Summary | |
|---|---|
ConnectedTextTool(DrawingView view,
Figure prototype)
|
|
| Method Summary | |
|---|---|
void |
activate()
If the pressed figure is a TextHolder it can be edited otherwise a new text figure is created. |
void |
mouseDown(java.awt.event.MouseEvent e,
int x,
int y)
If the pressed figure is a TextHolder it can be edited otherwise a new text figure is created. |
| Methods inherited from class CH.ifa.draw.figures.TextTool |
|---|
beginEdit, deactivate, endEdit, getTypingTarget, isActivated, mouseDrag, mouseUp, setTypingTarget |
| Methods inherited from class CH.ifa.draw.standard.CreationTool |
|---|
createdFigure, createFigure |
| Methods inherited from class CH.ifa.draw.standard.AbstractTool |
|---|
drawing, editor, keyDown, mouseMove, view |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConnectedTextTool(DrawingView view,
Figure prototype)
| Method Detail |
|---|
public void mouseDown(java.awt.event.MouseEvent e,
int x,
int y)
mouseDown in interface ToolmouseDown in class TextToolpublic void activate()
activate in interface Toolactivate in class TextTool
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||