Package org.apache.pivot.wtk.text
Class List
- java.lang.Object
-
- org.apache.pivot.wtk.text.Node
-
- org.apache.pivot.wtk.text.Element
-
- org.apache.pivot.wtk.text.Block
-
- org.apache.pivot.wtk.text.List
-
- Direct Known Subclasses:
BulletedList
,NumberedList
public abstract class List extends Block
Abstract base class for list elements.TODO Add indent and item spacing properties.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
List.Item
Element representing a list item.-
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 void
insert(Node node, int index)
Inserts an item into the sequence at a specific index.-
Methods inherited from class org.apache.pivot.wtk.text.Block
getBlockListeners, getHorizontalAlignment, setHorizontalAlignment
-
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, 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
-
-