|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfovis.utils.ChangeManager
infovis.column.AbstractColumn
infovis.column.BasicColumn
infovis.column.BasicObjectColumn
infovis.column.StringColumn
public class StringColumn
A Column of Strings.
| Field Summary |
|---|
| Fields inherited from class infovis.column.AbstractColumn |
|---|
MODIFIED_ALL, MODIFIED_NONE |
| Fields inherited from interface infovis.metadata.Constants |
|---|
CONTRIBUTOR, COVERAGE, CREATOR, DATE, DESCRITION, FORMAT, IDENTIFIER, LANGUAGE, PUBLISHER, RELATION, RIGHTS, SOURCE, SUBJECT, TITLE, TYPE |
| Constructor Summary | |
|---|---|
StringColumn(String name)
Creates a new StringColumn object. |
|
StringColumn(String name,
int reserve)
Creates a new StringColumn object. |
|
| Method Summary | |
|---|---|
Object |
definedValue()
Returns the instance of a value defined with the right type for this column. |
static StringColumn |
findColumn(Table t,
String name)
Returns a column as a StringColumn from a table, creating
it if needed. |
String |
get(int index)
Returns the element at the specified position in this column. |
static StringColumn |
getColumn(Table t,
int index)
Returns a column as a StringColumn from an
Table. |
static StringColumn |
getColumn(Table t,
String name)
Returns a column as a StringColumn from a
Table. |
Class |
getValueClass()
Returns the class of the elements. |
void |
set(int index,
String element)
Replaces the element at the specified position in this column with the specified element. |
| Methods inherited from class infovis.column.BasicObjectColumn |
|---|
add, capacity, clear, compare, compare, compareValues, ensureCapacity, fill, format, getObjectAt, getOrder, getValueAt, getValueReference, hasUndefinedValue, indexOf, isValueUndefined, parse, remove, remove, setExtend, setObjectAt, setOrder, setSize, setValueAt, setValueUndefined, size |
| Methods inherited from class infovis.column.BasicColumn |
|---|
addValue, addValueOrNull, firstValidRow, getClientProperty, getFormat, getMaxIndex, getMetadata, getMinIndex, getName, isEmpty, isInternal, iterator, lastValidRow, setFormat, setName, setValueOrNullAt, toString |
| Methods inherited from class infovis.column.AbstractColumn |
|---|
addChangeListener, computeValueMap, computeValueMap, equalObj, equals, getLastModifiedRow |
| Methods inherited from class infovis.utils.ChangeManager |
|---|
disableNotify, enableNotify, getModCount, removeChangeListener |
| Methods inherited from class java.lang.Object |
|---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface infovis.Column |
|---|
disableNotify, enableNotify, removeChangeListener |
| Constructor Detail |
|---|
public StringColumn(String name)
name - the column name.
public StringColumn(String name,
int reserve)
name - the column name.reserve - the initial capacity.| Method Detail |
|---|
public String get(int index)
index - index of element to return.
public void set(int index,
String element)
index - index of element to replace.element - element to be stored at the specified position.
public static StringColumn getColumn(Table t,
int index)
StringColumn from an
Table.
t - the Tableindex - index in the Table
StringColumn or null if no such column exists or
the column is not a StringColumn.
public static StringColumn getColumn(Table t,
String name)
StringColumn from a
Table.
t - the Tablename - the column name.
StringColumn or null if no such column exists or
the column is not a StringColumn.
public static StringColumn findColumn(Table t,
String name)
StringColumn from a table, creating
it if needed.
t - the Tablename - the column name.
StringColumn from a table,public Class getValueClass()
getValueClass in interface ColumngetValueClass in class BasicObjectColumnpublic Object definedValue()
definedValue in class BasicObjectColumn
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||