org.apache.pivot.wtk
Class TextArea.ParagraphSequence
java.lang.Object
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 classes/interfaces inherited from interface org.apache.pivot.collections.Sequence |
org.apache.pivot.collections.Sequence.Tree<T> |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TextArea.ParagraphSequence
public TextArea.ParagraphSequence()
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>