Package edu.jhu.tmaj.client.image.draw

Provides classes that allow the user to draw shapes or text on a JLabel.

See:
          Description

Interface Summary
Drawable All shapes that are drawn onto a DrawableLabel implement this interface
 

Class Summary
AbstractDrawable All shapes drawn onto a DrawableLabel extend this class
ArrowDrawable An arrow
Dimension Represents width and height.
DrawableLabel A JLabel that contains a List of Drawables that are painted if isActive is true.
FreeHandDrawable A polygon
InputAdapter A convenience class that implements a MouseListener,MouseMotionListener, and KeyListener
LabelFocusMouseListener A MouseListener that is attached to a JLabel, and when the mouse is pressed the JLabel gets the Focus.
LineDrawable A line
OvalDrawable An oval
OvalDrawableHelper A Helper class for Ovals that determines how close a mouse click needs to be to an oval for the oval to be considered selected.
Point A class that represents an x and y coordinate
PolygonDrawable A polygon
RectangleDrawable A rectangle
ShapeListener Added to a DrawableLabel, this listener class processes mouseEvents and keyEvents and uses them to either create new shapes, select selects, or forward the mouseEvent or keyEvent to the currently selected shape.
ShapeRecord Represents a record in the Shapes database table.
ShapesFrame A window that allows the user to select a shape(arrows,rectangles,etc) for drawing, as well as a default option for selecting existing shapes.
TextDrawable Text drawn onto an image
 

Enum Summary
DrawableStatus Status of the Shape indicating the to-do database action.
 

Package edu.jhu.tmaj.client.image.draw Description

Provides classes that allow the user to draw shapes or text on a JLabel. Includes ShapeListener that is added to the JLabel and which forwards MouseEvents and KeyEvents to the currently selected Drawable.

Related Documentation

For overviews, tutorials, examples, guides, and tool documentation, please see: