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

Constructor Index

 o URLTool(DrawingView)

Method Index

 o deactivate(DrawingView)
 o endAction(ActionEvent)
 o mouseDown(MouseEvent, int, int)
Handles mouse down events in the drawing view.
 o mouseUp(MouseEvent, int, int)
Handles mouse up in the drawing view.

Constructors

 o URLTool
 public URLTool(DrawingView view)

Methods

 o mouseDown
 public void mouseDown(MouseEvent e,
                       int x,
                       int y)
Handles mouse down events in the drawing view.

Overrides:
mouseDown in class AbstractTool
 o mouseUp
 public void mouseUp(MouseEvent e,
                     int x,
                     int y)
Handles mouse up in the drawing view.

Overrides:
mouseUp in class AbstractTool
 o deactivate
 public void deactivate(DrawingView view)
 o endAction
 public void endAction(ActionEvent e)

All Packages  Class Hierarchy  This Package  Previous  Next  Index