Uses of Class
renderable.RenderableBlock

Packages that use RenderableBlock
codeblocks   
renderable   
workspace   
workspace.typeblocking   
 

Uses of RenderableBlock in codeblocks
 

Fields in codeblocks declared as RenderableBlock
protected  RenderableBlock BlockShape.rb
          The RenderableBlock associated to this BlockShape
 

Methods in codeblocks with parameters of type RenderableBlock
static BlockLink BlockLinkChecker.getLink(RenderableBlock rblock1, java.lang.Iterable<RenderableBlock> otherBlocks)
          Checks to see if a RenderableBlocks can connect to other RenderableBlocks.
static BlockLink BlockLinkChecker.getWeakLink(RenderableBlock rblock1, java.lang.Iterable<RenderableBlock> otherBlocks)
          NOTE: ALWAYS prefer BlockLinkChecker.getLink over this method.
 

Method parameters in codeblocks with type arguments of type RenderableBlock
static BlockLink BlockLinkChecker.getLink(RenderableBlock rblock1, java.lang.Iterable<RenderableBlock> otherBlocks)
          Checks to see if a RenderableBlocks can connect to other RenderableBlocks.
static BlockLink BlockLinkChecker.getWeakLink(RenderableBlock rblock1, java.lang.Iterable<RenderableBlock> otherBlocks)
          NOTE: ALWAYS prefer BlockLinkChecker.getLink over this method.
 

Constructors in codeblocks with parameters of type RenderableBlock
BlockShape(RenderableBlock rb)
          BlockShape constructor
InfixBlockShape(RenderableBlock rb)
           
 

Uses of RenderableBlock in renderable
 

Subclasses of RenderableBlock in renderable
 class FactoryRenderableBlock
          FactoryRenderableBlock extends RenderableBlock and is used within FactoryBlockDrawers.
 

Methods in renderable that return RenderableBlock
static RenderableBlock BlockUtilities.cloneBlock(Block myblock)
           
 RenderableBlock FactoryRenderableBlock.createNewInstance()
          Returns a new RenderableBlock instance (and creates its associated Block) instance of the same genus as this.
static RenderableBlock BlockUtilities.getBlock(java.lang.String genusName, java.lang.String label)
          Returns a new RenderableBlock instance with the matching genusName.
static RenderableBlock RenderableBlock.getRenderableBlock(java.lang.Long blockID)
          Returns the Renderable specified by blockID; null if RenderableBlock does not exist
static RenderableBlock RenderableBlock.loadBlockNode(org.w3c.dom.Node blockNode, WorkspaceWidget parent, java.util.HashMap<java.lang.Long,java.lang.Long> idMapping)
          Loads a RenderableBlock and its related Block instance from the specified blockNode; returns null if no RenderableBlock was loaded.
static RenderableBlock BlockUtilities.makeRenderable(BlockNode node, WorkspaceWidget widget)
           
 

Methods in renderable with parameters of type RenderableBlock
static void BlockUtilities.deleteBlock(RenderableBlock block)
           
static java.lang.String BlockUtilities.disambiguousStringRep(RenderableBlock block)
          Creates a string representation for the given RenderableBlock that is disambiguated from string representations for blocks with the same label by appending socket information to the end of the block's label.
static Comment Comment.loadComment(org.w3c.dom.NodeList commentChildren, RenderableBlock rb)
          Loads the comment from a NodeList of comment parts
static void RenderableBlock.stopDragging(RenderableBlock renderable, WorkspaceWidget widget)
          This method is called when this RenderableBlock is plugged into another RenderableBlock that has finished dragging.
 

Constructors in renderable with parameters of type RenderableBlock
RBHighlightHandler(RenderableBlock rb)
           
 

Uses of RenderableBlock in workspace
 

Methods in workspace that return types with arguments of type RenderableBlock
 java.lang.Iterable<RenderableBlock> WorkspaceWidget.getBlocks()
          Returns the set of blocks that abstract "lives" inside this widget.
 java.util.Collection<RenderableBlock> TrashCan.getBlocks()
           
 java.lang.Iterable<RenderableBlock> Subset.getBlocks()
           
 java.util.Collection<RenderableBlock> Page.getBlocks()
           
 java.util.Collection<RenderableBlock> MiniMap.getBlocks()
           
 java.util.Collection<RenderableBlock> FactoryManager.getBlocks()
           
(package private)  java.util.ArrayList<RenderableBlock> FactoryCanvas.getBlocks()
           
 java.lang.Iterable<RenderableBlock> BlockCanvas.getBlocks()
           
 java.util.Collection<RenderableBlock> FactoryManager.getDynamicBlocks(java.lang.String name)
           
 java.lang.Iterable<RenderableBlock> Workspace.getRenderableBlocks()
          Returns the set of all RenderableBlocks in the Workspace.
 java.lang.Iterable<RenderableBlock> Workspace.getRenderableBlocksFromGenus(java.lang.String genusName)
          Returns all the RenderableBlocks of the specified genus.
 java.lang.Iterable<RenderableBlock> Page.getSearchableElements()
           
 java.lang.Iterable<RenderableBlock> MiniMap.getSearchableElements()
          Specified by codeblocks.workspace.SearchableContainer interface
 java.util.Collection<RenderableBlock> FactoryManager.getStaticBlocks(java.lang.String name)
           
 java.lang.Iterable<RenderableBlock> Workspace.getTopLevelBlocks()
          Returns the top level blocks in the Workspace (blocks that are parents of stacks)
 java.util.Collection<RenderableBlock> Page.getTopLevelBlocks()
           
 java.lang.Iterable<RenderableBlock> BlockCanvas.getTopLevelBlocks()
           
 java.util.ArrayList<RenderableBlock> Page.loadPageFrom(org.w3c.dom.Node pageNode, boolean importingPage)
           
 

Methods in workspace with parameters of type RenderableBlock
 void WorkspaceWidget.addBlock(RenderableBlock block)
          Adds the specified block to this widget interally and graphically.
 void TrashCan.addBlock(RenderableBlock block)
           
 void Page.addBlock(RenderableBlock block)
           
 void MiniMap.addBlock(RenderableBlock block)
           
 void FactoryManager.addBlock(RenderableBlock block)
           
(package private)  void FactoryCanvas.addBlock(RenderableBlock block)
           
 void FactoryManager.addDynamicBlock(RenderableBlock block, java.lang.String drawer)
           
 void FactoryManager.addStaticBlock(RenderableBlock block, java.lang.String drawer)
          Add blocks to drawer if drawer can be found.
 void MiniMap.animateAutoCenter(RenderableBlock block)
          Animate A fly to block's location on the MiniMap and BlockCanvas
 void WorkspaceWidget.blockDragged(RenderableBlock block)
          Called by RenderableBlocks as they are dragged over this Widget.
 void TrashCan.blockDragged(RenderableBlock block)
           
 void Page.blockDragged(RenderableBlock block)
           
 void MiniMap.blockDragged(RenderableBlock block)
           
 void FactoryManager.blockDragged(RenderableBlock block)
           
 void MiniMap.blockDragged(RenderableBlock block, java.awt.Point WorkspacePoint)
           
 void WorkspaceWidget.blockDropped(RenderableBlock block)
          Called by RenderableBlocks that get "dropped" onto this Widget
 void TrashCan.blockDropped(RenderableBlock block)
           
 void Page.blockDropped(RenderableBlock block)
           
 void MiniMap.blockDropped(RenderableBlock block)
           
 void FactoryManager.blockDropped(RenderableBlock block)
           
 void WorkspaceWidget.blockEntered(RenderableBlock block)
          Called when a RenderableBlock is being dragged and goes from being outside this Widget to being inside the Widget.
 void TrashCan.blockEntered(RenderableBlock block)
          Called when a RenderableBlock is being dragged and goes from being outside this Widget to being inside the Widget.
 void Page.blockEntered(RenderableBlock block)
           
 void MiniMap.blockEntered(RenderableBlock block)
          Block action methods not interested by MiniMap.
 void FactoryManager.blockEntered(RenderableBlock block)
           
 void WorkspaceWidget.blockExited(RenderableBlock block)
          Called when a RenderableBlock that was being dragged over this Widget goes from being inside this Widget to being outside the Widget.
 void TrashCan.blockExited(RenderableBlock block)
          Called when a RenderableBlock that was being dragged over this Widget goes from being inside this Widget to being outside the Widget.
 void Page.blockExited(RenderableBlock block)
           
 void MiniMap.blockExited(RenderableBlock block)
           
 void FactoryManager.blockExited(RenderableBlock block)
           
 Page Workspace.getCurrentPage(RenderableBlock block)
          Find the page that lies underneath this block CAN RETURN NULL
 void Page.reformBlockPosition(RenderableBlock block)
           
 void WorkspaceWidget.removeBlock(RenderableBlock block)
          Used by RenderableBlocks to tell their originating Widgets that they're moving somewhere else and so should be removed.
 void TrashCan.removeBlock(RenderableBlock block)
           
 void Page.removeBlock(RenderableBlock block)
           
 void MiniMap.removeBlock(RenderableBlock block)
           
 void FactoryManager.removeBlock(RenderableBlock block)
           
(package private)  void FactoryCanvas.removeBlock(RenderableBlock block)
           
 void FactoryManager.removeDynamicBlock(RenderableBlock block, java.lang.String drawer)
           
 void FactoryManager.removeStaticBlock(RenderableBlock block, java.lang.String drawer)
          Removes block from specified drawer.
 void BlockCanvas.scrollToShowBlock(RenderableBlock block)
           
 

Method parameters in workspace with type arguments of type RenderableBlock
 void WorkspaceWidget.addBlocks(java.util.Collection<RenderableBlock> blocks)
          Adds a collection of blocks to this widget internally and graphically.
 void TrashCan.addBlocks(java.util.Collection<RenderableBlock> block)
           
 void Page.addBlocks(java.util.Collection<RenderableBlock> blocks)
           
 void MiniMap.addBlocks(java.util.Collection<RenderableBlock> blocks)
           
 void FactoryManager.addBlocks(java.util.Collection<RenderableBlock> blocks)
           
 void FactoryManager.addDynamicBlocks(java.util.Collection<RenderableBlock> blocks, java.lang.String drawer)
           
 void Page.addLoadedBlocks(java.util.Collection<RenderableBlock> loadedBlocks, boolean importingPage)
           
 void FactoryManager.addStaticBlocks(java.util.Collection<RenderableBlock> blocks, java.lang.String drawer)
          Add blocks to drawer if drawer can be found.
 void FactoryManager.addSubsetBlocks(java.util.Collection<RenderableBlock> blocks, java.lang.String drawerName)
          Adds the specified RenderableBlocks to the drawer with the specified drawerName.
protected static void BlockStackSorterUtil.sortBlockStacks(Page page, java.util.Collection<RenderableBlock> topLevelBlocks)
          This method serves to help clients sort blocks within a page in some manner.
 

Constructor parameters in workspace with type arguments of type RenderableBlock
Subset(java.lang.String name, java.awt.Color color, java.lang.Iterable<RenderableBlock> blocks)
           
 

Uses of RenderableBlock in workspace.typeblocking
 

Constructors in workspace.typeblocking with parameters of type RenderableBlock
BlockDropAnimator(java.awt.Point focusPoint, RenderableBlock childBlock, RenderableBlock parentBlock)
          Constructs a TypeBlockTimer.