org.apache.pivot.wtk
Class Component.DecoratorSequence
java.lang.Object
org.apache.pivot.wtk.Component.DecoratorSequence
- All Implemented Interfaces:
- Iterable<Decorator>, org.apache.pivot.collections.Sequence<Decorator>
- Enclosing class:
- Component
public final class Component.DecoratorSequence
- extends Object
- implements org.apache.pivot.collections.Sequence<Decorator>, Iterable<Decorator>
Decorator 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 |
Component.DecoratorSequence
public Component.DecoratorSequence()
add
public int add(Decorator decorator)
- Specified by:
add in interface org.apache.pivot.collections.Sequence<Decorator>
insert
public void insert(Decorator decorator,
int index)
- Specified by:
insert in interface org.apache.pivot.collections.Sequence<Decorator>
update
public Decorator update(int index,
Decorator decorator)
- Specified by:
update in interface org.apache.pivot.collections.Sequence<Decorator>
remove
public int remove(Decorator decorator)
- Specified by:
remove in interface org.apache.pivot.collections.Sequence<Decorator>
remove
public org.apache.pivot.collections.Sequence<Decorator> remove(int index,
int count)
- Specified by:
remove in interface org.apache.pivot.collections.Sequence<Decorator>
removeAll
public org.apache.pivot.collections.Sequence<Decorator> removeAll()
get
public Decorator get(int index)
- Specified by:
get in interface org.apache.pivot.collections.Sequence<Decorator>
indexOf
public int indexOf(Decorator decorator)
- Specified by:
indexOf in interface org.apache.pivot.collections.Sequence<Decorator>
getLength
public int getLength()
- Specified by:
getLength in interface org.apache.pivot.collections.Sequence<Decorator>
iterator
public Iterator<Decorator> iterator()
- Specified by:
iterator in interface Iterable<Decorator>