org.apache.pivot.wtk
Class GridPane.Row
java.lang.Object
org.apache.pivot.wtk.GridPane.Row
- All Implemented Interfaces:
- Iterable<Component>, org.apache.pivot.collections.Sequence<Component>
- Enclosing class:
- GridPane
public static class GridPane.Row
- extends Object
- implements org.apache.pivot.collections.Sequence<Component>, Iterable<Component>
Represents a grid pane row.
| 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 |
GridPane.Row
public GridPane.Row()
getGridPane
public GridPane getGridPane()
- Returns the grid pane with which this row is associated.
- Returns:
- The row's grid pane, or null if the row does not
currently belong to a grid.
add
public int add(Component component)
- Specified by:
add in interface org.apache.pivot.collections.Sequence<Component>
insert
public void insert(Component component,
int index)
- Specified by:
insert in interface org.apache.pivot.collections.Sequence<Component>
update
public Component update(int index,
Component component)
- Specified by:
update in interface org.apache.pivot.collections.Sequence<Component>
remove
public int remove(Component component)
- Specified by:
remove in interface org.apache.pivot.collections.Sequence<Component>
remove
public org.apache.pivot.collections.Sequence<Component> remove(int index,
int count)
- Specified by:
remove in interface org.apache.pivot.collections.Sequence<Component>
get
public Component get(int index)
- Specified by:
get in interface org.apache.pivot.collections.Sequence<Component>
indexOf
public int indexOf(Component component)
- Specified by:
indexOf in interface org.apache.pivot.collections.Sequence<Component>
getLength
public int getLength()
- Specified by:
getLength in interface org.apache.pivot.collections.Sequence<Component>
iterator
public Iterator<Component> iterator()
- Specified by:
iterator in interface Iterable<Component>