Package org.apache.pivot.wtk.text
Class NumberedList
- 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
-
- org.apache.pivot.wtk.text.NumberedList
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NumberedList.Style
List numbering styles.-
Nested classes/interfaces inherited from interface org.apache.pivot.collections.Sequence
Sequence.Tree<T>
-
-
Constructor Summary
Constructors Constructor Description NumberedList()
NumberedList(NumberedList numberedList, boolean recursive)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NumberedList
duplicate(boolean recursive)
Creates a copy of this node.ListenerList<NumberedListListener>
getNumberedListListeners()
NumberedList.Style
getStyle()
void
setStyle(NumberedList.Style style)
-
Methods inherited from class org.apache.pivot.wtk.text.Block
getBlockListeners, getHorizontalAlignment, setHorizontalAlignment
-
Methods inherited from class org.apache.pivot.wtk.text.Element
add, 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
-
-
-
-
Constructor Detail
-
NumberedList
public NumberedList()
-
NumberedList
public NumberedList(NumberedList numberedList, boolean recursive)
-
-
Method Detail
-
getStyle
public NumberedList.Style getStyle()
-
setStyle
public void setStyle(NumberedList.Style style)
-
duplicate
public NumberedList duplicate(boolean recursive)
Description copied from class:Node
Creates a copy of this node.
-
getNumberedListListeners
public ListenerList<NumberedListListener> getNumberedListListeners()
-
-