Skip navigation links
A B C D E F G H I J K L M N O P R S T U V W X Z 

C

calculateUnzoomedX(int) - Method in class edu.mit.blocks.renderable.RenderableBlock
calculates the x when the zoom is 1.0
calculateUnzoomedY(int) - Method in class edu.mit.blocks.renderable.RenderableBlock
calculates the y when the zoom is 1.0
canLink(Workspace, Block, Block, BlockConnector, BlockConnector) - Static method in class edu.mit.blocks.codeblocks.BlockLinkChecker
Returns a BlockLink instance if the two specified blocks can connect at the specified block connectors at each block; null if no link is possible.
canLink(Block, Block, BlockConnector, BlockConnector) - Method in class edu.mit.blocks.codeblocks.CommandRule
 
canLink(Block, Block, BlockConnector, BlockConnector) - Method in class edu.mit.blocks.codeblocks.InfixRule
Returns true if the two sockets of the two blocks can link; false if not
canLink(Block, Block, BlockConnector, BlockConnector) - Method in interface edu.mit.blocks.codeblocks.LinkRule
Returns true if the two sockets of the two blocks can link; false if not
canLink(Block, Block, BlockConnector, BlockConnector) - Method in class edu.mit.blocks.codeblocks.SocketRule
Returns true if the two sockets of the two blocks can link by matching their socket kind; false if not.
canProcessNegativeSign() - Method in class edu.mit.blocks.codeblockutil.LabelWidget
returns true if this block should can accept a negative sign
canRedo() - Method in class edu.mit.blocks.workspace.ReundoManager
 
canUndo() - Method in class edu.mit.blocks.workspace.ReundoManager
 
Canvas - Interface in edu.mit.blocks.codeblockutil
A Canvas is a low-level, mutable, CSwing component.
Canvas() - Constructor for class edu.mit.blocks.workspace.BlockCanvas.Canvas
 
CArrowButton - Class in edu.mit.blocks.codeblockutil
A CArrowButton is a swing-compatible widget that allows clients to display a semi-transpanrent arrow in any of the four traditional directions: NORTH, SOUTH, EAST, WEST.
CArrowButton(CArrowButton.Direction) - Constructor for class edu.mit.blocks.codeblockutil.CArrowButton
 
CArrowButton.Direction - Enum in edu.mit.blocks.codeblockutil
Directions
CBarGraph - Class in edu.mit.blocks.codeblockutil
 
CBarGraph(String, int, Color) - Constructor for class edu.mit.blocks.codeblockutil.CBarGraph
 
CBorderlessButton - Class in edu.mit.blocks.codeblockutil
 
CBorderlessButton(String) - Constructor for class edu.mit.blocks.codeblockutil.CBorderlessButton
 
CButton - Class in edu.mit.blocks.codeblockutil
A CButton is a swing-compatible widget that allows clients to display an oval button with an optional text.
CButton(String) - Constructor for class edu.mit.blocks.codeblockutil.CButton
Creates a button with text and black buttonColor, and white slectedColor
CButton(Color, Color, String) - Constructor for class edu.mit.blocks.codeblockutil.CButton
Create a button with text;
CColorChooser - Class in edu.mit.blocks.codeblockutil
 
CColorChooser(Color) - Constructor for class edu.mit.blocks.codeblockutil.CColorChooser
 
CColorChooser.ColorPicker - Class in edu.mit.blocks.codeblockutil
ColorPicker is a popup menu that displays a spectrum of colors.
CFileHandler - Class in edu.mit.blocks.codeblockutil
 
CFileHandler() - Constructor for class edu.mit.blocks.codeblockutil.CFileHandler
 
CGlassScrollPane - Class in edu.mit.blocks.codeblockutil
 
CGlassScrollPane(JComponent) - Constructor for class edu.mit.blocks.codeblockutil.CGlassScrollPane
Constructs a custom CHoverScrollPane with the view port set to "view", with both scroll bar policies set to "ALWAYS" (see javax.swing.JScrollPane for a description on the use of scroll bar policies).
CGlassScrollPane(JComponent, CScrollPane.ScrollPolicy, CScrollPane.ScrollPolicy) - Constructor for class edu.mit.blocks.codeblockutil.CGlassScrollPane
Constructs a custom CHoverScrollPane with the view port set to "view", and correponding vertical and horizontal bar policies (see javax.swing.JScrollPane for a description on the use of scroll bar policies).
CGlassScrollPane(JComponent, int, Color, Color) - Constructor for class edu.mit.blocks.codeblockutil.CGlassScrollPane
Constructs a custom CHoverScrollPane with the view port set to "view", with both scroll bar policies set to "ALWAYS" (see javax.swing.JScrollPane for a description on the use of scroll bar policies).
CGlassScrollPane(JComponent, CScrollPane.ScrollPolicy, CScrollPane.ScrollPolicy, int, Color, Color) - Constructor for class edu.mit.blocks.codeblockutil.CGlassScrollPane
Constructs a custom CHoverScrollPane with the view port set to "view", with correponding vertical and horizontal bar policies (see javax.swing.JScrollPane for a description on the use of scroll bar policies).
CGraphite - Class in edu.mit.blocks.codeblockutil
 
CGraphiteButton - Class in edu.mit.blocks.codeblockutil
A CButton is a swing-compatible widget that allows clients to display an oval button with an optional text.
CGraphiteButton(String) - Constructor for class edu.mit.blocks.codeblockutil.CGraphiteButton
 
CGraphiteSquareButton - Class in edu.mit.blocks.codeblockutil
 
CGraphiteSquareButton(String) - Constructor for class edu.mit.blocks.codeblockutil.CGraphiteSquareButton
 
changeGenusTo(String) - Method in class edu.mit.blocks.codeblocks.Block
Changes the genus of this block, while maintaining this current blocks relationships with other blocks it's connected to.
changeGenusTo(String) - Method in class edu.mit.blocks.codeblocks.BlockStub
Overriden from Block.
ChartData - Class in edu.mit.blocks.codeblockutil
 
ChartData(String) - Constructor for class edu.mit.blocks.codeblockutil.ChartData
 
checkCustomShapes(Block, Point2D[], int, int) - Method in class edu.mit.blocks.codeblocks.CustomBlockShapeSet
Checks if the given block is a "special shape" that has custom dimensions.
CHoverScrollPane - Class in edu.mit.blocks.codeblockutil
The CHoverScrollPane is a swing-compatible widget that allows clients of this CScrollPane to control the width of the thumb, the color of the thumb, and and the color of the track.
CHoverScrollPane(JComponent) - Constructor for class edu.mit.blocks.codeblockutil.CHoverScrollPane
Constructs a custom CHoverScrollPane with the view port set to "view", with both scroll bar policies set to "ALWAYS" (see javax.swing.JScrollPane for a description on the use of scroll bar policies).
CHoverScrollPane(JComponent, CScrollPane.ScrollPolicy, CScrollPane.ScrollPolicy) - Constructor for class edu.mit.blocks.codeblockutil.CHoverScrollPane
Constructs a custom CHoverScrollPane with the view port set to "view", and correponding vertical and horizontal bar policies (see javax.swing.JScrollPane for a description on the use of scroll bar policies).
CHoverScrollPane(JComponent, int, Color, Color) - Constructor for class edu.mit.blocks.codeblockutil.CHoverScrollPane
Constructs a custom CHoverScrollPane with the view port set to "view", with both scroll bar policies set to "ALWAYS" (see javax.swing.JScrollPane for a description on the use of scroll bar policies).
CHoverScrollPane(JComponent, CScrollPane.ScrollPolicy, CScrollPane.ScrollPolicy, int, Color, Color) - Constructor for class edu.mit.blocks.codeblockutil.CHoverScrollPane
Constructs a custom CHoverScrollPane with the view port set to "view", with correponding vertical and horizontal bar policies (see javax.swing.JScrollPane for a description on the use of scroll bar policies).
CIconButton - Class in edu.mit.blocks.codeblockutil
A CIconButton is a swing-compatible widget that allows clients to display a circular button with an optional icon.
CIconButton(CIconButton.Icon) - Constructor for class edu.mit.blocks.codeblockutil.CIconButton
 
CIconButton(Color, Color, CIconButton.Icon) - Constructor for class edu.mit.blocks.codeblockutil.CIconButton
constructs this with the given icon, background, and selected coloring.
CIconButton.Icon - Enum in edu.mit.blocks.codeblockutil
Icon choices
CIRCLE_1 - Static variable in class edu.mit.blocks.codeblocks.BlockConnectorShape
 
CIRCLE_2 - Static variable in class edu.mit.blocks.codeblocks.BlockConnectorShape
 
CIRCLE_3 - Static variable in class edu.mit.blocks.codeblocks.BlockConnectorShape
 
CLabel - Class in edu.mit.blocks.codeblockutil
 
CLabel(String) - Constructor for class edu.mit.blocks.codeblockutil.CLabel
 
cleanUpAllBlocks() - Method in class edu.mit.blocks.workspace.Workspace
Cleans up all the blocks within the block canvas using the default arrangement algorithm.
clearBufferedImage() - Method in class edu.mit.blocks.renderable.RenderableBlock
Clears the BufferedImage of this
clearChart() - Method in class edu.mit.blocks.codeblockutil.CBarGraph
 
clearChart() - Method in class edu.mit.blocks.codeblockutil.CLineGraph
 
clearPage() - Method in class edu.mit.blocks.workspace.Page
Destructs this Page by setting its set of blocks to empty.
clearTable() - Method in class edu.mit.blocks.codeblockutil.CTable
Clears the table of all data, but keeps the current column names
clearValues() - Method in class edu.mit.blocks.codeblockutil.CLineGraph
Clears all values for all series, leaving the same number of series
clearValues(int, double) - Method in class edu.mit.blocks.codeblockutil.CLineGraph
Clear the graph starting from the startTime.
CLineGraph - Class in edu.mit.blocks.codeblockutil
 
CLineGraph(String, int, Color) - Constructor for class edu.mit.blocks.codeblockutil.CLineGraph
 
cloneBlock(Block) - Static method in class edu.mit.blocks.renderable.BlockUtilities
 
cloneMe() - Method in class edu.mit.blocks.renderable.RenderableBlock
 
CMenuItem - Class in edu.mit.blocks.codeblockutil
 
CMenuItem(String) - Constructor for class edu.mit.blocks.codeblockutil.CMenuItem
 
CMenuItem(String, CMenuItem.Position) - Constructor for class edu.mit.blocks.codeblockutil.CMenuItem
 
CMenuItem.Position - Enum in edu.mit.blocks.codeblockutil
 
COLOR_CHANGE - Static variable in class edu.mit.blocks.codeblockutil.CColorChooser
 
ColorPicker(Color) - Constructor for class edu.mit.blocks.codeblockutil.CColorChooser.ColorPicker
Constructs a color picker popup
COMMAND - Static variable in class edu.mit.blocks.codeblocks.BlockConnectorShape
 
COMMAND_INPUT_BAR_HEIGHT - Static variable in class edu.mit.blocks.codeblocks.BlockConnectorShape
height of command input bar
COMMAND_INPUT_BAR_WIDTH - Static variable in class edu.mit.blocks.codeblocks.BlockConnectorShape
width of command input bar
COMMAND_PORT_OFFSET - Static variable in class edu.mit.blocks.codeblocks.BlockShape
left alignment buffer for command ports
CommandRule - Class in edu.mit.blocks.codeblocks
 
CommandRule(Workspace) - Constructor for class edu.mit.blocks.codeblocks.CommandRule
 
Comment - Class in edu.mit.blocks.renderable
Comment stores and displays user-generated text that can be edited by the user.
Comment(Workspace, String, CommentSource, Color, double) - Constructor for class edu.mit.blocks.renderable.Comment
Constructs a Comment with belonging to source, with text of initText, and initial zoom The comment's borders will have the color borderColor.
CommentArrow - Class in edu.mit.blocks.renderable
Draws an arrow (triangle to make the comment look like a speech bubble) between a comment and its source.
CommentArrow(Comment) - Constructor for class edu.mit.blocks.renderable.CommentArrow
Constructs this
CommentLabel - Class in edu.mit.blocks.renderable
The CommentLabel class controls the visibility of a Comment on a RenderableBlock
CommentLabel(Workspace, long) - Constructor for class edu.mit.blocks.renderable.CommentLabel
 
CommentSource - Interface in edu.mit.blocks.renderable
CommentSource interface that must be implemented by a class if a comment is to be linked to it.
compareTo(TextualFactoryBlock) - Method in class edu.mit.blocks.renderable.TextualFactoryBlock
 
CompilerException - Exception in edu.mit.blocks.codeblocks
 
CompilerException(CompilerException.Error, Workspace, Long) - Constructor for exception edu.mit.blocks.codeblocks.CompilerException
 
CompilerException.Error - Enum in edu.mit.blocks.codeblocks
 
componentHidden(ComponentEvent) - Method in class edu.mit.blocks.codeblockutil.CSliderPane
Do nothing when this widget is hidden
componentHidden(ComponentEvent) - Method in class edu.mit.blocks.codeblockutil.MagicExplorer
 
componentHidden(ComponentEvent) - Method in class edu.mit.blocks.codeblockutil.PopupExplorer
 
componentHidden(ComponentEvent) - Method in class edu.mit.blocks.renderable.RBHighlightHandler
 
componentHidden(ComponentEvent) - Method in class edu.mit.blocks.workspace.FactoryManager
 
componentHidden(ComponentEvent) - Method in class edu.mit.blocks.workspace.TrashCan
Component Listeners
componentMoved(ComponentEvent) - Method in class edu.mit.blocks.codeblockutil.CSliderPane
Do nothing when this widget is moved
componentMoved(ComponentEvent) - Method in class edu.mit.blocks.codeblockutil.MagicExplorer
 
componentMoved(ComponentEvent) - Method in class edu.mit.blocks.codeblockutil.PopupExplorer
 
componentMoved(ComponentEvent) - Method in class edu.mit.blocks.renderable.RBHighlightHandler
 
componentMoved(ComponentEvent) - Method in class edu.mit.blocks.workspace.FactoryManager
 
componentMoved(ComponentEvent) - Method in class edu.mit.blocks.workspace.TrashCan
 
componentResized(ComponentEvent) - Method in class edu.mit.blocks.codeblockutil.CSliderPane
Reposition text fields and slider when this widget is resized
componentResized(ComponentEvent) - Method in class edu.mit.blocks.codeblockutil.MagicExplorer
 
componentResized(ComponentEvent) - Method in class edu.mit.blocks.codeblockutil.PopupExplorer
 
componentResized(ComponentEvent) - Method in class edu.mit.blocks.renderable.RBHighlightHandler
ComponentListener methods for when the RB moves or resizes
componentResized(ComponentEvent) - Method in class edu.mit.blocks.workspace.FactoryManager
 
componentResized(ComponentEvent) - Method in class edu.mit.blocks.workspace.TrashCan
 
componentShown(ComponentEvent) - Method in class edu.mit.blocks.codeblockutil.CSliderPane
Do nothing when this widget is shown
componentShown(ComponentEvent) - Method in class edu.mit.blocks.codeblockutil.MagicExplorer
 
componentShown(ComponentEvent) - Method in class edu.mit.blocks.codeblockutil.PopupExplorer
 
componentShown(ComponentEvent) - Method in class edu.mit.blocks.renderable.RBHighlightHandler
 
componentShown(ComponentEvent) - Method in class edu.mit.blocks.workspace.FactoryManager
 
componentShown(ComponentEvent) - Method in class edu.mit.blocks.workspace.TrashCan
 
connect() - Method in class edu.mit.blocks.codeblocks.BlockLink
This method actually connects the two blocks stored in this BlockLink object.
Constants - Interface in edu.mit.blocks.codeblocks
Definitions of constants.
contains(int, int) - Method in class edu.mit.blocks.renderable.RenderableBlock
Overriding JComponent.contains(int x, int y) so that this component's boundaries are defined by the actual area occupied by the Renderable Block shape.
contains(int, int) - Method in class edu.mit.blocks.workspace.FactoryManager
 
contains(int, int) - Method in class edu.mit.blocks.workspace.MiniMap
defined by JComponent.contains()
contains(int, int) - Method in class edu.mit.blocks.workspace.Page
 
contains(Point) - Method in class edu.mit.blocks.workspace.Page
 
contains(int, int) - Method in interface edu.mit.blocks.workspace.WorkspaceWidget
Widgets must be able to report whether a given point is inside them
containsBlockStubs(String) - Method in class edu.mit.blocks.workspace.WorkspaceEnvironment
 
containsParentBlock(String) - Method in class edu.mit.blocks.workspace.WorkspaceEnvironment
 
ContextMenu - Class in edu.mit.blocks.workspace
ContextMenu handles all the right-click menus within the Workspace.
CONTROL_PLUG_HEIGHT - Static variable in class edu.mit.blocks.codeblocks.BlockConnectorShape
height of vertical control connection
CONTROL_PLUG_WIDTH - Static variable in class edu.mit.blocks.codeblocks.BlockConnectorShape
width of vertical control connection
copyBlock(Workspace) - Static method in class edu.mit.blocks.workspace.typeblocking.TypeBlockManager
 
copyBlocks() - Method in class edu.mit.blocks.workspace.Workspace
calls TypeBlockManager to copy the highlighted blocks on the canvas
CORNER_RADIUS - Static variable in class edu.mit.blocks.codeblocks.BlockShape
radius of rounded corners
cornerShape(GeneralPath, float, float, float, float, float, float) - Static method in class edu.mit.blocks.codeblocks.rendering.BlockShapeUtil
Assumes we are at (x1,y1), the corner point is (x2,y2), and we end at (x3, y3)
cornerTo(GeneralPath, Point2D, Point2D, float) - Static method in class edu.mit.blocks.codeblocks.rendering.BlockShapeUtil
Draws a corner relative to the current point of the GeneralPath.
CPopupMenu - Class in edu.mit.blocks.codeblockutil
 
CProgressBar - Class in edu.mit.blocks.codeblockutil
 
CProgressBar(String) - Constructor for class edu.mit.blocks.codeblockutil.CProgressBar
 
CQueryField - Class in edu.mit.blocks.codeblockutil
 
CQueryField() - Constructor for class edu.mit.blocks.codeblockutil.CQueryField
 
CQueryField(String) - Constructor for class edu.mit.blocks.codeblockutil.CQueryField
 
CRadioactiveButton - Class in edu.mit.blocks.codeblockutil
 
CRadioactiveButton(Color, Color, String) - Constructor for class edu.mit.blocks.codeblockutil.CRadioactiveButton
 
createImage(String) - Method in class edu.mit.blocks.codeblockutil.ImageManager
 
createNewInstance() - Method in class edu.mit.blocks.renderable.FactoryRenderableBlock
Returns a new RenderableBlock instance (and creates its associated Block) instance of the same genus as this.
createRefer() - Method in class edu.mit.blocks.renderable.RenderableBlock
 
createShapeBevel(Graphics2D, Shape, double, int, float, float[]) - Static method in class edu.mit.blocks.codeblocks.rendering.ShapeBevel
 
createToolTip() - Method in class edu.mit.blocks.renderable.RenderableBlock
 
CScrollPane - Class in edu.mit.blocks.codeblockutil
The CScrollPane is a swing-compatible widget that allows clients of this CScrollPane to control the width of the thumb, the color of the thumb, and and the color of the track.
CScrollPane.ScrollPolicy - Enum in edu.mit.blocks.codeblockutil
 
CSignLabel - Class in edu.mit.blocks.codeblockutil
it's like a neon sign, only cooler
CSignLabel() - Constructor for class edu.mit.blocks.codeblockutil.CSignLabel
 
CSlider - Class in edu.mit.blocks.codeblockutil
 
CSlider() - Constructor for class edu.mit.blocks.codeblockutil.CSlider
 
CSlider(int, int, int) - Constructor for class edu.mit.blocks.codeblockutil.CSlider
 
CSlider(int, int, int, boolean, int) - Constructor for class edu.mit.blocks.codeblockutil.CSlider
 
CSlider(int, int, int, boolean, int, boolean, String) - Constructor for class edu.mit.blocks.codeblockutil.CSlider
 
CSlider(int, int, int, float, Color, Color, Color, boolean, int, boolean, String) - Constructor for class edu.mit.blocks.codeblockutil.CSlider
 
CSliderPane - Class in edu.mit.blocks.codeblockutil
The CSliderPane is a swing-compatible widget that allows users to interface with a slider through the slider itself and three text fields.
CSliderPane(float, float, float) - Constructor for class edu.mit.blocks.codeblockutil.CSliderPane
 
CSVFilter - Class in edu.mit.blocks.codeblockutil
 
CSVFilter() - Constructor for class edu.mit.blocks.codeblockutil.CSVFilter
 
CTabButton - Class in edu.mit.blocks.codeblockutil
 
CTabButton(String) - Constructor for class edu.mit.blocks.codeblockutil.CTabButton
 
CTable - Class in edu.mit.blocks.codeblockutil
CTable is a generic table with a look and feel that matches the rest of codeblocks.
CTable() - Constructor for class edu.mit.blocks.codeblockutil.CTable
 
CTable(int) - Constructor for class edu.mit.blocks.codeblockutil.CTable
Create a new Table instance with an empty domain
CTextField - Class in edu.mit.blocks.codeblockutil
 
CTextField() - Constructor for class edu.mit.blocks.codeblockutil.CTextField
 
CTextField(Format) - Constructor for class edu.mit.blocks.codeblockutil.CTextField
 
CTextField(String) - Constructor for class edu.mit.blocks.codeblockutil.CTextField
 
CToolTip - Class in edu.mit.blocks.codeblockutil
 
CToolTip(Color) - Constructor for class edu.mit.blocks.codeblockutil.CToolTip
 
CTracklessScrollPane - Class in edu.mit.blocks.codeblockutil
The CScrollPane is a swing-compatible widget that allows clients of this CScrollPane to control the width of the thumb, the color of the thumb, and and the color of the track.
CTracklessScrollPane(JComponent) - Constructor for class edu.mit.blocks.codeblockutil.CTracklessScrollPane
Constructs a custom CScrollPane with the view port set to "view", with both scroll bar policies set to "ALWAYS" (see javax.swing.JScrollPane for a description on the use of scroll bar policies).
CTracklessScrollPane(JComponent, CScrollPane.ScrollPolicy, CScrollPane.ScrollPolicy) - Constructor for class edu.mit.blocks.codeblockutil.CTracklessScrollPane
Constructs a custom CScrollPane with the view port set to "view", with correponding vertical and horizontal bar policies (see javax.swing.JScrollPane for a description on the use of scroll bar policies).
CTracklessScrollPane(JComponent, int, Color, Color) - Constructor for class edu.mit.blocks.codeblockutil.CTracklessScrollPane
Constructs a custom CScrollPane with the view port set to "view", with both scroll bar policies set to "ALWAYS" (see javax.swing.JScrollPane for a description on the use of scroll bar policies).
CTracklessScrollPane(JComponent, CScrollPane.ScrollPolicy, CScrollPane.ScrollPolicy, int, Color, Color) - Constructor for class edu.mit.blocks.codeblockutil.CTracklessScrollPane
Constructs a custom CScrollPane with the view port set to "view", with correponding vertical and horizontal bar policies (see javax.swing.JScrollPane for a description on the use of scroll bar policies).
curveTo(GeneralPath, float, float, float, float, float, float) - Static method in class edu.mit.blocks.codeblocks.rendering.BlockShapeUtil
Draws a curve segment relative to the current point of the GeneralPath.
CustomBlockShape() - Constructor for class edu.mit.blocks.codeblocks.CustomBlockShapeSet.CustomBlockShape
 
customBlockShapes - Variable in class edu.mit.blocks.codeblocks.CustomBlockShapeSet
Contains all of the custom block shapes that are being used in a project.
CustomBlockShapeSet - Class in edu.mit.blocks.codeblocks
 
CustomBlockShapeSet() - Constructor for class edu.mit.blocks.codeblocks.CustomBlockShapeSet
 
CustomBlockShapeSet.CustomBlockShape - Class in edu.mit.blocks.codeblocks
Internal CustomBlockShape class.
CWheeler - Class in edu.mit.blocks.codeblockutil
displays item by their preferred size
CWheeler(boolean) - Constructor for class edu.mit.blocks.codeblockutil.CWheeler
 
CWheeler(Collection<JComponent>) - Constructor for class edu.mit.blocks.codeblockutil.CWheeler
 
CWheeler(Collection<JComponent>, boolean, Color) - Constructor for class edu.mit.blocks.codeblockutil.CWheeler
 
CWheelItem - Class in edu.mit.blocks.codeblockutil
 
CWheelItem() - Constructor for class edu.mit.blocks.codeblockutil.CWheelItem
 
A B C D E F G H I J K L M N O P R S T U V W X Z 
Skip navigation links