pivot.wtk.text
Class Block

java.lang.Object
  extended by pivot.wtk.text.Node
      extended by pivot.wtk.text.Element
          extended by pivot.wtk.text.Block
All Implemented Interfaces:
Iterable<Node>, Sequence<Node>
Direct Known Subclasses:
Document, Paragraph

public abstract class Block
extends Element

Abstract base class for block elements.

TODO Add horizontal alignment, margin, and line spacing properties.

Author:
gbrown

Nested Class Summary
 
Nested classes/interfaces inherited from interface pivot.collections.Sequence
Sequence.Search, Sequence.Sort, Sequence.Tree
 
Constructor Summary
Block()
           
Block(Block blockElement, boolean recursive)
           
 
Method Summary
 
Methods inherited from class pivot.wtk.text.Element
add, dumpOffsets, get, getCharacterCount, getDescendantAt, getElementListeners, getIndexAt, getLength, getNodeAt, getPathAt, getRange, indexOf, insert, insertRange, iterator, rangeInserted, rangeRemoved, remove, remove, removeRange, update
 
Methods inherited from class pivot.wtk.text.Node
duplicate, getDocumentOffset, getNodeListeners, getOffset, getParent, replaceRange, setOffset, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Block

public Block()

Block

public Block(Block blockElement,
             boolean recursive)