|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.AbstractCollection<E> java.util.AbstractList<java.lang.Object> thinwire.util.ArrayGrid.Column
public static class ArrayGrid.Column
Contains an ArrayList of objects, each object associated with a different row.
AbstractList
,
Grid.Column
Field Summary |
---|
Fields inherited from class java.util.AbstractList |
---|
modCount |
Constructor Summary | |
---|---|
ArrayGrid.Column()
Construct a Column. |
|
ArrayGrid.Column(java.util.Collection<? extends java.lang.Object> c)
Construct a Column, specifying a Collection whose values will serve as the Column's values. |
|
ArrayGrid.Column(java.lang.Object... a)
Construct a Column that contains the values of the specified Array. |
Method Summary | |
---|---|
void |
add(int index,
java.lang.Object o)
|
java.lang.Object |
get(int index)
|
int |
getIndex()
Get the index of this Column. |
java.lang.String |
getName()
Get the name of this Column |
Grid |
getParent()
Gets the grid that contains this column. |
java.lang.Object |
remove(int index)
|
java.lang.Object |
set(int index,
java.lang.Object o)
|
void |
setName(java.lang.String name)
Sets the name of this Column. |
int |
size()
|
Methods inherited from class java.util.AbstractList |
---|
add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subList |
Methods inherited from class java.util.AbstractCollection |
---|
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
---|
add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, removeAll, retainAll, subList, toArray, toArray |
Constructor Detail |
---|
public ArrayGrid.Column()
public ArrayGrid.Column(java.util.Collection<? extends java.lang.Object> c)
c
- the new Column's valuespublic ArrayGrid.Column(java.lang.Object... a)
a
- the new Column's valuesMethod Detail |
---|
public java.lang.String getName()
Grid.Column
getName
in interface Grid.Column
Grid.Column.getName()
public void setName(java.lang.String name)
Grid.Column
setName
in interface Grid.Column
name
- the name of this ColumnGrid.Column.setName(java.lang.String)
public Grid getParent()
getParent
in interface Grid.Column
Grid.Column.getParent()
public int getIndex()
Grid.Column
getIndex
in interface Grid.Column
Grid.Column.getIndex()
public java.lang.Object get(int index)
get
in interface java.util.List<java.lang.Object>
get
in class java.util.AbstractList<java.lang.Object>
List.get(int)
public java.lang.Object set(int index, java.lang.Object o)
set
in interface java.util.List<java.lang.Object>
set
in class java.util.AbstractList<java.lang.Object>
List.set(int, java.lang.Object)
public void add(int index, java.lang.Object o)
add
in interface java.util.List<java.lang.Object>
add
in class java.util.AbstractList<java.lang.Object>
List.add(int, java.lang.Object)
public java.lang.Object remove(int index)
remove
in interface java.util.List<java.lang.Object>
remove
in class java.util.AbstractList<java.lang.Object>
List.remove(int)
public int size()
size
in interface java.util.Collection<java.lang.Object>
size
in interface java.util.List<java.lang.Object>
size
in class java.util.AbstractCollection<java.lang.Object>
Collection.size()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |