use of org.eclipse.nebula.widgets.nattable.dataset.NumberValues in project nebula.widgets.nattable by eclipse.
the class _802_CalculatingGridExample method createNumberValues.
private NumberValues createNumberValues() {
NumberValues nv = new NumberValues();
// the value which should be used as 100%
nv.setColumnOneNumber(100);
// the value 1 for calculation
nv.setColumnTwoNumber(20);
// the value 2 for calculation
nv.setColumnThreeNumber(30);
// the NumberValues object
return nv;
}
use of org.eclipse.nebula.widgets.nattable.dataset.NumberValues in project nebula.widgets.nattable by eclipse.
the class _803_CachedCalculatingGridExample method createNumberValues.
private NumberValues createNumberValues() {
NumberValues nv = new NumberValues();
// the value which should be used as 100%
nv.setColumnOneNumber(100);
// the value 1 for calculation
nv.setColumnTwoNumber(20);
// the value 2 for calculation
nv.setColumnThreeNumber(30);
// the NumberValues object
return nv;
}
Aggregations