|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object infovis.utils.ChangeManager infovis.column.AbstractColumn infovis.column.BasicColumn infovis.column.LiteralColumn infovis.column.DoubleColumn infovis.column.FunctionColumn
public class FunctionColumn
Applies a unary function to a column and maintains the result into this column.
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 | |
---|---|
FunctionColumn(NumberColumn col,
DoubleFunction fn)
Create a FunctionColumn from a NumberColumn and a DoubleFunction. |
Method Summary | |
---|---|
void |
stateChanged(ChangeEvent e)
|
void |
update()
Recompute the new values when the initial column has been modified. |
Methods inherited from class infovis.column.DoubleColumn |
---|
add, addExtend, capacity, clear, ensureCapacity, fill, findColumn, format, get, getColumn, getColumn, getDoubleAt, getIntAt, getLongAt, getMax, getMin, getValueAt, getValueClass, getValueReference, parse, round, set, setDoubleAt, setExtend, setSize, setValueAt, size, toArray, toArray |
Methods inherited from class infovis.column.LiteralColumn |
---|
compare, compareValues, getDoubleMax, getDoubleMin, getFloatAt, getNumberColumn, hasUndefinedValue, isValueUndefined, setFloatAt, setIntAt, setLongAt, setValueUndefined, trimUndefined |
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 |
---|
addChangeListener, addValue, addValueOrNull, disableNotify, enableNotify, getFormat, getMaxIndex, getMinIndex, getName, isEmpty, isInternal, iterator, removeChangeListener, setFormat, setName, setValueOrNullAt |
Methods inherited from interface infovis.Metadata |
---|
getClientProperty, getMetadata |
Methods inherited from interface cern.colt.function.IntComparator |
---|
equals |
Constructor Detail |
---|
public FunctionColumn(NumberColumn col, DoubleFunction fn)
col
- the NumberColumnfn
- the DoubleFunctionMethod Detail |
---|
public void stateChanged(ChangeEvent e)
stateChanged
in interface ChangeListener
public void update()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |