Serialized Form


Package com.rolemodelsoft.drawlet.awt

Class com.rolemodelsoft.drawlet.awt.BufferedDrawingCanvasComponent implements Serializable

Class com.rolemodelsoft.drawlet.awt.CanvasPalette implements Serializable

Serialized Fields

canvas

DrawingCanvas canvas
The canvas on which the tools operate.

Class com.rolemodelsoft.drawlet.awt.ColorButton implements Serializable

Serialized Fields

actionListener

java.awt.event.ActionListener actionListener
The actionListener member variable, for dispatching events.

color

java.awt.Color color
The image for this button.

command

java.lang.String command
The label (not visible) for this button.

isHighlighted

boolean isHighlighted
Flag indicating the current value of highlighting.

isInside

boolean isInside
Flag that is set when the mouse is inside

isPressed

boolean isPressed
Flag that is set when the mouse is pressed inside.

Class com.rolemodelsoft.drawlet.awt.DrawingCanvasComponent implements Serializable

Serialized Fields

canvas

DrawingCanvas canvas
The drawing canvas we are displaying/manipulating.

Class com.rolemodelsoft.drawlet.awt.ImageButton implements Serializable

Serialized Fields

actionListener

java.awt.event.ActionListener actionListener
The actionListener member variable, for dispatching events.

command

java.lang.String command
The label (not visible) for this button.

image

java.awt.Image image
The image for this button.

isHighlighted

boolean isHighlighted
Flag that is set when the button should be highlighted.

isInside

boolean isInside
Flag that is set when the mouse is inside

isPressed

boolean isPressed
Flag that is set when the mouse is pressed inside.

Class com.rolemodelsoft.drawlet.awt.PaintableViewer implements Serializable

Serialized Fields

paintable

Paintable paintable

Class com.rolemodelsoft.drawlet.awt.StylePalette implements Serializable

Serialized Fields

areButtons

boolean areButtons
A flag tracking whether there are any color buttons yet or not.

color

java.awt.Color color
The currently selected color.

colors

java.util.Vector colors
The list of tools that correspond to the color buttons.

currentColorButton

ColorButton currentColorButton
The currently selected colorButton.

drawing

Drawing drawing
The drawing associated with this palette.

setters

java.util.Vector setters
The list of tools that correspond to the setter buttons.

viewer

java.awt.Component viewer
The viewer which identifies the current style.

Class com.rolemodelsoft.drawlet.awt.ToolBar implements Serializable

Serialized Fields

buttons

java.util.Vector buttons
The list of tools that correspond to the setter buttons.

Class com.rolemodelsoft.drawlet.awt.ToolPalette implements Serializable

Serialized Fields

lastButton

java.awt.Component lastButton
The last button invoked on this ToolPalette

tools

java.util.Vector tools
The list of tools that correspond to the buttons.


Package com.rolemodelsoft.drawlet.basics

Class com.rolemodelsoft.drawlet.basics.AbstractFigure implements Serializable

Serialized Fields

locationListeners

java.util.Vector locationListeners
The Figure's location listeners.

Class com.rolemodelsoft.drawlet.basics.AbstractLocator implements Serializable

Class com.rolemodelsoft.drawlet.basics.DrawingPoint implements Serializable

Serialized Fields

x

int x
The x coordinate of this DrawingPoint.

y

int y
The y coordinate of this DrawingPoint.

Class com.rolemodelsoft.drawlet.basics.EdgeLocator implements Serializable

Serialized Fields

endX

int endX

endY

int endY

figure

Figure figure
The figure to which the line is connected.

inside

Locator inside
The locator that is assumed to be inside a figure.

outside

Locator outside
The locator that is assumed to be outside a figure.

startX

int startX

startY

int startY

x

int x

y

int y

Class com.rolemodelsoft.drawlet.basics.FigureRelativePoint implements Serializable

Serialized Fields

figure

Figure figure
The figure from which we derive our coordinates

offsetX

int offsetX
The x offset from the purely relative position.

offsetY

int offsetY
The y offset from the purely relative position.

relativeX

double relativeX
The relative x position from the top-left to bottom-right from which to derive our coordinates. These will most likely be between 0.0 and 1.0, but do not have to be.

relativeY

double relativeY
The relative y position from the top-left to bottom-right from which to derive our coordinates. These will most likely be between 0.0 and 1.0, but do not have to be.

Class com.rolemodelsoft.drawlet.basics.PolarCoordinate implements Serializable

Serialized Fields

r

int r
The x coordinate of this DrawingPoint.

theta

double theta
The y coordinate of this DrawingPoint.

Class com.rolemodelsoft.drawlet.basics.RelativePoint implements Serializable

Serialized Fields

base

Locator base
The locator to which this is relative.

offsetX

int offsetX
The x offset from the base locator.

offsetY

int offsetY
The y offset from the base locator.

Class com.rolemodelsoft.drawlet.basics.SimpleDrawing implements Serializable

Serialized Fields

backgroundColor

java.awt.Color backgroundColor
The background color.

dynamicSize

boolean dynamicSize
Stores whether this drawing is to be sized dynamically or not.

figures

java.util.Vector figures
The figures which appear on the canvas.

height

int height
The height of the drawing.

width

int width
The width of the drawing.

Class com.rolemodelsoft.drawlet.basics.SimpleDrawingCanvas implements Serializable

Serialized Fields

component

java.awt.Component component
The Component we are associated with.

drawing

Drawing drawing
The drawing we are displaying/manipulating.

figureHandles

java.util.Hashtable figureHandles
A mapping of figures to their associated handles. This is typically used to allow for proper clean up if figures are removed, but may be used for other purposes.

handles

java.util.Vector handles
The handles that may take control of events. Typically these are attached to figures, but not always.

height

int height
The height of the canvas.

selections

java.util.Vector selections
The figures which are currently selected for further operations.

style

DrawingStyle style
The style with which it is expected new figures will be drawn.

tool

InputEventHandler tool
The tool which is the first thing we look to in order to handle events.

width

int width
The width of the canvas.


Package com.rolemodelsoft.drawlet.examples

Class com.rolemodelsoft.drawlet.examples.SingleDrawingModel implements Serializable

Serialized Fields

drawing

Drawing drawing
The drawing


Package com.rolemodelsoft.drawlet.examples.awt

Class com.rolemodelsoft.drawlet.examples.awt.ExitingFrame implements Serializable

Class com.rolemodelsoft.drawlet.examples.awt.FullApplet implements Serializable

Class com.rolemodelsoft.drawlet.examples.awt.FullPanel implements Serializable

Class com.rolemodelsoft.drawlet.examples.awt.FullScrollingApplet implements Serializable

Class com.rolemodelsoft.drawlet.examples.awt.FullScrollingPanel implements Serializable

Class com.rolemodelsoft.drawlet.examples.awt.SimpleApplet implements Serializable

Serialized Fields

canvas

DrawingCanvas canvas
The canvas to use.

stylePalette

StylePalette stylePalette
The style palette for this applet.

toolBar

ToolBar toolBar
The tool bar for actions.

toolPalette

ToolPalette toolPalette
The tool palette for this applet.

Class com.rolemodelsoft.drawlet.examples.awt.SimpleModelPanel implements Serializable

Serialized Fields

commandPanel

java.awt.Panel commandPanel
The command panel

model

SingleDrawingModel model
The model to use for this applet

Class com.rolemodelsoft.drawlet.examples.awt.SimplePanel implements Serializable

Serialized Fields

canvas

DrawingCanvas canvas
The canvas this panel will use

stylePalette

StylePalette stylePalette
The style palette for this panel.

toolBar

ToolBar toolBar
The tool bar for actions.

toolPalette

ToolPalette toolPalette
The tool palette for this panel.

Class com.rolemodelsoft.drawlet.examples.awt.SimplestApplet implements Serializable

Serialized Fields

canvas

DrawingCanvas canvas
The canvas to use.

toolPalette

ToolPalette toolPalette
The tool palette for this applet.

Class com.rolemodelsoft.drawlet.examples.awt.SimplestPanel implements Serializable

Serialized Fields

canvas

DrawingCanvas canvas
The canvas this applet will use


Package com.rolemodelsoft.drawlet.examples.graphnode

Class com.rolemodelsoft.drawlet.examples.graphnode.ArrowGraphNode implements Serializable

Class com.rolemodelsoft.drawlet.examples.graphnode.ArrowGraphNodeApplet implements Serializable

Serialized Fields

canvas

DrawingCanvas canvas
the canvas for this applet.

Class com.rolemodelsoft.drawlet.examples.graphnode.GraphNode implements Serializable

Serialized Fields

string

java.lang.String string
the label associated with this graphnode.

textColor

java.awt.Color textColor
the color of the text in the graphnode.

Class com.rolemodelsoft.drawlet.examples.graphnode.GraphNodeApplet implements Serializable

Serialized Fields

canvas

DrawingCanvas canvas
the canvas for this applet.


Package com.rolemodelsoft.drawlet.examples.jfc

Class com.rolemodelsoft.drawlet.examples.jfc.ExitingFrame implements Serializable

Class com.rolemodelsoft.drawlet.examples.jfc.SimpleModelPanel implements Serializable

Serialized Fields

model

SingleDrawingModel model
the model for this application.

Class com.rolemodelsoft.drawlet.examples.jfc.SimplePanel implements Serializable

Serialized Fields

canvas

DrawingCanvas canvas

toolBar

javax.swing.JToolBar toolBar

toolPalette

javax.swing.JToolBar toolPalette

Class com.rolemodelsoft.drawlet.examples.jfc.SimpleScrollingPanel implements Serializable

Class com.rolemodelsoft.drawlet.examples.jfc.SimplestPanel implements Serializable


Package com.rolemodelsoft.drawlet.jfc

Class com.rolemodelsoft.drawlet.jfc.CanvasAction implements Serializable

Serialized Fields

action

java.lang.String action
The action to be invoked on the canvas.

canvas

DrawingCanvas canvas
The canvas for which the tool is to be set.

Class com.rolemodelsoft.drawlet.jfc.CanvasToolAction implements Serializable

Serialized Fields

canvas

DrawingCanvas canvas
The canvas for which the tool is to be set.

tool

InputEventHandler tool
The tool the canvas is to be set to use.

Class com.rolemodelsoft.drawlet.jfc.JDrawingCanvasComponent implements Serializable

Serialized Fields

canvas

DrawingCanvas canvas
The drawing canvas we are displaying/manipulating.


Package com.rolemodelsoft.drawlet.shapes

Class com.rolemodelsoft.drawlet.shapes.AbstractRectangleShape implements Serializable

Serialized Fields

height

int height
The height of the shape

width

int width
The width of the shape

x

int x
The x coordinate for the shape

y

int y
The y coordinate for the shape

Class com.rolemodelsoft.drawlet.shapes.AbstractShape implements Serializable

Class com.rolemodelsoft.drawlet.shapes.FilledShape implements Serializable

Serialized Fields

fillColor

java.awt.Color fillColor
The fill color for drawing the figure is cached here.

lineColor

java.awt.Color lineColor
The line color for drawing the figure is cached here.


Package com.rolemodelsoft.drawlet.shapes.ellipses

Class com.rolemodelsoft.drawlet.shapes.ellipses.Ellipse implements Serializable


Package com.rolemodelsoft.drawlet.shapes.lines

Class com.rolemodelsoft.drawlet.shapes.lines.AdornedLine implements Serializable

Serialized Fields

adornments

java.util.Vector adornments
The adornments associated with this AdornedLine.

figure

Figure figure
The figure the adornment rests next to.

Class com.rolemodelsoft.drawlet.shapes.lines.Arrow implements Serializable

Serialized Fields

arrowStyle

ArrowStyle arrowStyle
The ArrowStyle which defines how to draw this Arrow.

direction

int direction
The direction of the arrow

lastEvent

java.beans.PropertyChangeEvent lastEvent

line

LineFigure line
The LineFigure we are attached to.

Class com.rolemodelsoft.drawlet.shapes.lines.ConnectingLine implements Serializable

Serialized Fields

mustConnect

boolean mustConnect
A boolean defining whether this line must be connected.

Class com.rolemodelsoft.drawlet.shapes.lines.Line implements Serializable

Serialized Fields

points

Locator[] points
The locators which define the points of the line.

Class com.rolemodelsoft.drawlet.shapes.lines.LinearShape implements Serializable

Serialized Fields

lineColor

java.awt.Color lineColor
The color with which to paint the line.

Class com.rolemodelsoft.drawlet.shapes.lines.LineFigureRelativePoint implements Serializable

Serialized Fields

segment

int segment
The 1-based index of the segment within the figure from which we will define our relative position.


Package com.rolemodelsoft.drawlet.shapes.polygons

Class com.rolemodelsoft.drawlet.shapes.polygons.PolygonShape implements Serializable

Serialized Fields

polygon

java.awt.Polygon polygon
The underlying, defining polygon.

Class com.rolemodelsoft.drawlet.shapes.polygons.PolygonTestVisualizer implements Serializable

Serialized Fields

polygon

java.awt.Polygon polygon

rectangles

java.awt.Rectangle[] rectangles


Package com.rolemodelsoft.drawlet.shapes.rectangles

Class com.rolemodelsoft.drawlet.shapes.rectangles.RectangleShape implements Serializable

Class com.rolemodelsoft.drawlet.shapes.rectangles.RoundedRectangleShape implements Serializable

Serialized Fields

arcHeight

int arcHeight
The height of the corner arc.

arcWidth

int arcWidth
The width of the corner arc.


Package com.rolemodelsoft.drawlet.text

Class com.rolemodelsoft.drawlet.text.TextLabel implements Serializable

Serialized Fields

font

java.awt.Font font
The font with which to paint the label.

height

int height
Used to cache the height value to calc bounds faster.

left

int left
Used to cache the left value to calc bounds faster.

locator

MovableLocator locator
The location of the label, the topLeft of where the string shows up.

string

java.lang.String string
The string which serves as the label.

textColor

java.awt.Color textColor
The color with which to paint the label.

top

int top
Used to cache the top value to calc bounds faster.

width

int width
Used to cache the width value to calc bounds faster.


Package com.rolemodelsoft.drawlet.util

Class com.rolemodelsoft.drawlet.util.BasicObservable implements Serializable

Serialized Fields

observerList

java.lang.Object observerList
The list of Observers. Could be null, a single Observer, or a Vector of Observers.

Class com.rolemodelsoft.drawlet.util.SegmentIntersectionTestVisualizer implements Serializable

Serialized Fields

Line

int[] Line

TestLine

int[][] TestLine