|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Block | |
---|---|
codeblocks | |
renderable | |
workspace | |
workspace.typeblocking |
Uses of Block in codeblocks |
---|
Subclasses of Block in codeblocks | |
---|---|
class |
BlockStub
BlockStub are a special form of blocks that provide a particular
reference to its "parent" block. |
Fields in codeblocks declared as Block | |
---|---|
protected Block |
BlockShape.block
The Block associated to this BlockShape |
Methods in codeblocks that return Block | |
---|---|
static Block |
Block.getBlock(java.lang.Long blockID)
Returns the Block instance with the specified blockID |
Block |
BlockStub.getParent()
Returns the parent block of this stub |
static Block |
Block.loadBlockFrom(org.w3c.dom.Node node,
java.util.HashMap<java.lang.Long,java.lang.Long> idMapping)
Loads Block information from the specified node and return a Block instance with the loaded information |
Methods in codeblocks that return types with arguments of type Block | |
---|---|
static java.lang.Iterable<Block> |
Block.getAllBlocks()
|
Methods in codeblocks with parameters of type Block | |
---|---|
boolean |
SocketRule.canLink(Block block1,
Block block2,
BlockConnector socket1,
BlockConnector socket2)
Returns true if the two sockets of the two blocks can link by matching their socket kind; false if not. |
boolean |
LinkRule.canLink(Block block1,
Block block2,
BlockConnector socket1,
BlockConnector socket2)
Returns true if the two sockets of the two blocks can link; false if not |
boolean |
InfixRule.canLink(Block block1,
Block block2,
BlockConnector socket1,
BlockConnector socket2)
Returns true if the two sockets of the two blocks can link; false if not |
boolean |
CommandRule.canLink(Block block1,
Block block2,
BlockConnector socket1,
BlockConnector socket2)
|
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. |
boolean |
CustomBlockShapeSet.checkCustomShapes(Block b,
java.awt.geom.Point2D[] cornerPoints,
int labelsWidth,
int totalSocketHeight)
Checks if the given block is a "special shape" that has custom dimensions. |
static BlockLink |
BlockLink.getBlockLink(Block block1,
Block block2,
BlockConnector socket1,
BlockConnector socket2)
Factory method for creating BlockLink objects |
static BlockConnector |
BlockLinkChecker.getPlugEquivalent(Block b)
|
static java.lang.Iterable<BlockConnector> |
BlockLinkChecker.getSocketEquivalents(Block b)
|
static boolean |
BlockLinkChecker.hasPlugEquivalent(Block b)
|
Uses of Block in renderable |
---|
Methods in renderable that return Block | |
---|---|
Block |
RenderableBlock.getBlock()
Shortcut to get block with current BlockID of this renderable block. |
Methods in renderable with parameters of type Block | |
---|---|
static RenderableBlock |
BlockUtilities.cloneBlock(Block myblock)
|
static boolean |
BlockUtilities.isLabelValid(Block block,
java.lang.String label)
|
Uses of Block in workspace |
---|
Methods in workspace that return types with arguments of type Block | |
---|---|
java.lang.Iterable<Block> |
Workspace.getBlocks()
Returns the set of all Blocks in the Workspace. |
java.lang.Iterable<Block> |
Workspace.getBlocksFromGenus(java.lang.String genusName)
Returns all the Blocks of the specified genus. |
Uses of Block in workspace.typeblocking |
---|
Methods in workspace.typeblocking with parameters of type Block | |
---|---|
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. |
void |
FocusTraversalManager.setFocus(Block block)
Sets focus to block |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |