com.rolemodelsoft.drawlet.shapes.lines
Class AdornedLineCreationHandle

java.lang.Object
  |
  +--com.rolemodelsoft.drawlet.basics.AbstractInputEventHandler
        |
        +--com.rolemodelsoft.drawlet.basics.CanvasHandle
              |
              +--com.rolemodelsoft.drawlet.basics.SquareCanvasHandle
                    |
                    +--com.rolemodelsoft.drawlet.shapes.lines.ConnectedLineCreationHandle
                          |
                          +--com.rolemodelsoft.drawlet.shapes.lines.AdornedLineCreationHandle

public class AdornedLineCreationHandle
extends ConnectedLineCreationHandle

This class provides a handle that creates adorned lines from one figure to another.


Fields inherited from class com.rolemodelsoft.drawlet.shapes.lines.ConnectedLineCreationHandle
figure, line, locator
 
Fields inherited from class com.rolemodelsoft.drawlet.basics.CanvasHandle
canvas, halfWidth, HANDLE_SIZE, previousTool
 
Constructor Summary
AdornedLineCreationHandle(Figure figure)
          Creates a new AdornedLineCreationHandle initialized with the given Figure.
AdornedLineCreationHandle(Figure figure, Locator locator)
          AdornedLineCreationHandle constructor comment.
 
Method Summary
protected  ConnectingLine basicNewLine(Locator point)
          Return a ConnectingLine of the proper type.
 
Methods inherited from class com.rolemodelsoft.drawlet.shapes.lines.ConnectedLineCreationHandle
centerX, centerY, defaultLocator, getFigure, mouseDoubleClicked, mouseDragged, mouseMoved, mousePressed, mouseReleased, movePoint, paint, releaseControl, setFigure
 
Methods inherited from class com.rolemodelsoft.drawlet.basics.SquareCanvasHandle
getBounds
 
Methods inherited from class com.rolemodelsoft.drawlet.basics.CanvasHandle
contains, defaultHandleSize, finished, getHandleHeight, getHandleSize, getHandleWidth, getX, getY, intersects, setHandleSize, takeControl
 
Methods inherited from class com.rolemodelsoft.drawlet.basics.AbstractInputEventHandler
keyPressed, keyReleased, keyTyped, mouseClicked, mouseEntered, mouseExited, mouseSingleClicked
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdornedLineCreationHandle

public AdornedLineCreationHandle(Figure figure)
Creates a new AdornedLineCreationHandle initialized with the given Figure.
Parameters:
figure - the figure to which the handle is attached.

AdornedLineCreationHandle

public AdornedLineCreationHandle(Figure figure,
                                 Locator locator)
AdornedLineCreationHandle constructor comment.
Parameters:
figure - the figure to which the handle is attached.
locator - the locator at which to locate the handle and beginning of any lines.
Method Detail

basicNewLine

protected ConnectingLine basicNewLine(Locator point)
Return a ConnectingLine of the proper type.
Overrides:
basicNewLine in class ConnectedLineCreationHandle
Returns:
a ConnectingLine of the proper type.