|
||||||||||
| 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.LiteralColumn
infovis.column.IntColumn
infovis.tree.TreeIntColumn
public abstract class TreeIntColumn
Base class for columns computing topological values on a tree.
| 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 | |
|---|---|
TreeIntColumn(String name,
Tree tree)
Constructor. |
|
| Method Summary | |
|---|---|
void |
dispose()
Releases listeners. |
int |
get(int index)
Returns the element at the specified position in this column. |
IntArrayList |
getValueReference()
Returns the DoubleArrayList backing the implementation of the column (USE WITH CARE). |
void |
invalidate()
Sets the column to invalid. |
boolean |
isInvalid()
|
RowIterator |
iterator()
Returns a RowIterator over all the valid rows of this column. |
int |
size()
Returns the number of elements in this column. |
void |
sort(RowComparator comp)
Sort the values of this column according to a comparator. |
void |
stableSort(RowComparator comp)
Sort the values of this column according to a comparator using a stable sort algorithm. |
int[] |
toArray()
Returns the array of integer values used by the column. |
int[] |
toArray(int[] a)
Returns the array of integer values copied from the column. |
void |
treeNodesChanged(TreeModelEvent e)
|
void |
treeNodesInserted(TreeModelEvent e)
|
void |
treeNodesRemoved(TreeModelEvent e)
|
void |
treeStructureChanged(TreeModelEvent e)
|
void |
validate()
Validate the contents of this column if needed. |
| Methods inherited from class infovis.column.IntColumn |
|---|
add, addExtend, capacity, clear, ensureCapacity, fill, findColumn, format, format, getColumn, getColumn, getDoubleAt, getFloatAt, getIntAt, getLongAt, getMax, getMin, getValueAt, getValueClass, parse, round, set, setDoubleAt, setExtend, setIntAt, setLongAt, setSize, setValueAt |
| Methods inherited from class infovis.column.LiteralColumn |
|---|
compare, compareValues, getDoubleMax, getDoubleMin, getNumberColumn, hasUndefinedValue, isValueUndefined, setFloatAt, setValueUndefined, trimUndefined |
| Methods inherited from class infovis.column.BasicColumn |
|---|
addValue, addValueOrNull, firstValidRow, getClientProperty, getFormat, getMaxIndex, getMetadata, getMinIndex, getName, isEmpty, isInternal, 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 |
|---|
addChangeListener, addValue, addValueOrNull, disableNotify, enableNotify, getFormat, getMaxIndex, getMinIndex, getName, isEmpty, isInternal, removeChangeListener, setFormat, setName, setValueOrNullAt |
| Methods inherited from interface infovis.Metadata |
|---|
getClientProperty, getMetadata |
| Methods inherited from interface cern.colt.function.IntComparator |
|---|
equals |
| Constructor Detail |
|---|
public TreeIntColumn(String name,
Tree tree)
name - column nametree - associated tree| Method Detail |
|---|
public void dispose()
public int get(int index)
get in class IntColumnindex - index of element to return.
public int size()
size in interface Columnsize in class IntColumnpublic RowIterator iterator()
iterator in interface Columniterator in class BasicColumnpublic int[] toArray()
toArray in class IntColumnpublic int[] toArray(int[] a)
toArray in class IntColumna - an array of int with at least the column size or
null.
public void sort(RowComparator comp)
sort in class IntColumncomp - the comparatorpublic void stableSort(RowComparator comp)
stableSort in class IntColumncomp - the comparatorpublic IntArrayList getValueReference()
getValueReference in class IntColumnpublic void validate()
public void invalidate()
public boolean isInvalid()
public void treeNodesChanged(TreeModelEvent e)
treeNodesChanged in interface TreeModelListenerpublic void treeNodesInserted(TreeModelEvent e)
treeNodesInserted in interface TreeModelListenerpublic void treeNodesRemoved(TreeModelEvent e)
treeNodesRemoved in interface TreeModelListenerpublic void treeStructureChanged(TreeModelEvent e)
treeStructureChanged in interface TreeModelListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||