Package 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
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.pivot.collections.Sequence
Sequence.Tree<T>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListenerList<BlockListener>
getBlockListeners()
HorizontalAlignment
getHorizontalAlignment()
void
setHorizontalAlignment(HorizontalAlignment horizontalAlignment)
-
Methods inherited from class org.apache.pivot.wtk.text.Element
add, duplicate, get, getBackgroundColor, getCharacterAt, getCharacterCount, getCharacters, getDescendantAt, getElementListeners, getFont, getForegroundColor, getLength, getNodeAt, getPathAt, getRange, getText, indexOf, insert, insertRange, isStrikethrough, isUnderline, iterator, rangeInserted, rangeRemoved, remove, remove, removeRange, setBackgroundColor, setBackgroundColor, setFont, setFont, setFont, setForegroundColor, setForegroundColor, setStrikethrough, setUnderline, update
-
Methods inherited from class org.apache.pivot.wtk.text.Node
getDocumentOffset, getDocumentSpan, getNodeListeners, getOffset, getParagraph, getParent, getUserData, nodeInserted, nodesRemoved, replaceRange, setOffset, setParent, setUserData
-
-
-
-
Constructor Detail
-
Block
public Block()
-
Block
public Block(Block blockElement, boolean recursive)
-
-
Method Detail
-
getHorizontalAlignment
public HorizontalAlignment getHorizontalAlignment()
-
setHorizontalAlignment
public void setHorizontalAlignment(HorizontalAlignment horizontalAlignment)
-
getBlockListeners
public ListenerList<BlockListener> getBlockListeners()
-
-