org.apache.pivot.wtk
Class Menu.SectionSequence
java.lang.Object
org.apache.pivot.wtk.Menu.SectionSequence
- All Implemented Interfaces:
- Iterable<Menu.Section>, org.apache.pivot.collections.Sequence<Menu.Section>
- Enclosing class:
- Menu
public final class Menu.SectionSequence
- extends Object
- implements org.apache.pivot.collections.Sequence<Menu.Section>, Iterable<Menu.Section>
Section sequence implementation.
| 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 |
add
public int add(Menu.Section section)
- Specified by:
add in interface org.apache.pivot.collections.Sequence<Menu.Section>
insert
public void insert(Menu.Section section,
int index)
- Specified by:
insert in interface org.apache.pivot.collections.Sequence<Menu.Section>
update
public Menu.Section update(int index,
Menu.Section section)
- Specified by:
update in interface org.apache.pivot.collections.Sequence<Menu.Section>
remove
public int remove(Menu.Section section)
- Specified by:
remove in interface org.apache.pivot.collections.Sequence<Menu.Section>
remove
public org.apache.pivot.collections.Sequence<Menu.Section> remove(int index,
int count)
- Specified by:
remove in interface org.apache.pivot.collections.Sequence<Menu.Section>
clear
public void clear()
get
public Menu.Section get(int index)
- Specified by:
get in interface org.apache.pivot.collections.Sequence<Menu.Section>
indexOf
public int indexOf(Menu.Section item)
- Specified by:
indexOf in interface org.apache.pivot.collections.Sequence<Menu.Section>
getLength
public int getLength()
- Specified by:
getLength in interface org.apache.pivot.collections.Sequence<Menu.Section>
iterator
public Iterator<Menu.Section> iterator()
- Specified by:
iterator in interface Iterable<Menu.Section>