Package com.rolemodelsoft.drawlet.basics

Class Summary
AbstractFigure This provides basic default functionality for Figures that are assumed to be movable but not necessarily reshapable, and that have observers that want to know when their location changes.
AbstractInputEventHandler Provides a default implementation of InputEventHandler.
AbstractLocator Provides a default implementation of Locator.
AbstractPaintable Provides a default implementation of Paintable.
BoxSelectionHandle A handle one can use to select figures on a canvas within a box.
CanvasHandle This abstract class offers a simple base for handles to be used on a canvas.
CanvasTool This abstract class offers a simple base for Tools attached to a DrawingCanvas Subclasses would typically provide a constructor that takes a DrawingCanvas as an argument.
ConstructionTool This abstract class offers a simple base for Tools which create new Figures and place them on a drawing canvas.
DrawingPoint This provides basic default functionality for MovableLocators.
EdgeLocator This class implements Locator by providing x and y coordinates that are at the intersection of the figure and the line defined by the 2 locators.
FigureRelativePoint This class implements Locator by providing x and y coordinates that are relative to a Figure.
FigureTransfer Used to transfer objects from the DrawingCanvas to the clipboard.
FigureVectorEnumerator  
LocatorConnectionHandle This class provides a handle that allows the corresponding figure to be connected to (or disconnected from) another figure (as a slave to its location).
PolarCoordinate This provides basic default functionality for MovableLocators.
PrototypeConstructionTool This tool create new Figures based on a prototypical Figure.
RelativePoint This class implements RelativeLocator and MovableLocator by providing movable x and y offsets to some base locator.
SelectionTool This provides basic functionality necessary to select a Figure(s) on a DrawingCanvas and/or pass control onto Handles.
SimpleDrawing This provides basic functionality necessary to provide a meaningful working version of a Drawing.
SimpleDrawingCanvas This provides basic functionality necessary to provide a meaningful working version of a DrawingCanvas that can be tied to a Component in an AWT Application.
SimpleDrawingStyle This provides basic functionality necessary to provide a meaningful working version of a DrawingStyle.
SquareCanvasHandle Since many handles will be simple small squares (probably appearing on a DrawingCanvas), this abstract class offers a simple base for handles which appear this way.
TC_AbstractFigure  
TC_CanvasTool  
TC_DrawingPoint  
TC_EdgeLocator  
TC_FigureRelativePoint  
TC_PolarCoordinate  
TC_SimpleDrawing  
TC_SimpleDrawingCanvas  
TS_InputEventHandlerTests Runs all tests in com.rolemodelsoft.drawlet.basics