org.apache.pivot.wtk.text
Class Block
java.lang.Object
org.apache.pivot.wtk.text.Node
org.apache.pivot.wtk.text.Element
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 margin, and line spacing properties.
Methods inherited from class org.apache.pivot.wtk.text.Element |
add, dumpOffsets, duplicate, get, getBackgroundColor, getCharacterAt, getCharacterCount, getDescendantAt, getElementListeners, getFont, getForegroundColor, getLength, getNodeAt, getPathAt, getRange, indexOf, insert, insertRange, isStrikethrough, isUnderline, iterator, rangeInserted, rangeRemoved, remove, remove, removeRange, setBackgroundColor, setBackgroundColor, setFont, setFont, setForegroundColor, setForegroundColor, setStrikethrough, setUnderline, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Block
public Block()
Block
public Block(Block blockElement,
boolean recursive)
getHorizontalAlignment
public HorizontalAlignment getHorizontalAlignment()
setHorizontalAlignment
public void setHorizontalAlignment(HorizontalAlignment horizontalAlignment)
getBlockListeners
public ListenerList<BlockListener> getBlockListeners()