CH.ifa.draw.figures
Class ConnectedTextTool
- java.lang.Object
-
- CH.ifa.draw.standard.AbstractTool
-
- CH.ifa.draw.standard.CreationTool
-
- CH.ifa.draw.figures.TextTool
-
- CH.ifa.draw.figures.ConnectedTextTool
-
- All Implemented Interfaces:
- Tool
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
-
-
Constructor Summary
Constructors Constructor and Description ConnectedTextTool(DrawingView view, Figure prototype)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidactivate()If the pressed figure is a TextHolder it can be edited otherwise a new text figure is created.voidmouseDown(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
deactivate, isActivated, mouseDrag, mouseUp
-
-
-
-
Constructor Detail
-
ConnectedTextTool
public ConnectedTextTool(DrawingView view, Figure prototype)
-
-
DataMelt 3.0 © DataMelt by jWork.ORG