Uses of Class
codeblocks.BlockLink

Packages that use BlockLink
codeblocks   
renderable   
workspace   
workspace.typeblocking   
 

Uses of BlockLink in codeblocks
 

Methods in codeblocks that return BlockLink
static BlockLink BlockLinkChecker.canLink(Block block1, Block block2, BlockConnector con1, BlockConnector con2)
          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.
static BlockLink BlockLink.getBlockLink(Block block1, Block block2, BlockConnector socket1, BlockConnector socket2)
          Factory method for creating BlockLink objects
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.
 

Uses of BlockLink in renderable
 

Methods in renderable that return BlockLink
 BlockLink RenderableBlock.getNearbyLink()
          Looks for links between this RenderableBlock and others.
 

Uses of BlockLink in workspace
 

Methods in workspace that return BlockLink
 BlockLink WorkspaceEvent.getSourceLink()
          Returns the BlockLink where this event originated, or null if the event type of this is not block connected or disconnected.
 

Constructors in workspace with parameters of type BlockLink
WorkspaceEvent(WorkspaceWidget widget, BlockLink link, int eventType)
          Constructs a new WorkspaceEvent.
WorkspaceEvent(WorkspaceWidget widget, BlockLink link, int eventType, boolean userSpawned)
           
 

Uses of BlockLink in workspace.typeblocking
 

Methods in workspace.typeblocking that return BlockLink
protected static BlockLink LinkFinderUtil.connectBlocks(Block child, Block parent)
          Handles the Connecting of blocks once they are dropped onto the canvas and are waiting to be linked if posible.