thinwire.util
Interface Grid.Column

All Superinterfaces:
java.util.Collection<java.lang.Object>, java.lang.Iterable<java.lang.Object>, java.util.List<java.lang.Object>
All Known Implementing Classes:
ArrayGrid.Column, GridBox.Column, TableLayout.Column
Enclosing interface:
Grid<R extends Grid.Row,C extends Grid.Column>

public static interface Grid.Column
extends java.util.List<java.lang.Object>

A Column is a list of values. The 1st Column of a Grid is the list of values in the Grid's 1st column (i.e. the Column at index 0). Element j of Column k in a Grid is element k of Row j.


Method Summary
 int getIndex()
          Get the index of this Column.
 java.lang.String getName()
          Get the name of this Column
 Grid getParent()
          Get the Grid that this Column is part of.
 void setName(java.lang.String name)
          Sets the name of this Column.
 
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
 

Method Detail

getName

java.lang.String getName()
Get the name of this Column

Returns:
the name of this Column

setName

void setName(java.lang.String name)
Sets the name of this Column.

Parameters:
name - the name of this Column

getParent

Grid getParent()
Get the Grid that this Column is part of.

Returns:
the Grid that this column is part of.

getIndex

int getIndex()
Get the index of this Column.

Returns:
the index for this Column


ThinWire® is a registered of Custom Credit Systems  Copyright © 2007 All rights reserved.
ThinWire_is_Open_Source_under_the_terms_of_the_LGPLv2.1 SourceForge.net_Project_Page java.net_Member Support_ThinWire,_Digg_our_Story