Serialized Form


Package codeblocks

Class codeblocks.CompilerException extends java.lang.Exception implements Serializable

serialVersionUID: 1L

Serialized Fields

error

CompilerException.Error error

illegalBlockID

java.lang.Long illegalBlockID

label

java.lang.String label

Package codeblockutil

Class codeblockutil.CArrowButton extends CButton implements Serializable

serialVersionUID: 328149080231L

Serialized Fields

dir

CArrowButton.Direction dir

Class codeblockutil.CBarGraph extends javax.swing.JLabel implements Serializable

serialVersionUID: 328149080230L

Serialized Fields

chart

org.jfree.chart.JFreeChart chart

chartData

codeblockutil.CBarGraph.BarData chartData

background

java.awt.Color background

lock

boolean lock

output

org.jfree.chart.ChartPanel output

upperBound

double upperBound

lowerBound

double lowerBound

Class codeblockutil.CBorderlessButton extends CButton implements Serializable

serialVersionUID: 328149080229L

Class codeblockutil.CButton extends javax.swing.JButton implements Serializable

serialVersionUID: 328149080228L

Serialized Fields

focus

boolean focus
Focus Flag: true iff mouse is hovering over button


pressed

boolean pressed
Press Flag: true iff button was pressed but has not been released


selected

boolean selected
Selected Flag: true iff button was toggled to selected


buttonColor

java.awt.Color buttonColor
Color of this button when not pressed


selectedColor

java.awt.Color selectedColor
Color of this button when pressed


foregroundColor

java.awt.Color foregroundColor
Color of the foreground when not hovered


hoveredColor

java.awt.Color hoveredColor
Color of the foreground whe hovered

Class codeblockutil.CColorChooser extends CButton implements Serializable

serialVersionUID: 328149080226L

Serialized Fields

popup

CColorChooser.ColorPicker popup

previousColor

java.awt.Color previousColor

Class codeblockutil.CColorChooser.ColorPicker extends javax.swing.JPopupMenu implements Serializable

serialVersionUID: 328149080227L

Serialized Fields

WIDTH

float WIDTH

HEIGHT

float HEIGHT

hue

float hue
must be between 0 and 1, o being dark


mx

int mx

my

int my

color

java.awt.Color color

buffImg

java.awt.image.BufferedImage buffImg

Class codeblockutil.CGlassScrollPane extends CScrollPane implements Serializable

serialVersionUID: 328149080222L

Serialized Fields

SCROLLINGUNIT

int SCROLLINGUNIT

verticalbar

GlassVerticalBar verticalbar

horizontalbar

GlassHorizontalBar horizontalbar

scrollviewport

javax.swing.JScrollPane scrollviewport

vpolicy

CScrollPane.ScrollPolicy vpolicy

hpolicy

CScrollPane.ScrollPolicy hpolicy

thumbWidth

int thumbWidth

Class codeblockutil.CGraphiteButton extends CButton implements Serializable

serialVersionUID: 328149080221L

Class codeblockutil.CGraphiteSquareButton extends CButton implements Serializable

serialVersionUID: 328149080220L

Class codeblockutil.CHoverScrollPane extends CScrollPane implements Serializable

serialVersionUID: 328149080214L

Serialized Fields

SCROLLINGUNIT

int SCROLLINGUNIT

verticalbar

HoverVerticalBar verticalbar

horizontalbar

HoverHorizontalBar horizontalbar

scrollviewport

javax.swing.JScrollPane scrollviewport

vpolicy

CScrollPane.ScrollPolicy vpolicy

hpolicy

CScrollPane.ScrollPolicy hpolicy

thumbWidth

int thumbWidth

Class codeblockutil.CIconButton extends CButton implements Serializable

serialVersionUID: 328149080213L

Serialized Fields

icon

CIconButton.Icon icon
Button icon

Class codeblockutil.CLabel extends javax.swing.JLabel implements Serializable

serialVersionUID: 328149080212L

Serialized Fields

shadowPositionArray

int[][] shadowPositionArray

shadowColorArray

float[] shadowColorArray

offsetSize

double offsetSize

Class codeblockutil.CLineGraph extends javax.swing.JLabel implements Serializable

serialVersionUID: 328149080211L

Serialized Fields

chart

org.jfree.chart.JFreeChart chart

chartData

codeblockutil.CLineGraph.LineData chartData

background

java.awt.Color background

img

java.awt.image.BufferedImage img

lock

boolean lock

output

org.jfree.chart.ChartPanel output

Class codeblockutil.CMenuItem extends javax.swing.JButton implements Serializable

serialVersionUID: 328149080429L

Serialized Fields

background

java.awt.Color background

highlight

java.awt.Color highlight

focus

boolean focus

textPosition

CMenuItem.Position textPosition

Class codeblockutil.CPopupMenu extends javax.swing.JPopupMenu implements Serializable

serialVersionUID: 328149080311L

Serialized Fields

ITEM_HEIGHT

int ITEM_HEIGHT

background

java.awt.Color background

scroll

javax.swing.JComponent scroll

view

javax.swing.JComponent view

zoom

double zoom

items

int items

Class codeblockutil.CProgressBar extends javax.swing.JFrame implements Serializable

serialVersionUID: 328149080260L

Serialized Fields

bar

javax.swing.JProgressBar bar

timer

javax.swing.Timer timer

Class codeblockutil.CQueryField extends javax.swing.JPanel implements Serializable

serialVersionUID: 328149080259L

Serialized Fields

field

javax.swing.JTextField field

pressed

boolean pressed

mouseover

boolean mouseover

Class codeblockutil.CRadioactiveButton extends CButton implements Serializable

serialVersionUID: 328149080258L

Serialized Fields

shadowPositionArray

int[][] shadowPositionArray

shadowColorArray

float[] shadowColorArray

offsetSize

double offsetSize

Class codeblockutil.CScrollPane extends javax.swing.JLayeredPane implements Serializable

Class codeblockutil.CSignLabel extends javax.swing.JPanel implements Serializable

serialVersionUID: 328149080428L

Serialized Fields

shadowPositionArray

int[][] shadowPositionArray

shadowColorArray

float[] shadowColorArray

offsetSize

double offsetSize

charSet

java.lang.String[] charSet

FONT_SIZE

int FONT_SIZE

Class codeblockutil.CSlider extends javax.swing.JPanel implements Serializable

serialVersionUID: 328149080257L

Serialized Fields

value

int value
this.value


left

int left
The value representing the left side of slider


right

int right
The value representing the right side of the slider


leadingColor

java.awt.Color leadingColor
track color from min to value


trailingColor

java.awt.Color trailingColor
track color from value to max


thumbColor

java.awt.Color thumbColor
color of thumb


blueprint

SliderBlueprint blueprint

trackThickness

float trackThickness

offset

int offset

thumbStart

int thumbStart

setTicks

boolean setTicks

tickNumber

int tickNumber

startMark

boolean startMark

startMarkLabel

java.lang.String startMarkLabel

Class codeblockutil.CSliderPane extends javax.swing.JPanel implements Serializable

serialVersionUID: 328149080253L

Serialized Fields

slider

CSlider slider
the slider that graphcally displays thhe abstract model


valueLabel

javax.swing.JTextField valueLabel
the value text field that graphically displays the abstract value


leftLabel

javax.swing.JTextField leftLabel
the left text field that graphically displays either the min or max


rightLabel

javax.swing.JTextField rightLabel
the right text field that graphically displays either the min or max

Class codeblockutil.CTabButton extends CButton implements Serializable

serialVersionUID: 328149080252L

Class codeblockutil.CTable extends javax.swing.JPanel implements Serializable

serialVersionUID: 328149080251L

Serialized Fields

data

java.util.List<E> data

view

javax.swing.JComponent view

scroll

javax.swing.JComponent scroll

columns

java.lang.String[] columns

columnLabels

javax.swing.JLabel[] columnLabels

Class codeblockutil.CTextField extends javax.swing.JFormattedTextField implements Serializable

serialVersionUID: 328149080250L

Serialized Fields

pressed

boolean pressed

mouseover

boolean mouseover

Class codeblockutil.CToolTip extends javax.swing.JToolTip implements Serializable

serialVersionUID: 328149080249L

Serialized Fields

background

java.awt.Color background

Class codeblockutil.CTracklessScrollPane extends CScrollPane implements Serializable

serialVersionUID: 328149080244L

Serialized Fields

SCROLLINGUNIT

int SCROLLINGUNIT

verticalbar

VerticalBar verticalbar

horizontalbar

HorizontalBar horizontalbar

scrollviewport

javax.swing.JScrollPane scrollviewport

Class codeblockutil.CWheeler extends javax.swing.JPanel implements Serializable

serialVersionUID: 82391823L

Serialized Fields

elements

java.util.Collection<E> elements

scroll

CScrollPane scroll

view

javax.swing.JComponent view

Class codeblockutil.CWheelItem extends javax.swing.JPanel implements Serializable

serialVersionUID: 328149080241L

Class codeblockutil.DefaultCanvas extends javax.swing.JPanel implements Serializable

serialVersionUID: 328149080290L

Class codeblockutil.GlassExplorer extends javax.swing.JPanel implements Serializable

serialVersionUID: 328149080292L

Serialized Fields

buttonPane

javax.swing.JPanel buttonPane
The panel containing the buttons


canvasPane

codeblockutil.GlassExplorer.CanvasPane canvasPane
The panel containing the canvas


timer

codeblockutil.GlassExplorer.EnlargerTimer timer
A timer responsible for rolling out the canvas


drawers

java.util.List<E> drawers
The internal list of drawers in order


retardedPane

javax.swing.JPanel retardedPane
A an empty pane for free space


selectedCanvasIndex

int selectedCanvasIndex
The index of the canvas which is selected


listeners

java.util.List<E> listeners
A List of listeners for this canvas


canvasHeight

int canvasHeight
Reforms this explorer based on the new size or location of this explorer. For some explorers whose implementation does not depend on the size of itself, this method may trigger no action.

Class codeblockutil.LabelWidget extends javax.swing.JComponent implements Serializable

serialVersionUID: 837647234895L

Serialized Fields

textLabel

codeblockutil.LabelWidget.ShadowLabel textLabel
Label that is visable iff editingText is false


textField

codeblockutil.LabelWidget.BlockLabelTextField textField
TextField that is visable iff editingText is true


menu

codeblockutil.LabelWidget.LabelMenu menu
drop down menu icon


labelBeforeEdit

java.lang.String labelBeforeEdit
The label text before user begins edit (applies only to editable labels)


isNumber

boolean isNumber
If this is a number, then only allow nagatvie signs and periods at certain spots


isEditable

boolean isEditable
Is labelText editable by the user -- default true


isFocused

boolean isFocused
If focus is true, then show the combo pop up menu


hasSiblings

boolean hasSiblings
Has ComboPopup accessable selections


editingText

boolean editingText
True if TEXTFIELD is being edited by user.


tooltipBackground

java.awt.Color tooltipBackground
the background color of the tooltip


zoom

double zoom

Class codeblockutil.MagicExplorer extends javax.swing.JLayeredPane implements Serializable

serialVersionUID: 328149080294L

Serialized Fields

canvases

java.util.List<E> canvases
The set of drawers that wraps each canvas


buttonPane

javax.swing.JPanel buttonPane
The panel containing the buttons


canvasPane

javax.swing.JPanel canvasPane
The panel containing the canvas


timer

codeblockutil.MagicExplorer.EnlargerTimer timer
A timer responsible for rolling out the canvas

Class codeblockutil.PopupExplorer extends javax.swing.JLayeredPane implements Serializable

serialVersionUID: 328149080299L

Serialized Fields

buttonPane

javax.swing.JPanel buttonPane
The panel containing the buttons


viewport

javax.swing.JPanel viewport
The panel containing the canvas


scroll

javax.swing.JComponent scroll
The scrolling pane


components

java.util.List<E> components
The internal list of drawers in order

Class codeblockutil.StackExplorer extends javax.swing.JLayeredPane implements Serializable

serialVersionUID: 328149080301L

Serialized Fields

drawers

java.util.List<E> drawers
The set of drawers that wraps each canvas


timer

javax.swing.Timer timer
Timer to help regulate the sliding of drawers


count

int count
The number of times to slide

Class codeblockutil.TabbedExplorer extends javax.swing.JPanel implements Serializable

serialVersionUID: 328149080307L

Serialized Fields

drawerCards

java.util.List<E> drawerCards
The set of drawers that wraps each canvas


canvasPane

javax.swing.JComponent canvasPane
Teh canvas portion


wheeler

CWheeler wheeler
The wheel of buttons


menu

javax.swing.JPopupMenu menu
The PopupMenu that displays all canvas names


left

CButton left
For scrolling the wheel of buttons left


right

CButton right
For scrolling the wheel of buttons right


down

CButton down
For displaying the popup menu


timer

javax.swing.Timer timer
The timer that scrolls through the wheel of buttons


directedToLeft

boolean directedToLeft
true if the timer should scroll left when active


scrollable

boolean scrollable
true if the canvas is should fit in a scroll pane. false if it must fit within the bounds of the canvaspane


selectedIndex

int selectedIndex
The index of the selected Canvas

Class codeblockutil.WindowExplorer extends javax.swing.JPanel implements Serializable

serialVersionUID: 328149080308L

Serialized Fields

canvases

java.util.List<E> canvases
The set of drawers that wraps each canvas


canvasPane

javax.swing.JPanel canvasPane
Teh canvas portion


buttonPane

javax.swing.JPanel buttonPane
The tab portion


Package renderable

Class renderable.BlockImageIcon extends javax.swing.JLabel implements Serializable

serialVersionUID: 328149080423L

Serialized Fields

blockImageIcon

javax.swing.ImageIcon blockImageIcon

location

BlockImageIcon.ImageLocation location

isEditable

boolean isEditable

wrapText

boolean wrapText

Class renderable.Comment extends javax.swing.JPanel implements Serializable

serialVersionUID: 328149080425L

Serialized Fields

borderColor

java.awt.Color borderColor
border color


textArea

javax.swing.JTextArea textArea
Text field UI


scrollPane

CTracklessScrollPane scrollPane
ScrollPane UI


jCompDH

JComponentDragHandler jCompDH
Dragging handler of this Comment


arrow

CommentArrow arrow
Manager for arrow drawn from this to parent while in editing mode


undoManager

javax.swing.undo.UndoManager undoManager
Manages Undo-able Events in this comment's text editor


commentSource

CommentSource commentSource
The JComponent this comment and comment label is connected to


commentLabel

CommentLabel commentLabel
The commentLabel linked to this Comment and placed on the commentSource


constrainComment

boolean constrainComment
true if this comment should not be able to have a location outside of its parent's bounds, false if it may be located outside of its parent's bounds


resizing

boolean resizing

margin

int margin

width

int width

height

int height

zoom

double zoom

fontname

java.lang.String fontname

body

java.awt.Shape body

resize

java.awt.Shape resize

textarea

java.awt.Shape textarea

pressed

boolean pressed

active

boolean active

Class renderable.CommentLabel extends BlockControlLabel implements Serializable

serialVersionUID: 1L

Class renderable.FactoryRenderableBlock extends RenderableBlock implements Serializable

serialVersionUID: 1L

Serialized Fields

createdRB

RenderableBlock createdRB

createdRB_dragged

boolean createdRB_dragged

dragHandler

JComponentDragHandler dragHandler

Class renderable.RBHighlightHandler extends javax.swing.JComponent implements Serializable

serialVersionUID: 328149080427L

Serialized Fields

hColor

java.awt.Color hColor

isSearchResult

boolean isSearchResult

hasFocus

boolean hasFocus

blockArea

java.awt.geom.Area blockArea

rb

RenderableBlock rb

hImage

java.awt.image.BufferedImage hImage

Class renderable.RenderableBlock extends javax.swing.JComponent implements Serializable

serialVersionUID: 1L

Serialized Fields

blockID

java.lang.Long blockID
BlockID of this. MAY BE Block.NULL


parent

WorkspaceWidget parent
Parent workspace widget. May be null


lastDragWidget

WorkspaceWidget lastDragWidget
The previous known workspacewidget this block was dragged over. May be null


comment

Comment comment
The comment of this. May be null


commentLabelChanged

boolean commentLabelChanged
set true when comment is added or removed from this block


blockWidget

javax.swing.JComponent blockWidget
An internal JComponent whose functionality is independant of any other functionality. If the block widget is the largest component in the block, then the renderableblock's Shape is determined form the dimensions of this widget. They should not be related to starlogo or codeblocks. MAY BE NULL


blockShape

BlockShape blockShape
Shape components used to draw this block's geometrical shape. Includes: (1) the block shape which is an abstract outline of the shape, (2) the abstractBlockArea which is a filled in abstract shape, (3) blockArea which is a filled in pixel shape, (4) and the popupIconShape which is the popupicon of this block


abstractBlockArea

java.awt.geom.Area abstractBlockArea

blockArea

java.awt.geom.Area blockArea

buffImg

java.awt.image.BufferedImage buffImg
static drawing area for unstable blocks. MAY BE NULL


highlighter

RBHighlightHandler highlighter
HighlightManager that manages drawing of highlights around this block


dragHandler

JComponentDragHandler dragHandler
dragHandler keeps the block within the workspace area. It manages relocating the block.


isSearchResult

boolean isSearchResult
Binary atttributes of this RenderableBlocks: (1) popupIconVisible is true if the popup icon is visible, (2) isSearchResult is true if this block is being queried by search (3) isPickedUp is true if mousePressed was performed on this block, (4) dragging is true if mouseDragged was performed on this block at least once, (5) linkedDefArgsBefore is any default arguments were never attached (6) isLoading is true if RenderableBlock is still loading- Though its data may have loaded completely, it still may need other connected RenderableBlocks to finish loading as well. In this case, isLoading would still be false


pickedUp

boolean pickedUp

dragging

boolean dragging

linkedDefArgsBefore

boolean linkedDefArgsBefore

isLoading

boolean isLoading

blockLabel

NameLabel blockLabel
TODO: Documentation does not exist for these components. Consult author


pageLabel

PageLabel pageLabel

plugTag

ConnectorTag plugTag

afterTag

ConnectorTag afterTag

beforeTag

ConnectorTag beforeTag

socketTags

java.util.List<E> socketTags

collapseLabel

CollapseLabel collapseLabel

imageMap

java.util.HashMap<K,V> imageMap

unzoomedX

double unzoomedX

unzoomedY

double unzoomedY

zoom

double zoom
Zoom support methods


Package workspace

Class workspace.BlockCanvas.Canvas extends javax.swing.JLayeredPane implements Serializable

serialVersionUID: 438974092314L

Serialized Fields

p

java.awt.Point p

Class workspace.ContextMenu extends java.awt.PopupMenu implements Serializable

serialVersionUID: 328149080421L

Class workspace.MiniMap extends javax.swing.JPanel implements Serializable

serialVersionUID: 328149080271L

Serialized Fields

MAPWIDTH

int MAPWIDTH
this.width


MAPHEIGHT

int MAPHEIGHT
this.height


blockCanvas

BlockCanvas blockCanvas
this.blockCanvas


expand

boolean expand

enlarger

workspace.MiniMap.MiniMapEnlargerTimer enlarger

transformX

double transformX
this.ratio


transformY

double transformY

Class workspace.NetworkEvent extends java.lang.Object implements Serializable

serialVersionUID: 3487595894809311L

Serialization Methods

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Throws:
java.io.IOException

Class workspace.PageDivider extends javax.swing.JComponent implements Serializable

serialVersionUID: 328149080272L

Serialized Fields

leftPage

Page leftPage
A pointer to the left page of this PageDivider


mouseIn

boolean mouseIn
mouseIn Flag: true if and only if mouse is over this PageDivider


dragDone

boolean dragDone
Drag Flag: true if and only if mosue is dragging this PageDivider


mPressedX

int mPressedX
The x corrdinate in pixel of the last mousePressed on this PageDivider

Class workspace.TrashCan extends javax.swing.JComponent implements Serializable

serialVersionUID: 328149080275L

Serialized Fields

tcImage

java.awt.Image tcImage

openedTcImage

java.awt.Image openedTcImage

currentImage

java.awt.Image currentImage

currentColor

java.awt.Color currentColor

Class workspace.Workspace extends javax.swing.JLayeredPane implements Serializable

serialVersionUID: 328149080422L

Serialized Fields

workspaceListeners

java.util.HashSet<E> workspaceListeners
WorkspaceListeners that monitor: block: added, removed, dropped, label changed, connected, disconnected workspace: scrolled, zoom changed


workspaceWidgets

java.util.TreeSet<E> workspaceWidgets
WorkspaceWidgets are components within the workspace other than blocks that include bars, buttons, factory drawers, and single instance widgets such as the MiniMap and the TrashCan.


blockCanvas

BlockCanvas blockCanvas
The Workspace has a BlockCanvas widget on which blocks actually live. The blockCanvas is what takes care of allowing scrolling and drawing pages, so it is controlled by the Workspace, but it is also a regular WorkspaceWidget for the purposes of drag and drop.


blockCanvasLayer

javax.swing.JSplitPane blockCanvasLayer
blockCanvasLayer allows for static components to be laid out beside the block canvas. One example of such a component would be a static block factory. In user testing, we found that novice users performed better with a static block factory than one in which they could drag around and toggle the visibility of.


miniMap

MiniMap miniMap
MiniMap associated with the blockCanvas


factory

FactoryManager factory

focusManager

FocusTraversalManager focusManager

p

java.awt.Point p

zoom

double zoom

Class workspace.ZoomSlider extends javax.swing.JComponent implements Serializable

serialVersionUID: 328149080276L

Serialized Fields

slider

CSlider slider
JSlider that interfaces with the user


Package workspace.typeblocking

Class workspace.typeblocking.AutoCompletePanel extends javax.swing.JPanel implements Serializable

serialVersionUID: 328149080418L

Serialized Fields

preferredWidth

int preferredWidth
Minimum width


preferredHeight

int preferredHeight
Minimum height


font

java.awt.Font font
font of this


editor

javax.swing.JTextField editor
editable text field for user to enter in desired pattern


menu

javax.swing.JList menu
menu that displays set of possibilities from user-input patter


resizing

boolean resizing