Block
as used by Mappy
. Block
may contain up to 4 layers of images (1 background layer and 3 foreground layers), 7 fields of User data, quadratic collision information and 4 other flags. block ::= '{' statement* '}'@coverage dart.engine.ast
Block : { Statement* }
TODO Add margin, and line spacing properties.
Block and {@link RenderBlock} are used to build a certain classof complicated component that can't be assembled using the normal wrapping containment. Such a super component would have two or more sections that need to be supplied by the containing page (or component).
Using Blocks, the blocks can be provided as parameters to the super component.
The inserter property gives the components inside the block access to the component (typically an {@link RenderBlock}) that inserted the block, including access to its informal bindings which allows components contained by the Block to be passed parameters. Note - it is the responsibility of the inserting component to set itself as the Block's inserter. @version $Id: Block.java 243791 2004-02-19 17:38:13Z hlship $ @author Howard Lewis Ship @since 0.2.9
Block: { { Statement } }@since 2.0
An fo:block object in XSL-FO.
Note the inclusion of {@link CommonMarginInlineOptimumPa} in the "extends"list. The "space-start" and "space-end" properties are not included in the list of properties that apply to fo:block. However, "margin-left", "margin-right", "margin-top", and "margin-bottom" are included in that list, and, in the aXSL normalizations scheme, these can map to "space-start" and "space-end". Therefore, access to those properties must be made available to an fo:block.
Note that the "linefeed-treatment" property is excluded, as its operations are completely internal to the FO Tree.
@see "XSL-FO Recommendation 1.0, Section 6.5.2"Block: { { Statement } }@since 2.0 @noinstantiate This class is not intended to be instantiated by clients.
The following features are supported:
e.g.{ statement1; statement2; }, : statement1; statement2; ,
name | offset | length | description |
---|---|---|---|
entries | 4 | vary | Entries in order by key |
restart index | vary | 4 * restart count | Index of prefix compression restarts |
restart count | 0 | 4 | Number of prefix compression restarts (used as index into entries) |
Block : { Statement* }
void handle(Object)
for executing a block of code without a result.
@author Keith Donald
This class represents a group of Statement
objects. The statements are stored on this object in the order in which they are added.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|