Serialized Form
|
Package com.rolemodelsoft.drawlet.awt |
canvas
DrawingCanvas canvas
- The canvas on which the tools operate.
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.
canvas
DrawingCanvas canvas
- The drawing canvas we are displaying/manipulating.
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.
paintable
Paintable paintable
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.
buttons
java.util.Vector buttons
- The list of tools that correspond to the setter buttons.
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 |
locationListeners
java.util.Vector locationListeners
- The
Figure's location listeners.
x
int x
- The x coordinate of this DrawingPoint.
y
int y
- The y coordinate of this DrawingPoint.
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
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.
r
int r
- The x coordinate of this DrawingPoint.
theta
double theta
- The y coordinate of this DrawingPoint.
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.
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.
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 |
drawing
Drawing drawing
- The drawing
|
Package com.rolemodelsoft.drawlet.examples.awt |
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.
commandPanel
java.awt.Panel commandPanel
- The command panel
model
SingleDrawingModel model
- The model to use for this applet
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.
canvas
DrawingCanvas canvas
- The canvas to use.
toolPalette
ToolPalette toolPalette
- The tool palette for this applet.
canvas
DrawingCanvas canvas
- The canvas this applet will use
|
Package com.rolemodelsoft.drawlet.examples.graphnode |
canvas
DrawingCanvas canvas
- the canvas for this applet.
string
java.lang.String string
- the label associated with this graphnode.
textColor
java.awt.Color textColor
- the color of the text in the graphnode.
canvas
DrawingCanvas canvas
- the canvas for this applet.
|
Package com.rolemodelsoft.drawlet.examples.jfc |
model
SingleDrawingModel model
- the model for this application.
canvas
DrawingCanvas canvas
toolBar
javax.swing.JToolBar toolBar
toolPalette
javax.swing.JToolBar toolPalette
|
Package com.rolemodelsoft.drawlet.jfc |
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.
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.
canvas
DrawingCanvas canvas
- The drawing canvas we are displaying/manipulating.
|
Package com.rolemodelsoft.drawlet.shapes |
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
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 |
|
Package com.rolemodelsoft.drawlet.shapes.lines |
adornments
java.util.Vector adornments
- The adornments associated with this AdornedLine.
figure
Figure figure
- The figure the adornment rests next to.
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.
mustConnect
boolean mustConnect
- A boolean defining whether this line must be connected.
points
Locator[] points
- The locators which define the points of the line.
lineColor
java.awt.Color lineColor
- The color with which to paint the line.
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 |
polygon
java.awt.Polygon polygon
- The underlying, defining polygon.
polygon
java.awt.Polygon polygon
rectangles
java.awt.Rectangle[] rectangles
|
Package com.rolemodelsoft.drawlet.shapes.rectangles |
arcHeight
int arcHeight
- The height of the corner arc.
arcWidth
int arcWidth
- The width of the corner arc.
|
Package com.rolemodelsoft.drawlet.text |
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 |
observerList
java.lang.Object observerList
- The list of Observers. Could be null, a single Observer, or a
Vector of Observers.
Line
int[] Line
TestLine
int[][] TestLine