org.apache.pivot.wtk
Class Form.SectionSequence

java.lang.Object
  extended by org.apache.pivot.wtk.Form.SectionSequence
All Implemented Interfaces:
Iterable<Form.Section>, org.apache.pivot.collections.Sequence<Form.Section>
Enclosing class:
Form

public final class Form.SectionSequence
extends Object
implements org.apache.pivot.collections.Sequence<Form.Section>, Iterable<Form.Section>

Section sequence implementation.


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

Method Detail

add

public int add(Form.Section section)
Specified by:
add in interface org.apache.pivot.collections.Sequence<Form.Section>

insert

public void insert(Form.Section section,
                   int index)
Specified by:
insert in interface org.apache.pivot.collections.Sequence<Form.Section>

update

public Form.Section update(int index,
                           Form.Section section)
Specified by:
update in interface org.apache.pivot.collections.Sequence<Form.Section>

remove

public int remove(Form.Section section)
Specified by:
remove in interface org.apache.pivot.collections.Sequence<Form.Section>

remove

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

get

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

indexOf

public int indexOf(Form.Section item)
Specified by:
indexOf in interface org.apache.pivot.collections.Sequence<Form.Section>

getLength

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

iterator

public Iterator<Form.Section> iterator()
Specified by:
iterator in interface Iterable<Form.Section>