CH.ifa.draw.samples.javadraw
Class URLTool
- java.lang.Object
-
- CH.ifa.draw.standard.AbstractTool
-
- CH.ifa.draw.samples.javadraw.URLTool
-
- All Implemented Interfaces:
- Tool
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 Summary
Constructors Constructor and Description URLTool(DrawingView view)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voiddeactivate(DrawingView view)voidendAction(java.awt.event.ActionEvent e)voidmouseDown(java.awt.event.MouseEvent e, int x, int y)Handles mouse down events in the drawing view.voidmouseUp(java.awt.event.MouseEvent e, int x, int y)Handles mouse up in the drawing view.-
Methods inherited from class CH.ifa.draw.standard.AbstractTool
activate, deactivate, drawing, editor, keyDown, mouseDrag, mouseMove, view
-
-
-
-
Constructor Detail
-
URLTool
public URLTool(DrawingView view)
-
-
Method Detail
-
mouseDown
public void mouseDown(java.awt.event.MouseEvent e, int x, int y)Description copied from class:AbstractToolHandles mouse down events in the drawing view.- Specified by:
mouseDownin interfaceTool- Overrides:
mouseDownin classAbstractTool
-
mouseUp
public void mouseUp(java.awt.event.MouseEvent e, int x, int y)Description copied from class:AbstractToolHandles mouse up in the drawing view.- Specified by:
mouseUpin interfaceTool- Overrides:
mouseUpin classAbstractTool
-
deactivate
public void deactivate(DrawingView view)
-
endAction
public void endAction(java.awt.event.ActionEvent e)
-
-
DataMelt 3.0 © DataMelt by jWork.ORG