org.apache.pivot.wtk
Class TablePane.ColumnSequence

java.lang.Object
  extended by org.apache.pivot.wtk.TablePane.ColumnSequence
All Implemented Interfaces:
Iterable<TablePane.Column>, org.apache.pivot.collections.Sequence<TablePane.Column>
Enclosing class:
TablePane

public final class TablePane.ColumnSequence
extends Object
implements org.apache.pivot.collections.Sequence<TablePane.Column>, Iterable<TablePane.Column>

Class that manages a table pane's column list. Callers get access to the column sequence via TablePane.getColumns().


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(TablePane.Column column)
           
 TablePane.Column get(int index)
           
 int getLength()
           
 int indexOf(TablePane.Column column)
           
 void insert(TablePane.Column column, int index)
           
 Iterator<TablePane.Column> iterator()
           
 org.apache.pivot.collections.Sequence<TablePane.Column> remove(int index, int count)
           
 int remove(TablePane.Column column)
           
 TablePane.Column update(int index, TablePane.Column column)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

add

public int add(TablePane.Column column)
Specified by:
add in interface org.apache.pivot.collections.Sequence<TablePane.Column>

insert

public void insert(TablePane.Column column,
                   int index)
Specified by:
insert in interface org.apache.pivot.collections.Sequence<TablePane.Column>

update

public TablePane.Column update(int index,
                               TablePane.Column column)
Specified by:
update in interface org.apache.pivot.collections.Sequence<TablePane.Column>

remove

public int remove(TablePane.Column column)
Specified by:
remove in interface org.apache.pivot.collections.Sequence<TablePane.Column>

remove

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

get

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

indexOf

public int indexOf(TablePane.Column column)
Specified by:
indexOf in interface org.apache.pivot.collections.Sequence<TablePane.Column>

getLength

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

iterator

public Iterator<TablePane.Column> iterator()
Specified by:
iterator in interface Iterable<TablePane.Column>