org.apache.pivot.wtk.text
Class Block

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

public abstract class Block
extends Element

Abstract base class for block elements.

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


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.pivot.collections.Sequence
Sequence.Tree<T>
 
Constructor Summary
Block()
           
Block(Block blockElement, boolean recursive)
           
 
Method Summary
 
Methods inherited from class org.apache.pivot.wtk.text.Element
add, dumpOffsets, get, getCharacterAt, getCharacterCount, getDescendantAt, getElementListeners, getIndexAt, getLength, getNodeAt, getPathAt, getRange, indexOf, insert, insertRange, iterator, rangeInserted, rangeRemoved, remove, remove, removeRange, update
 
Methods inherited from class org.apache.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)