All Packages Class Hierarchy This Package Previous Next Index
Class CH.ifa.draw.figures.ConnectedTextTool
java.lang.Object
|
+----CH.ifa.draw.standard.AbstractTool
|
+----CH.ifa.draw.standard.CreationTool
|
+----CH.ifa.draw.figures.TextTool
|
+----CH.ifa.draw.figures.ConnectedTextTool
- public class ConnectedTextTool
- extends TextTool
Tool to create new or edit existing text figures.
A new text figure is connected with the clicked figure.
- See Also:
- TextHolder
-
ConnectedTextTool(DrawingView, Figure)
-
-
activate()
- If the pressed figure is a TextHolder it can be edited otherwise
a new text figure is created.
-
mouseDown(MouseEvent, int, int)
- If the pressed figure is a TextHolder it can be edited otherwise
a new text figure is created.
ConnectedTextTool
public ConnectedTextTool(DrawingView view,
Figure prototype)
mouseDown
public void mouseDown(MouseEvent e,
int x,
int y)
- If the pressed figure is a TextHolder it can be edited otherwise
a new text figure is created.
- Overrides:
- mouseDown in class TextTool
activate
public void activate()
- If the pressed figure is a TextHolder it can be edited otherwise
a new text figure is created.
- Overrides:
- activate in class TextTool
All Packages Class Hierarchy This Package Previous Next Index