All Packages Class Hierarchy This Package Previous Next Index
Class CH.ifa.draw.samples.javadraw.URLTool
CH.ifa.draw.standard.AbstractTool
|
+----CH.ifa.draw.samples.javadraw.URLTool
- public class URLTool
- extends AbstractTool
A tool to attach URLs to figures.
The URLs are stored in the figure's "URL" attribute.
The URL text is entered with a FloatingTextField.
- See Also:
- FloatingTextField
-
URLTool(DrawingView)
-
-
deactivate(DrawingView)
-
-
endAction(ActionEvent)
-
-
mouseDown(MouseEvent, int, int)
- Handles mouse down events in the drawing view.
-
mouseUp(MouseEvent, int, int)
- Handles mouse up in the drawing view.
URLTool
public URLTool(DrawingView view)
mouseDown
public void mouseDown(MouseEvent e,
int x,
int y)
- Handles mouse down events in the drawing view.
- Overrides:
- mouseDown in class AbstractTool
mouseUp
public void mouseUp(MouseEvent e,
int x,
int y)
- Handles mouse up in the drawing view.
- Overrides:
- mouseUp in class AbstractTool
deactivate
public void deactivate(DrawingView view)
endAction
public void endAction(ActionEvent e)
All Packages Class Hierarchy This Package Previous Next Index