org.apache.pivot.wtk.text
Class List.Item

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.List.Item
All Implemented Interfaces:
Iterable<Node>, org.apache.pivot.collections.Sequence<Node>
Enclosing class:
List

public static class List.Item
extends Element

Element representing a list item.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.pivot.collections.Sequence
org.apache.pivot.collections.Sequence.Tree<T>
 
Constructor Summary
List.Item()
           
List.Item(List.Item item, boolean recursive)
           
 
Method Summary
 List.Item duplicate(boolean recursive)
          Creates a copy of this node.
 void insert(Node node, int index)
           
 
Methods inherited from class org.apache.pivot.wtk.text.Element
add, dumpOffsets, get, getBackgroundColor, getCharacterAt, getCharacterCount, getDescendantAt, getElementListeners, getFont, getForegroundColor, getLength, getNodeAt, getPathAt, getRange, indexOf, insertRange, isStrikethrough, isUnderline, iterator, rangeInserted, rangeRemoved, remove, remove, removeRange, setBackgroundColor, setBackgroundColor, setFont, setFont, setForegroundColor, setForegroundColor, setStrikethrough, setUnderline, update
 
Methods inherited from class org.apache.pivot.wtk.text.Node
getDocumentOffset, getNodeListeners, getOffset, getParent, nodeInserted, nodesRemoved, replaceRange, setOffset, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

List.Item

public List.Item()

List.Item

public List.Item(List.Item item,
                 boolean recursive)
Method Detail

insert

public void insert(Node node,
                   int index)
Specified by:
insert in interface org.apache.pivot.collections.Sequence<Node>
Overrides:
insert in class Element

duplicate

public List.Item duplicate(boolean recursive)
Description copied from class: Node
Creates a copy of this node.

Specified by:
duplicate in class Element