org.apache.pivot.wtk
Class TextArea.ParagraphSequence

java.lang.Object
  extended by org.apache.pivot.wtk.TextArea.ParagraphSequence
All Implemented Interfaces:
Iterable<TextArea.Paragraph>, org.apache.pivot.collections.Sequence<TextArea.Paragraph>
Enclosing class:
TextArea

public final class TextArea.ParagraphSequence
extends Object
implements org.apache.pivot.collections.Sequence<TextArea.Paragraph>, Iterable<TextArea.Paragraph>

Text area paragraph sequence.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.pivot.collections.Sequence
org.apache.pivot.collections.Sequence.Tree<T>
 
Constructor Summary
TextArea.ParagraphSequence()
           
 
Method Summary
 int add(TextArea.Paragraph paragraph)
           
 TextArea.Paragraph get(int index)
           
 int getLength()
           
 int indexOf(TextArea.Paragraph paragraph)
           
 void insert(TextArea.Paragraph paragraph, int index)
           
 Iterator<TextArea.Paragraph> iterator()
           
 org.apache.pivot.collections.Sequence<TextArea.Paragraph> remove(int index, int count)
           
 int remove(TextArea.Paragraph paragraph)
           
 TextArea.Paragraph update(int index, TextArea.Paragraph paragraph)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextArea.ParagraphSequence

public TextArea.ParagraphSequence()
Method Detail

add

public int add(TextArea.Paragraph paragraph)
Specified by:
add in interface org.apache.pivot.collections.Sequence<TextArea.Paragraph>

insert

public void insert(TextArea.Paragraph paragraph,
                   int index)
Specified by:
insert in interface org.apache.pivot.collections.Sequence<TextArea.Paragraph>

update

public TextArea.Paragraph update(int index,
                                 TextArea.Paragraph paragraph)
Specified by:
update in interface org.apache.pivot.collections.Sequence<TextArea.Paragraph>

remove

public int remove(TextArea.Paragraph paragraph)
Specified by:
remove in interface org.apache.pivot.collections.Sequence<TextArea.Paragraph>

remove

public org.apache.pivot.collections.Sequence<TextArea.Paragraph> remove(int index,
                                                                        int count)
Specified by:
remove in interface org.apache.pivot.collections.Sequence<TextArea.Paragraph>

get

public TextArea.Paragraph get(int index)
Specified by:
get in interface org.apache.pivot.collections.Sequence<TextArea.Paragraph>

indexOf

public int indexOf(TextArea.Paragraph paragraph)
Specified by:
indexOf in interface org.apache.pivot.collections.Sequence<TextArea.Paragraph>

getLength

public int getLength()
Specified by:
getLength in interface org.apache.pivot.collections.Sequence<TextArea.Paragraph>

iterator

public Iterator<TextArea.Paragraph> iterator()
Specified by:
iterator in interface Iterable<TextArea.Paragraph>