Serialized Form


Package protoj.components

Class protoj.components.ArrowObject extends ComponentObject implements Serializable

Class protoj.components.ButtonObject extends ComponentObject implements Serializable

Serialized Fields

script

Script script
Script object


canvas

Canvas canvas
Reference to the parent model.


jcomponent

javax.swing.JButton jcomponent
Reference to the 'real' jcomponent that constitutes the swing portion of the ComponentObject.


container

javax.swing.JLayeredPane container
The container that holds the ComponentObject.

Class protoj.components.CheckBoxObject extends ComponentObject implements Serializable

Serialized Fields

canvas

Canvas canvas
Reference to the parent model.


jcomponent

javax.swing.JPanel jcomponent

container

javax.swing.JLayeredPane container
The container that holds the ComponentObject.

Class protoj.components.ComboBoxObject extends ComponentObject implements Serializable

Serialized Fields

canvas

Canvas canvas
Reference to the parent model.


jcomponent

javax.swing.JComboBox jcomponent
Reference to the actual JComboBox contained in this ComponentObject.


container

javax.swing.JLayeredPane container
The outermost container that holds all components of this.

Class protoj.components.ComponentObject extends mvp.Model implements Serializable

Serialized Fields

componentType

int componentType
ComponentType


component

java.awt.Component component
The Component object


height

int height
The height of the component


width

int width
The width of the component


beginPoint

java.awt.Point beginPoint
The first point


endPoint

java.awt.Point endPoint
The end point


foregroundColor

java.awt.Color foregroundColor
foreground color of the component item


backgroundColor

java.awt.Color backgroundColor
background color of the component item


name

java.lang.String name
name of the component


isSelected

boolean isSelected
A state variable to keep track if the ComponentObject is currently selected on the canvas.


jcomponent

javax.swing.JComponent jcomponent
The JComponent contained in this ComponentObject.


container

javax.swing.JLayeredPane container
The container that holds the InvisibleButton and the 'real' JComponent


invisibleButton

InvisibleButton invisibleButton
A button that resides in the JLayeredPane based on run/edit mode to control the moving of a component or it's script based actionPerformeds


boundingRectangle

java.awt.Rectangle boundingRectangle
The bounding rectangle for this ComponentObject.


drawingPanel

javax.swing.JPanel drawingPanel

Class protoj.components.Components extends mvp.Model implements Serializable

Serialized Fields

protoj

ProtoJ protoj
The top-model ProtoJ object


activeTool

int activeTool
activeTool determine the active tool


backgroundColor

java.awt.Color backgroundColor
background color of the component


foregroundColor

java.awt.Color foregroundColor
foreground color of the component

Class protoj.components.HorizontalScrollbarObject extends ComponentObject implements Serializable

Serialized Fields

canvas

Canvas canvas
Reference to the parent model.


jcomponent

javax.swing.JScrollBar jcomponent
Reference to the 'real' jcomponent that constitutes the swing portion of the ComponentObject.


container

javax.swing.JLayeredPane container
The container that holds the ComponentObject.

Class protoj.components.InvisibleButton extends javax.swing.JButton implements Serializable

Serialized Fields

pane

javax.swing.JLayeredPane pane
The layeredPane associated with this button(for normalization)


companionObject

ComponentObject companionObject
The 'real' thing that this button is associated with.


canvas

Canvas canvas
Each Component Object has a Border associated with it. A border with 'fake' control points if it is selcted.

Class protoj.components.ListObject extends ComponentObject implements Serializable

Serialized Fields

canvas

Canvas canvas
Reference to the parent model.


jcomponent

javax.swing.JList jcomponent
Reference to the 'real' jcomponent that constitutes the swing portion of the ComponentObject.


container

javax.swing.JLayeredPane container
The container that holds the ComponentObject.


scrollPane

javax.swing.JScrollPane scrollPane
The scrollpane for this ComponentObject.

Class protoj.components.RadioButtonObject extends ComponentObject implements Serializable

Serialized Fields

canvas

Canvas canvas
Reference to the parent model.


jcomponent

javax.swing.JPanel jcomponent
Reference to the 'real' jcomponent that constitutes the swing portion of the ComponentObject.


container

javax.swing.JLayeredPane container
The container that holds the ComponentObject.

Class protoj.components.SelectedBorder extends javax.swing.border.AbstractBorder implements Serializable

Serialized Fields

graphics2D

java.awt.Graphics2D graphics2D
The graphcis object associated with this component.


parentObject

ComponentObject parentObject
The parent ComponentObject. This border belongs to the parent


thisBordersInsets

java.awt.Insets thisBordersInsets
Insets determine the 'interior' drawing space of the component.


borderStroke

java.awt.Stroke borderStroke
The size 2 stroke of the border

Class protoj.components.SliderObject extends ComponentObject implements Serializable

Serialized Fields

canvas

Canvas canvas
Reference to the parent model.


jcomponent

javax.swing.JSlider jcomponent
Reference to the 'real' jcomponent that constitutes the swing portion of the ComponentObject.


container

javax.swing.JLayeredPane container
The container that holds the ComponentObject.

Class protoj.components.TableObject extends ComponentObject implements Serializable

Serialized Fields

canvas

Canvas canvas
Reference to the parent model.


jcomponent

javax.swing.JTable jcomponent
Reference to the 'real' jcomponent that constitutes the swing portion of the ComponentObject.


container

javax.swing.JLayeredPane container
The container that holds the ComponentObject.


scrollPane

javax.swing.JScrollPane scrollPane
The scrollpane for this ComponentObject.

Class protoj.components.TextBoxObject extends ComponentObject implements Serializable

Serialized Fields

canvas

Canvas canvas
Reference to the parent model.


jcomponent

javax.swing.JTextArea jcomponent
Reference to the 'real' jcomponent that constitutes the swing portion of the ComponentObject.


container

javax.swing.JLayeredPane container
The container that holds the ComponentObject.


scrollPane

javax.swing.JScrollPane scrollPane
The scrollpane for this ComponentObject.

Class protoj.components.VerticalScrollbarObject extends ComponentObject implements Serializable

Serialized Fields

canvas

Canvas canvas
Reference to the parent model.


jcomponent

javax.swing.JScrollBar jcomponent
Reference to the 'real' jcomponent that constitutes the swing portion of the ComponentObject.


container

javax.swing.JLayeredPane container
The container that holds the ComponentObject.


Package protoj.components_ui

Class protoj.components_ui.ButtonPropertyPanel extends javax.swing.JPanel implements Serializable

Serialized Fields

panel

javax.swing.JPanel panel
The background panel of this


buttonObject

ButtonObject buttonObject
ComponentObject


nameTextField

javax.swing.JTextField nameTextField
name textfield


xLocationTextField

javax.swing.JTextField xLocationTextField
xlocation textfield


yLocationTextField

javax.swing.JTextField yLocationTextField
ylocation textfield


heightTextField

javax.swing.JTextField heightTextField
height textfield


widthTextField

javax.swing.JTextField widthTextField
width textfield


enabledCheckBox

javax.swing.JCheckBox enabledCheckBox
enabled textfield


visibledCheckBox

javax.swing.JCheckBox visibledCheckBox
visibled textfield


labelTextField

javax.swing.JTextField labelTextField
label textfield


iconTextField

javax.swing.JTextField iconTextField
icon textfield


chooseButton

javax.swing.JButton chooseButton
choose button


oldProperties

java.util.Properties oldProperties
a vector houses all the old properties of the component

Class protoj.components_ui.CheckBoxPropertyPanel extends javax.swing.JPanel implements Serializable

Serialized Fields

panel

javax.swing.JPanel panel
The background panel of this


checkBoxObject

CheckBoxObject checkBoxObject
ComponentObject


nameTextField

javax.swing.JTextField nameTextField
name textfield


xLocationTextField

javax.swing.JTextField xLocationTextField
xlocation textfield


yLocationTextField

javax.swing.JTextField yLocationTextField
ylocation textfield


heightTextField

javax.swing.JTextField heightTextField
height textfield


widthTextField

javax.swing.JTextField widthTextField
width textfield


enabledCheckBox

javax.swing.JCheckBox enabledCheckBox
enabled textfield


visibledCheckBox

javax.swing.JCheckBox visibledCheckBox
visibled textfield


checkBoxList

javax.swing.JList checkBoxList
radio list


listModel

javax.swing.DefaultListModel listModel
list model


addButton

javax.swing.JButton addButton
add button


removeButton

javax.swing.JButton removeButton
remove button


labelTextField

javax.swing.JTextField labelTextField
label textfield


iconTextField

javax.swing.JTextField iconTextField
icon textfield


chooseButton

javax.swing.JButton chooseButton
choose button


oldProperties

java.util.Properties oldProperties
a vector houses all the old properties of the component

Class protoj.components_ui.ComboBoxPropertyPanel extends javax.swing.JPanel implements Serializable

Serialized Fields

panel

javax.swing.JPanel panel
The background panel of this


comboBoxObject

ComboBoxObject comboBoxObject
ComponentObject


nameTextField

javax.swing.JTextField nameTextField
name textfield


xLocationTextField

javax.swing.JTextField xLocationTextField
xlocation textfield


yLocationTextField

javax.swing.JTextField yLocationTextField
ylocation textfield


heightTextField

javax.swing.JTextField heightTextField
height textfield


widthTextField

javax.swing.JTextField widthTextField
width textfield


enabledCheckBox

javax.swing.JCheckBox enabledCheckBox
enabled textfield


visibledCheckBox

javax.swing.JCheckBox visibledCheckBox
visibled textfield


list

javax.swing.JList list
radio list


listModel

javax.swing.DefaultListModel listModel
list model


addButton

javax.swing.JButton addButton
add button


removeButton

javax.swing.JButton removeButton
remove button


labelTextField

javax.swing.JTextField labelTextField
label textfield


iconTextField

javax.swing.JTextField iconTextField
icon textfield


chooseButton

javax.swing.JButton chooseButton
choose button


oldProperties

java.util.Properties oldProperties
a vector houses all the old properties of the component

Class protoj.components_ui.ComponentsUI extends mvp.View implements Serializable

Serialized Fields

componentsToolBar

javax.swing.JToolBar componentsToolBar
componentsToolBar object


components

Components components
Components object model


menuBarEditor

MenuBarEditor menuBarEditor
MenuBarEditor object


buttonDimension

java.awt.Dimension buttonDimension
Dimension object


protojUI

ProtoJUI protojUI
ProtoJUI object


ACTIVE

int ACTIVE
The active number for the component toolbar


arrowToolButton

javax.swing.JButton arrowToolButton
Reference to the selection toolbar button so that its appearance can reflect being selected.


buttonButton

javax.swing.JButton buttonButton
Reference to the button toolbar button so that its appearance can reflect being selected.


textBoxButton

javax.swing.JButton textBoxButton
Reference to the textbox toolbar button so that its appearance can reflect being selected.


radioButtonButton

javax.swing.JButton radioButtonButton
Reference to the radio button toolbar button so that its appearance can reflect being selected.


checkBoxButton

javax.swing.JButton checkBoxButton
Reference to the checkbox toolbar button so that its appearance can reflect being selected.


comboBoxButton

javax.swing.JButton comboBoxButton
Reference to the combobox toolbar button so that its appearance can reflect being selected.


listButton

javax.swing.JButton listButton
Reference to the list toolbar button so that its appearance can reflect being selected.


verticalScrollBarButton

javax.swing.JButton verticalScrollBarButton
Reference to the vertical scroll toolbar button so that its appearance can reflect being selected.


horizontalScrollBarButton

javax.swing.JButton horizontalScrollBarButton
Reference to the horizontal scroll toolbar button so that its appearance can reflect being selected.


sliderButton

javax.swing.JButton sliderButton
Reference to the slider toolbar button so that its appearance can reflect being selected.


tableButton

javax.swing.JButton tableButton
Reference to the table toolbar button so that its appearance can reflect being selected.


boxButton

javax.swing.JButton boxButton
Reference to the box toolbar button so that its appearance can reflect being selected.

Class protoj.components_ui.HorizontalScrollBarPropertyPanel extends javax.swing.JPanel implements Serializable

Serialized Fields

panel

javax.swing.JPanel panel
The background panel of this


horizontalScrollBarObject

HorizontalScrollbarObject horizontalScrollBarObject
ComponentObject


nameTextField

javax.swing.JTextField nameTextField
name textfield


xLocationTextField

javax.swing.JTextField xLocationTextField
xlocation textfield


yLocationTextField

javax.swing.JTextField yLocationTextField
ylocation textfield


heightTextField

javax.swing.JTextField heightTextField
height textfield


widthTextField

javax.swing.JTextField widthTextField
width textfield


enabledCheckBox

javax.swing.JCheckBox enabledCheckBox
enabled textfield


visibledCheckBox

javax.swing.JCheckBox visibledCheckBox
visibled textfield


oldProperties

java.util.Properties oldProperties
a vector houses all the old properties of the component

Class protoj.components_ui.LinePanel extends javax.swing.JPanel implements Serializable

Class protoj.components_ui.ListPropertyPanel extends javax.swing.JPanel implements Serializable

Serialized Fields

panel

javax.swing.JPanel panel
The background panel of this


listObject

ListObject listObject
ComponentObject


nameTextField

javax.swing.JTextField nameTextField
name textfield


xLocationTextField

javax.swing.JTextField xLocationTextField
xlocation textfield


yLocationTextField

javax.swing.JTextField yLocationTextField
ylocation textfield


heightTextField

javax.swing.JTextField heightTextField
height textfield


widthTextField

javax.swing.JTextField widthTextField
width textfield


enabledCheckBox

javax.swing.JCheckBox enabledCheckBox
enabled textfield


visibledCheckBox

javax.swing.JCheckBox visibledCheckBox
visibled textfield


list

javax.swing.JList list
radio list


listModel

javax.swing.DefaultListModel listModel
list model


addButton

javax.swing.JButton addButton
add button


removeButton

javax.swing.JButton removeButton
remove button


labelTextField

javax.swing.JTextField labelTextField
label textfield


iconTextField

javax.swing.JTextField iconTextField
icon textfield


chooseButton

javax.swing.JButton chooseButton
choose button


oldProperties

java.util.Properties oldProperties
a vector houses all the old properties of the component

Class protoj.components_ui.MenuBarEditor extends javax.swing.JFrame implements Serializable

Serialized Fields

panel

javax.swing.JPanel panel
The background panel of this


menuEditorTable

javax.swing.JTable menuEditorTable
The JTable object


okButton

javax.swing.JButton okButton
The okButton object


cancelButton

javax.swing.JButton cancelButton
The cancelButton object


lPanel

LinePanel lPanel
Overlayed Lines are drawn with a LinePanel


textArea

MenuBarEditorTextArea textArea
the main editing area


protojUI

ProtoJUI protojUI
The protojUI object


oldContent

java.lang.String oldContent
A copy of old content (used when the user chooses Cancel)


menuVector

java.util.Vector<E> menuVector
A collection of JMenu Objects which reprsent the menu to create

Class protoj.components_ui.MenuBarEditorTextArea extends javax.swing.JTextArea implements Serializable

Serialized Fields

currentLineNumber

int currentLineNumber
private data

Class protoj.components_ui.PropertyEditorDialog extends javax.swing.JFrame implements Serializable

Serialized Fields

propertyEditor

javax.swing.JTabbedPane propertyEditor
JTabbedPane object

Class protoj.components_ui.RadioButtonPropertyPanel extends javax.swing.JPanel implements Serializable

Serialized Fields

panel

javax.swing.JPanel panel
The background panel of this


radioButtonObject

RadioButtonObject radioButtonObject
ComponentObject


nameTextField

javax.swing.JTextField nameTextField
name textfield


xLocationTextField

javax.swing.JTextField xLocationTextField
xlocation textfield


yLocationTextField

javax.swing.JTextField yLocationTextField
ylocation textfield


heightTextField

javax.swing.JTextField heightTextField
height textfield


widthTextField

javax.swing.JTextField widthTextField
width textfield


enabledCheckBox

javax.swing.JCheckBox enabledCheckBox
enabled textfield


visibledCheckBox

javax.swing.JCheckBox visibledCheckBox
visibled textfield


radioList

javax.swing.JList radioList
radio list


listModel

javax.swing.DefaultListModel listModel
list model


addButton

javax.swing.JButton addButton
add button


removeButton

javax.swing.JButton removeButton
remove button


labelTextField

javax.swing.JTextField labelTextField
label textfield


iconTextField

javax.swing.JTextField iconTextField
icon textfield


chooseButton

javax.swing.JButton chooseButton
choose button


oldProperties

java.util.Properties oldProperties
a vector houses all the old properties of the component

Class protoj.components_ui.SliderPropertyPanel extends javax.swing.JPanel implements Serializable

Serialized Fields

panel

javax.swing.JPanel panel
The background panel of this


sliderObject

SliderObject sliderObject
ComponentObject


nameTextField

javax.swing.JTextField nameTextField
name textfield


xLocationTextField

javax.swing.JTextField xLocationTextField
xlocation textfield


yLocationTextField

javax.swing.JTextField yLocationTextField
ylocation textfield


heightTextField

javax.swing.JTextField heightTextField
height textfield


widthTextField

javax.swing.JTextField widthTextField
width textfield


enabledCheckBox

javax.swing.JCheckBox enabledCheckBox
enabled textfield


visibledCheckBox

javax.swing.JCheckBox visibledCheckBox
visibled textfield


oldProperties

java.util.Properties oldProperties
a vector houses all the old properties of the component

Class protoj.components_ui.TablePropertyPanel extends javax.swing.JPanel implements Serializable

Serialized Fields

panel

javax.swing.JPanel panel
The background panel of this


tableObject

TableObject tableObject
ComponentObject


nameTextField

javax.swing.JTextField nameTextField
name textfield


xLocationTextField

javax.swing.JTextField xLocationTextField
xlocation textfield


yLocationTextField

javax.swing.JTextField yLocationTextField
ylocation textfield


heightTextField

javax.swing.JTextField heightTextField
height textfield


widthTextField

javax.swing.JTextField widthTextField
width textfield


enabledCheckBox

javax.swing.JCheckBox enabledCheckBox
enabled textfield


visibledCheckBox

javax.swing.JCheckBox visibledCheckBox
visibled textfield


rowsTextField

javax.swing.JTextField rowsTextField
rows textfield


colsTextField

javax.swing.JTextField colsTextField
cols textfield


oldProperties

java.util.Properties oldProperties
a vector houses all the old properties of the component

Class protoj.components_ui.TextBoxPropertyPanel extends javax.swing.JPanel implements Serializable

Serialized Fields

panel

javax.swing.JPanel panel
The background panel of this


textBoxObject

TextBoxObject textBoxObject
ComponentObject


nameTextField

javax.swing.JTextField nameTextField
nameTextField object


textArea

javax.swing.JTextArea textArea
textArea object


xLocationTextField

javax.swing.JTextField xLocationTextField
xLocation textfield


yLocationTextField

javax.swing.JTextField yLocationTextField
yLocation textfield


heightTextField

javax.swing.JTextField heightTextField
height textfield


widthTextField

javax.swing.JTextField widthTextField
width textfield


enabledCheckBox

javax.swing.JCheckBox enabledCheckBox
enabled checkbox


visibledCheckBox

javax.swing.JCheckBox visibledCheckBox
visible checkbox


oldProperties

java.util.Properties oldProperties
a vector houses all the old properties of the component

Class protoj.components_ui.VerticalScrollBarPropertyPanel extends javax.swing.JPanel implements Serializable

Serialized Fields

panel

javax.swing.JPanel panel
The background panel of this


verticalScrollBarObject

VerticalScrollbarObject verticalScrollBarObject
ComponentObject


nameTextField

javax.swing.JTextField nameTextField
name textfield


xLocationTextField

javax.swing.JTextField xLocationTextField
xlocation textfield


yLocationTextField

javax.swing.JTextField yLocationTextField
ylocation textfield


heightTextField

javax.swing.JTextField heightTextField
height textfield


widthTextField

javax.swing.JTextField widthTextField
width textfield


enabledCheckBox

javax.swing.JCheckBox enabledCheckBox
enabled textfield


visibledCheckBox

javax.swing.JCheckBox visibledCheckBox
visibled textfield


oldProperties

java.util.Properties oldProperties
a vector houses all the old properties of the component


Package protoj.drawing

Class protoj.drawing.CurvedShapeObject extends GraphicObject implements Serializable

Class protoj.drawing.CurveObject extends GraphicObject implements Serializable

Class protoj.drawing.Drawing extends mvp.Model implements Serializable

Serialized Fields

protoj

ProtoJ protoj
A top model Prototype object


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<E> currentFillType
An int to store the current fill type.


currentStroke

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


graphicsBuffer

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


canvasList

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


currentArrows

int currentArrows
The currentArrows


currentPattern

int currentPattern
An integer to store the current Pattern


currentBrush

int currentBrush
An integer to store the current Brush


isSavedPaint

boolean isSavedPaint
A boolean value indicating if the paint object is saved


restorePaint

boolean restorePaint
A boolean value indicating if the restore paint object is saved


savedPaint

java.awt.Paint savedPaint
savedPaint object


components

Components components
components object

Class protoj.drawing.EllipseObject extends GraphicObject implements Serializable

Serialized Fields

firstPoint

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

Class protoj.drawing.GraphicObject extends java.applet.Applet implements Serializable

Serialized Fields

shape

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


graphic

javax.swing.JPanel graphic
The Graphics object


color

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


savedColor

java.awt.Color savedColor
A Color object which holds a saved color of this.shape.


foregroundColor

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


backgroundColor

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


controlPoints

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


paint

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


stroke

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


savedStroke

java.awt.BasicStroke savedStroke
A BasicStroke object saved for this.shape.


savedFillPattern

int savedFillPattern
A fill Pattern saved for 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.


fillPattern

int fillPattern
An integer to indicate the current fill pattern for this.


aBrush

int aBrush
An integer to indicate the current brush stroke


saveTransform

java.awt.geom.AffineTransform saveTransform
An AffineTransform saved for this shape

Class protoj.drawing.GridObject extends GraphicObject implements Serializable

Serialized Fields

location

java.awt.Point location
The location of the upper-left hand corner of the box.


name

java.lang.String name
The path to the image file.


image

java.awt.Image image
An instance of the image class


width

int width
The image width


height

int height
The image height


angle

double angle
The rotation angle


scale

int scale
The zoom factor of this.shape


canvasPage

CanvasPage canvasPage
A local reference to the canvas Page object.


gridx

int gridx
The size of the grid block


gridy

int gridy
The size of the grid block

Class protoj.drawing.ImageObject extends GraphicObject implements Serializable

Serialized Fields

rotationTransform

java.awt.geom.AffineTransform rotationTransform
The AffineTransform to save for this.shape


location

java.awt.Point location
The location of the upper-left hand corner of the box.


name

java.lang.String name
The path to the image file.


image

java.awt.Image image
An instance of the image class


width

int width
The image width


height

int height
The image height


angle

double angle
The rotation angle


scale

int scale
The zoom of this.shape


canvasPage

CanvasPage canvasPage
A local reference to the canvas Page object.


originalWidth

int originalWidth
The original width of this Image


originalHeight

int originalHeight
The original height of this Image

Class protoj.drawing.LineObject extends GraphicObject implements Serializable

Serialized Fields

firstPoint

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

Class protoj.drawing.MultilineObject extends GraphicObject implements Serializable

Class protoj.drawing.PageObject extends GraphicObject implements Serializable

Serialized Fields

location

java.awt.Point location
The location of the upper-left hand corner of the box.


name

java.lang.String name
The path to the image file.


image

java.awt.Image image
An instance of the image class


width

int width
The image width


height

int height
The image height


angle

double angle
The rotation angle


scale

int scale
the size of the zoom of the page


canvasPage

CanvasPage canvasPage
A local reference to the canvas Page object.


gridx

int gridx
The size of a page block


gridy

int gridy
The size of a page block

Class protoj.drawing.PolygonObject extends GraphicObject implements Serializable

Class protoj.drawing.RectangleObject extends GraphicObject implements Serializable

Serialized Fields

firstPoint

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

Class protoj.drawing.TextObject extends GraphicObject 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.


style

int style
The Text Style


size

int size
The Text Size


sizeID

int sizeID
The Text Size ID


fontMetrics

java.awt.FontMetrics fontMetrics
The fontMetrics for this.shape


rotationTransform

java.awt.geom.AffineTransform rotationTransform
The AffineTransform object


Package protoj.drawing_ui

Class protoj.drawing_ui.DrawingUI extends mvp.View implements Serializable

Serialized Fields

drawingToolBar

javax.swing.JToolBar drawingToolBar
drawingToolBar object


drawing

Drawing drawing
drawingTool object model


buttonDimension

java.awt.Dimension buttonDimension
Dimension buttonDimension object


keyListener

ProtoJKeyListener keyListener
ProtoJKeyListener object


protojUI

ProtoJUI protojUI
The parent view.


ACTIVE

int ACTIVE
Static state variable for the current active tool of the component tool bar


arrowToolButton

javax.swing.JButton arrowToolButton

rectangleButton

javax.swing.JButton rectangleButton
Reference to the rectangle toolbar button so that its appearance can reflect being selected.


lineButton

javax.swing.JButton lineButton
Reference to the line toolbar button so that its appearance can reflect being selected.


multilineButton

javax.swing.JButton multilineButton
Reference to the multiline toolbar button so that its appearance can reflect being selected.


stretchButton

javax.swing.JButton stretchButton
Reference to the stretch toolbar button so that its appearance can reflect being selected.


scaleButton

javax.swing.JButton scaleButton
Reference to the scale toolbar button so that its appearance can reflect being selected.


rotateButton

javax.swing.JButton rotateButton
Reference to the rotate toolbar button so that its appearance can reflect being selected.


reshapeButton

javax.swing.JButton reshapeButton
Reference to the reshape toolbar button so that its appearance can reflect being selected.


textButton

javax.swing.JButton textButton
Reference to the text toolbar button so that its appearance can reflect being selected.


curveButton

javax.swing.JButton curveButton
Reference to the curve toolbar button so that its appearance can reflect being selected.


ellipseButton

javax.swing.JButton ellipseButton
Reference to the ellipse toolbar button so that its appearance can reflect being selected.


polygonButton

javax.swing.JButton polygonButton
Reference to the polygon toolbar button so that its appearance can reflect being selected.


shapeButton

javax.swing.JButton shapeButton
Reference to the shape toolbar button so that its appearance can reflect being selected.


imageButton

javax.swing.JButton imageButton
Reference to the image toolbar button so that its appearance can reflect being selected.


fillButton

javax.swing.JButton fillButton
Reference to the fill toolbar button so that its appearance can reflect being selected.


Package protoj.edit

Class protoj.edit.Edit extends mvp.Model implements Serializable

Serialized Fields

protoj

ProtoJ protoj
A reference to Top-Model Protoj object


canvas

Canvas canvas
A reference to Canvas object


componentList

java.util.Vector<E> componentList
A vector that stores all components in the active canvas


EDIT_MODE

int EDIT_MODE
State for edit or run


RUN_MODE

int RUN_MODE
State for edit or run


Package protoj.edit_ui

Class protoj.edit_ui.EditMenu extends mvp.View implements Serializable

Serialized Fields

edit

Edit edit
A local reference to the Edit model.


undoItem

javax.swing.JMenuItem undoItem
A JMenuItem for the 'Undo' item.


redoItem

javax.swing.JMenuItem redoItem
A JMenuItem for the 'Redo' item.


repeatItem

javax.swing.JMenuItem repeatItem
A JMenuItem for the 'Repeat' item


cutItem

javax.swing.JMenuItem cutItem
A JMenuItem for the 'Cut' item.


copyItem

javax.swing.JMenuItem copyItem
A JMenuItem for the 'Copy' item.


pasteItem

javax.swing.JMenuItem pasteItem
A JMenuItem for the 'Paste' item.


duplicateItem

javax.swing.JMenuItem duplicateItem
A JMenuItem for the 'Duplicate' item.


deleteItem

javax.swing.JMenuItem deleteItem
A JMenuItem for the 'Delete' item.


selectAllItem

javax.swing.JMenuItem selectAllItem
A JMenuItem for the 'SelectAll' item.


findItem

javax.swing.JMenuItem findItem
A JMenuItem for the 'Find' item


spellCheckItem

javax.swing.JMenuItem spellCheckItem
A JMenuItem for the 'SpellCheck' item


commandItem

javax.swing.JMenuItem commandItem
A JMenuItem for the 'Command' item


preferencesItem

javax.swing.JMenuItem preferencesItem
A JMenuItem for the 'Preferences' item

Class protoj.edit_ui.EditUI extends mvp.View implements Serializable

Serialized Fields

editMenu

EditMenu editMenu
The companion model


Package protoj.file

Class protoj.file.File extends mvp.Model implements Serializable

Serialized Fields

protoj

ProtoJ protoj
A reference to Top-Model Protoj object


dir

java.lang.String dir
The initial dir setting.


aSavedCanvas

Canvas aSavedCanvas
The current canvas


allCanvases

java.util.Vector<E> allCanvases
A list of current canvases


canvasIndex

java.util.Vector<E> canvasIndex
The current Canvas index

Class protoj.file.Generate extends mvp.View implements Serializable

Serialized Fields

protoj

ProtoJ protoj
Reference to the Top-Model Protoj object.


file

File file
Reference to the File object.


comboBoxNum

int comboBoxNum
Number of combo box components


listNum

int listNum
Number of list components


tableNum

int tableNum
Number of table components


Package protoj.file_ui

Class protoj.file_ui.FileMenu extends mvp.View implements Serializable

Serialized Fields

file

File file
File model object


fileFilter

FileFilter fileFilter
A instance of FileFilter to filter file selection.


fileImageFilter

FileImageFilter fileImageFilter
A instance of FileImageFilter to filter file selection.


fileChooser

javax.swing.JFileChooser fileChooser
A File Chooser for Opening, Saving files


newItem

javax.swing.JMenuItem newItem
A JMenuItem for the 'File New' item.


openItem

javax.swing.JMenuItem openItem
A JMenuItem for the 'File Open' item.


importItem

javax.swing.JMenuItem importItem
A JMenuItem for the 'File Import' item.


revertItem

javax.swing.JMenuItem revertItem
A JMenuItem for the 'File revert' item.


closeItem

javax.swing.JMenuItem closeItem
A JMenuItem for the 'Close' item


closeAllItem

javax.swing.JMenuItem closeAllItem
A JMenuItem for the 'Close All' item


saveItem

javax.swing.JMenuItem saveItem
A JMenuItem for the 'File Save' item.


saveAsItem

javax.swing.JMenuItem saveAsItem
A JMenuItem for the 'Save As' item


saveAllItem

javax.swing.JMenuItem saveAllItem
A JMenuItem for the 'Save All' item


generateItem

javax.swing.JMenuItem generateItem
A JMenuItem for the 'Generate' item


printItem

javax.swing.JMenuItem printItem
A JMenuItem for the 'File Print' item.


exitItem

javax.swing.JMenuItem exitItem
A JMenuItem for the 'File Exit' item.

Class protoj.file_ui.FileUI extends mvp.View implements Serializable

Serialized Fields

fileMenu

FileMenu fileMenu
The companion model


Package protoj.help

Class protoj.help.Help extends mvp.Model implements Serializable

Serialized Fields

protoj

ProtoJ protoj
A reference to Top-Model Protoj object


Package protoj.help_ui

Class protoj.help_ui.AboutDialog extends javax.swing.JDialog implements Serializable

Class protoj.help_ui.HelpMenu extends mvp.View implements Serializable

Serialized Fields

help

Help help
Help model object


aboutDialog

AboutDialog aboutDialog
AboutDialog object

Class protoj.help_ui.HelpUI extends mvp.View implements Serializable

Serialized Fields

helpMenu

HelpMenu helpMenu
The companion model


Package protoj.protoj

Class protoj.protoj.Canvas extends mvp.Model implements Serializable

Serialized Fields

layerGroups

java.util.Vector<E> layerGroups
Layers contain vectors of group objects


layers

java.util.Vector<E> layers
Layers contain vectors of graphic objects


layerList

java.util.Vector<E> layerList
Layers contain vectors of graphic objects


activeLayers

java.util.Vector<E> activeLayers
a list of the visible layers in this canvas


layerCount

int layerCount
The number of layers of this Canvas


currentLayer

int currentLayer
The current working Layer


graphics

java.util.Vector<E> graphics
Canvas and layers contain a vector of graphic objects.


componentObjects

java.util.Vector<E> componentObjects
Canvas contains a vector of component objects


selectedComponentObjects

java.util.Vector<E> selectedComponentObjects
Canvas contains a vector of selected Component objects


textObjects

java.util.Vector<E> textObjects
Canvas and layers contain a vector of text 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<E> selectedGraphics
A Vector which stores indices to GraphicObject's in Vector graphics.


groups

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


needSave

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


canvasPage

CanvasPage canvasPage
A local reference to the CanvasPage


canvasWindow

CanvasWindow canvasWindow
A local reference to CanvasWindow


layersCommandList

java.util.Vector<E> layersCommandList
A vector that contains a list of the commands made per layer


commandList

CommandList commandList
A CommandList that contains a list of the commands made in a layer


protoj

ProtoJ protoj
A local reference to the ProtoJ object

Class protoj.protoj.CommandsMenu extends mvp.Model implements Serializable

Serialized Fields

file

File file
File module


edit

Edit edit
Edit module


tools

Tools tools
Tools module


structure

Structure structure
Structure module


style

Style style
Style module


protojView

View protojView
View module


help

Help help
Help module

Class protoj.protoj.ProtoJ extends mvp.Model implements Serializable

Serialized Fields

commandsMenu

CommandsMenu commandsMenu
The Top-Level CommandsMenu model.


canvas

java.util.Vector<E> canvas
The Top-Level Vector of Canvases.


drawing

Drawing drawing
The Top-Level Drawing model.


components

Components components
The Top-Level Components model


protojUI

ProtoJUI protojUI
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.


fileChooser

javax.swing.JFileChooser fileChooser
A JFileChooser in which to open and save files


fileFilter

FileFilter fileFilter
A instance of FileFilter to filter file selection.


numberOfCanvas

int numberOfCanvas
A integer in which counts the number of Canvas


Package protoj.protoj_ui

Class protoj.protoj_ui.AskSaveDialog extends javax.swing.JDialog implements Serializable

Serialized Fields

protoj

ProtoJ protoj
A local reference to the top-level Prototype component.

Class protoj.protoj_ui.CanvasPage extends javax.swing.JPanel implements Serializable

Serialized Fields

drawing

Drawing drawing
A local reference to the upper-level Drawing object.


components

Components components
A local reference to the upper level component drawing object


graphics2D

java.awt.Graphics2D graphics2D
A local Graphics2D object.


canvasWindow

CanvasWindow canvasWindow
A local reference to the companion CanvasWindow object.


properties

java.util.Properties properties
A Properties object is needed to print.


pJob

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


job

java.awt.JobAttributes job
A JobAttributes object is needed to print.


page

java.awt.PageAttributes page
A PageAttributes object is needed to print.


format

java.awt.print.PageFormat format
A PageFormat object is needed to print.


canvas

Canvas canvas

dim

java.awt.Dimension dim
Dimension of this panel

Class protoj.protoj_ui.CanvasWindow extends mvp.View implements Serializable

Serialized Fields

canvas

Canvas canvas
A local reference to the companion Model object.


protoj

ProtoJ protoj
A local reference to the top-level ProtoJ object.


protojUI

ProtoJUI protojUI
A reference to the parent view


drawing

Drawing drawing
A local reference to the upper-level Drawing object.


components

Components components
A local reference to the upper-level Components object


currentPoint

java.awt.Point currentPoint
currentPiont


graphicType

int graphicType
int object graphicType holds the integer representation of the active Graphic Tool.


componentType

int componentType
component type


backgroundColor

java.awt.Color backgroundColor
Color object backgroundColor holds the value of this Canvas' background color.


dir

java.lang.String dir
The path of the users current dir


currentControlObject

int currentControlObject
currentControlObject


currentControlPoint

int currentControlPoint
currentControlPoint


windowPane

javax.swing.JScrollPane windowPane
A JScrollPane in which to put our CanvasPage.


graphicObject

GraphicObject graphicObject
A GraphicObject instance where graphics are stored as they're being created.


componentObject

ComponentObject componentObject
A ComponentObject instance where components are stored as they're being created


undoBuffer

java.util.Vector<E> undoBuffer
A Vector to store Canvas objects for undo purposes.


redoBuffer

java.util.Vector<E> redoBuffer
A Vector to store Canvas objects for redo purposes.


keyListener

ProtoJKeyListener keyListener
The overall Key Listener.


zoom

float zoom
A float value to store this window's current zoom factor.


changePT1

java.awt.Point changePT1
control points to change position


changePT2

java.awt.Point changePT2
control points to change position


pageXWidth

int pageXWidth
The width of the current page


pageYHeight

int pageYHeight
The height of the current page


newObject

GraphicObject newObject
A graphic object representing a new object to draw on the canvas window


rectObject

GraphicObject rectObject
A graphic object representing rectangular area of text to highlight in the text object


tempGraphic

GraphicObject tempGraphic
A graphic object used to temporarily store an object


gridObject

GraphicObject gridObject
A graphic object representing the grid for this window


pageObject

PageObject pageObject
A Page object representing the page setup for this window


point1

int point1
Integers representing points on the window.


point2

int point2
Integers representing points on the window.


point3

int point3
Integers representing points on the window.


point4

int point4
Integers representing points on the window.


onLine

int onLine
Integers representing points on the window.


lineNumber

int lineNumber
Integers representing points on the window.


scaleGraphicObject

boolean scaleGraphicObject
boolean value representing scaling factor of a graphic object


gridx

int gridx
integer values representing the grid box width and height


gridy

int gridy
integer values representing the grid box width and height


gridOn

boolean gridOn
boolean value indicates if a grid is on


gridVis

boolean gridVis
boolean value indicates if a grid should be drawn


panel

javax.swing.JPanel panel
A JPanel to use for this window.


whitePanel

javax.swing.JPanel whitePanel
A JPanel behind the window panel


canvasPage

CanvasPage canvasPage
A CanvasPage object to reference for drawing and printing purposes


color

java.awt.Color color
A color object for Temp graphic objects


pageSetup

PageSetup pageSetup
The page setup for this window


textX

double textX
The double value representing the text arguments


textY

double textY
The double value representing the text arguments


textH

double textH
The double value representing the text arguments


temp

java.awt.Font temp
The temp font setting for the text object


reshapeTextObject

boolean reshapeTextObject
a boolean value indicating if Text edit is the current tool


tempGraphicIndex

int tempGraphicIndex
an integer value indicating if there is a temp graphic object


movedList

java.util.Vector<E> movedList
movedList


moveGroup

java.util.Vector<E> moveGroup
This is a list of components that have been touched


pointsList

java.util.Vector<E> pointsList
pointsList


commandList

CommandList commandList
A local reference to the top-level JDraw object.


menuBar

javax.swing.JMenuBar menuBar
MenuBar object of the canvas window


menuEditorTable

javax.swing.JTable menuEditorTable
JTable object as menuEditorTable


oldActive

int oldActive

Class protoj.protoj_ui.CommandsMenuUI extends mvp.View implements Serializable

Serialized Fields

menuBar

javax.swing.JMenuBar menuBar
The top-level menu bar.


fileUI

FileUI fileUI
The pulldown File menu.


editUI

EditUI editUI
The pulldown Edit menu.


toolsUI

ToolsUI toolsUI
The pulldonw Tools menu


structureUI

StructureUI structureUI
The pulldown Structure menu


styleUI

StyleUI styleUI
The pulldown Style menu


viewUI

ViewUI viewUI
The pulldown View menu


helpUI

HelpUI helpUI
The pulldown Help menu


commandsMenu

CommandsMenu commandsMenu
CommandsMenu object


keyListener

ProtoJKeyListener keyListener
ProtoJKeyListener object

Class protoj.protoj_ui.GridPanel extends javax.swing.JPanel implements Serializable

Serialized Fields

circles

java.awt.geom.GeneralPath circles
a general path representing a circular area of the grid


gridSpacing

int gridSpacing
an integer representing the grid spacing


panelSize

java.awt.Dimension panelSize
the current dimension of the window

Class protoj.protoj_ui.ProtoJUI extends mvp.View implements Serializable

Serialized Fields

protoj

ProtoJ protoj
The corresponding model object


screen

mvp.Screen screen
A local reference to the screen


commandsMenuUI

CommandsMenuUI commandsMenuUI
The Menu Bar object


drawing

Drawing drawing
The Drawing tool


drawingUI

DrawingUI drawingUI
The DrawingUI object


components

Components components
The ComponentTool object


componentsUI

ComponentsUI componentsUI
The ComponentUI object


canvasWindow

java.util.Vector<E> canvasWindow
The Vector of Drawing Canvas objects.


keyListener

ProtoJKeyListener keyListener
ProtoJKeyListener object


currentActiveToolbar

int currentActiveToolbar
The current value of this variable indicates whether the Drawing or Component toolbar is active, based on the constants DRAWIMG_TOOL and COMP_TOOL.


DRAWING_TOOL

int DRAWING_TOOL
The value of the Drawing tool being active is 1


COMP_TOOL

int COMP_TOOL
The value of the Component tool being active is 0


Package protoj.structure

Class protoj.structure.Structure extends mvp.Model implements Serializable

Serialized Fields

protoj

ProtoJ protoj
A reference to Top-Model Protoj object


Package protoj.structure_ui

Class protoj.structure_ui.MoveDialog extends javax.swing.JDialog implements Serializable

Serialized Fields

structureMenu

StructureMenu structureMenu
A local reference to the system's StructureMenu 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 protoj.structure_ui.NumberOfComponentsDialog extends javax.swing.JDialog implements Serializable

Class protoj.structure_ui.NumberOfDrawingsDialog extends javax.swing.JDialog implements Serializable

Class protoj.structure_ui.RotateDialog extends javax.swing.JDialog implements Serializable

Serialized Fields

structureMenu

StructureMenu structureMenu
A local reference to the system's StructureMenu object.


degreeField

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

Class protoj.structure_ui.ScaleDialog extends javax.swing.JDialog implements Serializable

Serialized Fields

structureMenu

StructureMenu structureMenu
A local reference to the system's StructureMenu 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 protoj.structure_ui.StructureMenu extends mvp.View implements Serializable

Serialized Fields

structure

Structure structure
Structure model object


rotateDialog

RotateDialog rotateDialog
RotateDialog object


moveDialog

MoveDialog moveDialog
MoveDialog object


scaleDialog

ScaleDialog scaleDialog
ScaleDialog object

Class protoj.structure_ui.StructureUI extends mvp.View implements Serializable

Serialized Fields

structureMenu

StructureMenu structureMenu
The companion model


Package protoj.style

Class protoj.style.Style extends mvp.Model implements Serializable

Serialized Fields

protoj

ProtoJ protoj
A reference to Top-Model Protoj object


currentFontGroup

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


currentFontSize

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


currentFontSizeID

int currentFontSizeID
An integer object to store the current Font Size ID.


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.


paintEditDialog

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


brushEditDialog

BrushEditDialog brushEditDialog
A BrushEditDialog instance for user-created brush


theFillPattern

int theFillPattern
the current fill Pattern


aBrush

int aBrush
the current brush Pattern


previousBrush

int previousBrush
the previous brush Pattern


dashSequence

float[] dashSequence
the dash Pattern


isDash

boolean isDash
the dash status


Package protoj.style_ui

Class protoj.style_ui.BrushEditDialog extends javax.swing.JDialog implements Serializable

Serialized Fields

dashField

javax.swing.JTextField dashField
A JTextField for the brush dash setting


widthField

javax.swing.JTextField widthField
A JTextField for the width of brush setting


rightArrow

javax.swing.JCheckBox rightArrow
A JCheckBox for the brush right arrow setting


leftArrow

javax.swing.JCheckBox leftArrow
A JCheckBox for the brush left arrow setting


protoj

ProtoJ protoj
A local reference to ProtoJ


bs

java.awt.BasicStroke bs
the current basic stroke


arrows

int arrows
the number of current arrows


viewPanel

javax.swing.JPanel viewPanel
A JPanes for this dialog


noShow

boolean noShow
boolean value determines if current settings are drawn


lineWidth

float lineWidth
current value of the brush line width


dashSequence

float[] dashSequence
current value of the brush dashSequence

Class protoj.style_ui.FontDialog extends javax.swing.JDialog implements Serializable

Serialized Fields

tempFonts

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


fontList

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


style

Style style
A reference to the top-level Style object.


nameList

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

Class protoj.style_ui.FontSizeDialog extends javax.swing.JDialog implements Serializable

Serialized Fields

style

Style style
A reference to the top-level Style object.


textBox

javax.swing.JTextField textBox
A JTextField for typing.

Class protoj.style_ui.FontSizeErrorDialog extends javax.swing.JDialog implements Serializable

Class protoj.style_ui.PaintEditDialog extends javax.swing.JDialog implements Serializable

Serialized Fields

x1Field

javax.swing.JTextField x1Field
A JTextfield for the pattern x,y settings.


x2Field

javax.swing.JTextField x2Field
A JTextfield for the pattern x,y settings.


y1Field

javax.swing.JTextField y1Field
A JTextfield for the pattern x,y settings.


y2Field

javax.swing.JTextField y2Field
A JTextfield for the pattern x,y settings.


protoj

ProtoJ protoj
A local reference for ProtoJ


paint

float[] paint
the current pattern settings


arrows

int arrows
the number of arrows


viewPanel

javax.swing.JPanel viewPanel
the panel on which to draw.

Class protoj.style_ui.StyleMenu extends mvp.View implements Serializable

Serialized Fields

style

Style style
Style model object


fontDialog

FontDialog fontDialog
A FontDialog from which to select the current font.


fontSizeDialog

FontSizeDialog fontSizeDialog
A FontSizeDialog from which to select the current font size.


colorChooser

javax.swing.JColorChooser colorChooser
A Generic JColorChooser for selecting foreground color.


colorDialog

javax.swing.JDialog colorDialog
A Dialog in which to put the Color Chooser.

Class protoj.style_ui.StyleUI extends mvp.View implements Serializable

Serialized Fields

styleMenu

StyleMenu styleMenu
The companion model


Package protoj.tools

Class protoj.tools.ButtonMouseListener extends java.lang.Object implements Serializable

Serialized Fields

script

Script script
A local reference to the companion Script object.


leftMouseUp

int leftMouseUp
mouse action indicator, there are 9 of them


leftMouseDown

int leftMouseDown

middleMouseUp

int middleMouseUp

middleMouseDown

int middleMouseDown

rightMouseUp

int rightMouseUp

rightMouseDown

int rightMouseDown

leftDoubleClick

int leftDoubleClick

mouseEnter

int mouseEnter

mouseLeave

int mouseLeave

Class protoj.tools.Script extends mvp.Model implements Serializable

Serialized Fields

jcomp

javax.swing.JComponent jcomp
JButton object


interpreter

Interpreter interpreter
beanshell interpreter


scriptEditor

ScriptEditor scriptEditor
ScriptEditor object


mouseListener

ButtonMouseListener mouseListener
ButtonMouseListener object


editorExist

int editorExist
indicator for script editor existence


index

int index
index of this script


leftMouseUpScript

java.lang.String leftMouseUpScript
Left Mouse Up script


leftMouseDownScript

java.lang.String leftMouseDownScript
Left Mouse Down script


middleMouseUpScript

java.lang.String middleMouseUpScript
Middle Mouse Up script


middleMouseDownScript

java.lang.String middleMouseDownScript
Middle Mouse Down script


rightMouseUpScript

java.lang.String rightMouseUpScript
Right Mouse Up script


rightMouseDownScript

java.lang.String rightMouseDownScript
Right Mouse Down script


leftDoubleClickScript

java.lang.String leftDoubleClickScript
Left Double Click script


mouseEnterScript

java.lang.String mouseEnterScript
Mouse Enter script


mouseLeaveScript

java.lang.String mouseLeaveScript
Mouse Leave script


keyPressScript

java.lang.String keyPressScript
Key Press script


leftMouseUp

int leftMouseUp
mouse/key action indicator, there are 10 of them


leftMouseDown

int leftMouseDown

middleMouseUp

int middleMouseUp

middleMouseDown

int middleMouseDown

rightMouseUp

int rightMouseUp

rightMouseDown

int rightMouseDown

leftDoubleClick

int leftDoubleClick

mouseEnter

int mouseEnter

mouseLeave

int mouseLeave

keyPress

int keyPress

Class protoj.tools.Tools extends mvp.Model implements Serializable

Serialized Fields

protoj

ProtoJ protoj
A reference to Top-Model Protoj object


canvas

Canvas canvas
A reference to Canvas object


propertyEditorDialog

PropertyEditorDialog propertyEditorDialog
PropertyEditorDialog object


scriptEditorList

java.util.Vector<E> scriptEditorList
A vector that contains a list of script editors


Package protoj.tools_ui

Class protoj.tools_ui.ScriptEditor extends mvp.View implements Serializable

Serialized Fields

script

Script script
Script object


panel

javax.swing.JPanel panel
The background panel of this


tabbedPane

javax.swing.JTabbedPane tabbedPane
tabbed pane


scriptArea

javax.swing.JTextArea[] scriptArea
JTextAreas


comboBox

javax.swing.JComboBox comboBox
JComboBox with list of choices


comboStrings

java.lang.String[] comboStrings
Names of items in the combo box list


selectedIndex

int selectedIndex
selected item from the list in the combo box


indexStore

int[] indexStore
a list of indexes


cbHbox

javax.swing.Box cbHbox
horizontal box used in composeComboBox method


cbSpace

java.awt.Component cbSpace
space after the combo box


keyLabel

javax.swing.JLabel keyLabel
label for KEY


keyField

javax.swing.JTextField keyField
text field for keys


keySpace1

java.awt.Component keySpace1
space needed for the key label and text field


keySpace2

java.awt.Component keySpace2

keySpace3

java.awt.Component keySpace3

paneCount

int paneCount
tabbedPane counter

Class protoj.tools_ui.ToolsMenu extends mvp.View implements Serializable

Serialized Fields

tools

Tools tools
Tools model object


scriptEditorMenuItem

javax.swing.JCheckBoxMenuItem scriptEditorMenuItem
scriptEditorMenuItem


slideShowMenuItem

javax.swing.JCheckBoxMenuItem slideShowMenuItem
sliceShowMenuItem


explorerMenuItem

javax.swing.JCheckBoxMenuItem explorerMenuItem
explorerMenuItem

Class protoj.tools_ui.ToolsUI extends mvp.View implements Serializable

Serialized Fields

toolsMenu

ToolsMenu toolsMenu
The companion model


Package protoj.view

Class protoj.view.NoneSelectedErrorDialog extends javax.swing.JDialog implements Serializable

Class protoj.view.TooManyErrorDialog extends javax.swing.JDialog implements Serializable

Class protoj.view.View extends mvp.Model implements Serializable

Serialized Fields

protoj

ProtoJ protoj
A reference to Top-Model Protoj object


gridOn

boolean gridOn
A boolean value representing if a grid's drawing restrictions are set on


gridVis

boolean gridVis
A boolean value representing if a grid is visible on the canvas window


gridx

int gridx
The x space size for the grid


gridy

int gridy
The y space size for the grid


canvas

Canvas canvas
A reference to Canvas object


layerList

java.util.Vector<E> layerList
The list of layers for a particular Canvas.


Package protoj.view_ui

Class protoj.view_ui.GridSpacingDialog extends javax.swing.JDialog implements Serializable

Serialized Fields

viewMenu

ViewMenu viewMenu
A local reference to the system's View Menu 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 protoj.view_ui.LayersDialog extends javax.swing.JDialog implements Serializable

Serialized Fields

layerItems

java.util.Vector<E> layerItems
Vector of items in


layerList

javax.swing.DefaultListModel layerList
Default List model is extended to provide the layer list functionality.


jList

javax.swing.JList jList

view

View view
The parent view.


nameField

javax.swing.JTextField nameField
The name for a particular layer.


selectedIndices

int[] selectedIndices
The indices in the layer list that will have operations perfomed on them.


selectedValues

java.lang.Object[] selectedValues
Not sure what this does yet.


protojUI

ProtoJUI protojUI
For getting the images folder.

Class protoj.view_ui.PagesDialog extends javax.swing.JDialog implements Serializable

Serialized Fields

xField

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


topField

javax.swing.JTextField topField
The top margin field.


bottomField

javax.swing.JTextField bottomField
The bottom margin field.


rightField

javax.swing.JTextField rightField
The right margin field.


leftField

javax.swing.JTextField leftField
The left margin field.


dwField

javax.swing.JTextField dwField
The ?


dhField

javax.swing.JTextField dhField
The ?


dsField

javax.swing.JTextField dsField
The ?


xText

java.lang.String xText
The ?


yField

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


yText

java.lang.String yText

x1Field

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


y1Field

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


pageOrderChanged

boolean pageOrderChanged
Boolean value of whether the page ordering has changed.


pageBoundChanged

boolean pageBoundChanged
Boolean value of whether the margins of the page has changed.


orientationChanged

boolean orientationChanged
Boolean value of whether the ordering of the pages has changed.


pageOrderAnswer

java.lang.String pageOrderAnswer
These need to be rearranged.


pageBoundAnswer

java.lang.String pageBoundAnswer
These need to be rearranged.


orientationAnswer

java.lang.String orientationAnswer
These need to be rearranged.


view

View view
Reference to the parent view.


protojUI

ProtoJUI protojUI
Reference to the grandparent view, which is lame, but we need it.


pageSetup

PageSetup pageSetup
Reference to the current page setup of the current CanvasWindow.


rowIcon

javax.swing.ImageIcon rowIcon
Image for rows


columnIcon

javax.swing.ImageIcon columnIcon
Image for columns

Class protoj.view_ui.ViewMenu extends mvp.View implements Serializable

Serialized Fields

view

View view
View model object


gridSpacingDialog

GridSpacingDialog gridSpacingDialog
local reference to the GridSpacingDialog.


cShowHide

int cShowHide
Component show/hide indicator


layersDialog

LayersDialog layersDialog
local reference to the LayersDialog.


pagesDialog

PagesDialog pagesDialog
local reference to the PagesDialog.


protojUI

ProtoJUI protojUI
A Reference to the parent UI. This could probably go at some point, but as of right now layer and page dialogs are built anew every time to harvest the current canvas info.

Class protoj.view_ui.ViewUI extends mvp.View implements Serializable

Serialized Fields

viewMenu

ViewMenu viewMenu
The companion model