|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NumberColumn
Abstract class for all columns containing numeric values.
Field Summary |
---|
Fields inherited from interface infovis.metadata.Constants |
---|
CONTRIBUTOR, COVERAGE, CREATOR, DATE, DESCRITION, FORMAT, IDENTIFIER, LANGUAGE, PUBLISHER, RELATION, RIGHTS, SOURCE, SUBJECT, TITLE, TYPE |
Method Summary | |
---|---|
String |
format(double value)
Returns the specified value formatted according to this column's format. |
double |
getDoubleAt(int row)
Returns the value as a double. |
double |
getDoubleMax()
Returns the largset value as a double. |
double |
getDoubleMin()
Returns the smallest value as a double. |
float |
getFloatAt(int row)
Returns the value as a float. |
int |
getIntAt(int row)
Returns the value as an int. |
long |
getLongAt(int row)
Returns the value as a long. |
double |
round(double value)
Returns the rounded value according to the semantics of this number value. |
void |
setDoubleAt(int row,
double v)
Sets the value as a double. |
void |
setFloatAt(int row,
float v)
Sets the value as a float. |
void |
setIntAt(int row,
int v)
Sets the value as an int. |
void |
setLongAt(int row,
long v)
Sets the value as a long. |
Methods inherited from interface infovis.Column |
---|
addChangeListener, addValue, addValueOrNull, capacity, clear, disableNotify, enableNotify, ensureCapacity, getFormat, getMaxIndex, getMinIndex, getName, getValueAt, getValueClass, hasUndefinedValue, isEmpty, isInternal, isValueUndefined, iterator, removeChangeListener, setFormat, setName, setSize, setValueAt, setValueOrNullAt, setValueUndefined, size |
Methods inherited from interface infovis.Metadata |
---|
getClientProperty, getMetadata |
Methods inherited from interface cern.colt.function.IntComparator |
---|
compare, equals |
Method Detail |
---|
int getIntAt(int row)
row
- the row
float getFloatAt(int row)
row
- the row
long getLongAt(int row)
row
- the row
double getDoubleAt(int row)
row
- the row
void setIntAt(int row, int v)
row
- the rowv
- the value as an intvoid setFloatAt(int row, float v)
row
- the rowv
- the value as a floatvoid setLongAt(int row, long v)
row
- the rowv
- the value as a longvoid setDoubleAt(int row, double v)
row
- the rowv
- the value as a doubledouble getDoubleMin()
double getDoubleMax()
double round(double value)
value
- the value to round
String format(double value)
value
- the value to format
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |