Serialized Form


Package jdraw.align

Class jdraw.align.Align implements Serializable

Serialized Fields

jdraw

JDraw jdraw
A local reference to the top-level JDraw object.


Package jdraw.drawing_options

Class jdraw.drawing_options.BrushPatternColor implements Serializable

Serialized Fields

jdraw

JDraw jdraw
A local reference to the top-level JDraw object.

brushEditDialog

BrushEditDialog brushEditDialog
A BrushEditDialog instance for user-created brushes.

paintEditDialog

PaintEditDialog paintEditDialog
A PaintEditDialog instance for user-created paint patterns.


Package jdraw.drawing_options_ui

Class jdraw.drawing_options_ui.BrushEditDialog implements Serializable

Serialized Fields

dashField

javax.swing.JTextField dashField

widthField

javax.swing.JTextField widthField

rightArrow

javax.swing.JCheckBox rightArrow

leftArrow

javax.swing.JCheckBox leftArrow

jdraw

JDraw jdraw

bs

java.awt.BasicStroke bs

arrows

int arrows

viewPanel

javax.swing.JPanel viewPanel

Class jdraw.drawing_options_ui.PaintEditDialog implements Serializable

Serialized Fields

x1Field

javax.swing.JTextField x1Field

x2Field

javax.swing.JTextField x2Field

y1Field

javax.swing.JTextField y1Field

y2Field

javax.swing.JTextField y2Field

jdraw

JDraw jdraw

paint

float[] paint

arrows

int arrows

viewPanel

javax.swing.JPanel viewPanel


Package jdraw.edit

Class jdraw.edit.Edit implements Serializable


Package jdraw.edit_ui

Class jdraw.edit_ui.PreciseMoveDialog implements Serializable

Serialized Fields

editMenu

EditMenu editMenu
A local reference to the system's EditMenu object.

xField

javax.swing.JTextField xField
A JTextField for receiving the change in x.

yField

javax.swing.JTextField yField
A JTextField for receiving the change in y.

Class jdraw.edit_ui.PreciseRotateDialog implements Serializable

Serialized Fields

editMenu

EditMenu editMenu
A local reference to the system's EditMenu object.

degreeField

javax.swing.JTextField degreeField
A JTextField for entering the number of degrees to rotate.


Package jdraw.file

Class jdraw.file.File implements Serializable

Serialized Fields

jdraw

JDraw jdraw
Local reference to Top-Level object. Needed by File.new


Package jdraw.graphics

Class jdraw.graphics.CurvedShapeObject implements Serializable

Class jdraw.graphics.CurveObject implements Serializable

Class jdraw.graphics.EllipseObject implements Serializable

Serialized Fields

firstPoint

java.awt.Point firstPoint
Need to save a reference to the first point selected (for initial drawing purposes).

Class jdraw.graphics.GraphicObject implements Serializable

Serialized Fields

shape

java.awt.Shape shape
A Shape object holds the Shape object of this Graphic.

color

java.awt.Color color
A Color object which holds the color of this.shape.

backgroundColor

java.awt.Color backgroundColor
A Color object which holds the background color of this.shape.

controlPoints

java.util.Vector controlPoints
A Vector holding all of the control Points of this.shape.

paint

java.util.Vector paint
An int representing the paint used to fill this.shape.

stroke

java.awt.BasicStroke stroke
A BasicStroke object used to draw this.shape.

graphicType

int graphicType
An int to indicate which type of graphic shape is.

arrowsOn

int arrowsOn
A boolean to indicate whether arrows are to be drawn.

Class jdraw.graphics.LineObject implements Serializable

Serialized Fields

firstPoint

java.awt.Point firstPoint
Need to save a reference to initial point.

Class jdraw.graphics.PolygonObject implements Serializable

Class jdraw.graphics.PolylineObject implements Serializable

Class jdraw.graphics.RectangleObject implements Serializable

Serialized Fields

firstPoint

java.awt.Point firstPoint
Need a reference to the initial point.

Class jdraw.graphics.TextObject implements Serializable

Serialized Fields

location

java.awt.geom.Point2D.Double location
The location of the upper-left hand corner of the box.

text

java.lang.String text
The string of the text.

angle

double angle
The angle by which to rotate the text (in radians).

font

java.awt.Font font
The Font with which to write the text.


Package jdraw.jdraw

Class jdraw.jdraw.Canvas implements Serializable

Serialized Fields

graphics

java.util.Vector graphics
Canvas contains a vector of graphic objects.

filename

java.lang.String filename
Canvas objects also have a filename object.

id

int id
A local int value to store this Canvas' id.

selectedGraphics

java.util.Vector selectedGraphics
A Vector which stores indices to GraphicObject's in Vector graphics.

groups

java.util.Vector groups
A Vector which stores groups (Vectors) of indices.

needSave

boolean needSave
A boolean value indicating whether this file has been changed.

Class jdraw.jdraw.Commands implements Serializable

Serialized Fields

file

File file
Local reference to File object

edit

Edit edit
Local reference to Edit object

structure

Structure structure
Local reference to Structure object

text

Text text
Local reference to Text object

bpc

BrushPatternColor bpc
Local reference to BrushPatternColor object

align

Align align
Local reference to Align object

options

Options options
Local reference to Options object

Class jdraw.jdraw.JDraw implements Serializable

Serialized Fields

commands

Commands commands
The Top-Level Commands model.

canvas

java.util.Vector canvas
The Top-Level Vector of Canvases.

tools

Tools tools
The Top-Level Tools model.

jdrawUI

JDrawUI jdrawUI
Local reference to the system's Top-Level View object.

askSaveDialog

AskSaveDialog askSaveDialog
A Dialog for asking what the user wants to do when closing a changed file.

cancelButton

javax.swing.JButton cancelButton
Still working on this stuff.

activeIndex

int activeIndex
An int value indicating the index of the currently active Canvas.

controlDown

boolean controlDown
A boolean value indicating whether the control key is down.

Class jdraw.jdraw.Tools implements Serializable

Serialized Fields

canvasList

java.util.Vector canvasList
A local reference to the list of canvases.

activeTool

int activeTool
An index to the active Canvas object.

currentColor

java.awt.Color currentColor
A Color value to store the current color.

currentBackgroundColor

java.awt.Color currentBackgroundColor
A Color value to store the current background color.

currentFillType

java.util.Vector currentFillType
An int to store the current fill type.

currentStroke

java.awt.BasicStroke currentStroke
A BasicStroke to store the current stroke.

jdraw

JDraw jdraw
A local reference to the top-level JDraw object.

graphicsBuffer

java.util.Vector graphicsBuffer
A Vector to store graphics which are copied or cut.

currentArrows

int currentArrows


Package jdraw.jdraw_ui

Class jdraw.jdraw_ui.AskSaveDialog implements Serializable

Serialized Fields

jdraw

JDraw jdraw
A local reference to the top-level JDraw component.

Class jdraw.jdraw_ui.CanvasPage implements Serializable

Serialized Fields

graphics2D

java.awt.Graphics2D graphics2D
A local Graphics2D object.

canvasWindow

CanvasWindow canvasWindow
A local reference to the companion CanvasWindow object.

pJob

java.awt.print.PrinterJob pJob
A PrinterJob object is needed to print.

Class jdraw.jdraw_ui.GridPanel implements Serializable

Serialized Fields

circles

java.awt.geom.GeneralPath circles

gridSpacing

int gridSpacing

panelSize

java.awt.Dimension panelSize


Package jdraw.loading_ui

Class jdraw.loading_ui.LoadingDialog implements Serializable


Package jdraw.options

Class jdraw.options.Options implements Serializable


Package jdraw.structure

Class jdraw.structure.Structure implements Serializable

Serialized Fields

jdraw

JDraw jdraw
A local reference to the top-level JDraw object.


Package jdraw.structure_ui

Class jdraw.structure_ui.NumberOfGraphicsDialog implements Serializable


Package jdraw.text

Class jdraw.text.Text implements Serializable

Serialized Fields

currentFontGroup

FontGroup currentFontGroup
A variable to store a reference to the currentFont.

currentFontSize

int currentFontSize
An integer object to store the current Font Size.

currentFontStyle

int currentFontStyle
An integer object to store the current Font Style.

currentFont

java.awt.Font currentFont
A Font object to store the current Font.

jdraw

JDraw jdraw
A local reference to the top-level JDraw object.


Package jdraw.text_ui

Class jdraw.text_ui.FontDialog implements Serializable

Serialized Fields

tempFonts

java.awt.Font[] tempFonts
The list of the current O.S. fonts.

fontList

java.util.Vector fontList
A Vector to store the list of Font Groups.

text

Text text
A reference to the top-level Text object.

nameList

javax.swing.JList nameList
A JList for all the font names.

Class jdraw.text_ui.FontSizeDialog implements Serializable

Serialized Fields

text

Text text
A reference to the top-level Text object.

textBox

javax.swing.JTextField textBox
A JTextField for typing.