Package sk.ipesoft.d2000.base
Class ColumnD2TimeRel
- java.lang.Object
-
- sk.ipesoft.d2000.base.ColumnBase
-
- sk.ipesoft.d2000.base.ColumnD2TimeRel
-
public class ColumnD2TimeRel extends ColumnBase
-
-
Constructor Summary
Constructors Constructor Description ColumnD2TimeRel(D2SD<?,?> struct, int columnIndex, java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCellChangeListener(int row, IValueChangeListenerTimeRel listener)
void
addColumnChangeListener(IValueChangeListenerTimeRel listener)
void
fill(double value)
Fills column with given valuevoid
fill(double value, int fromRow, int toRow)
Fills column in rows fromRow ..void
fill(D2TimeRel value)
Fills column with given valuevoid
fill(D2TimeRel value, int fromRow, int toRow)
Fills column in rows fromRow ..sk.ipesoft.d2000.datatable.TimespanColumn<?,?,?>
getDataColumn()
void
replace(double toFind, double toReplace)
Replaces values toFind by value toReplacevoid
replace(double toFind, double toReplace, int fromRow, int toRow)
Replaces values toFind by value toReplace searching rows fromRow ..void
replace(D2TimeRel toFind, D2TimeRel toReplace)
Replaces values toFind by value toReplacevoid
replace(D2TimeRel toFind, D2TimeRel toReplace, int fromRow, int toRow)
Replaces values toFind by value toReplace searching rows fromRow ..-
Methods inherited from class sk.ipesoft.d2000.base.ColumnBase
asArray, avg, avg, copyToD2Array, fill, fill, getAnonymousDataColumn, getColumnIndex, getName, getStruct, max, max, min, min, replace, replace, sum, sum
-
-
-
-
Constructor Detail
-
ColumnD2TimeRel
public ColumnD2TimeRel(D2SD<?,?> struct, int columnIndex, java.lang.String name)
-
-
Method Detail
-
addCellChangeListener
public void addCellChangeListener(int row, IValueChangeListenerTimeRel listener)
-
addColumnChangeListener
public void addColumnChangeListener(IValueChangeListenerTimeRel listener)
-
fill
public void fill(double value, int fromRow, int toRow)
Fills column in rows fromRow .. toRow with given value- Parameters:
value
-fromRow
-toRow
-
-
fill
public void fill(double value)
Fills column with given value- Parameters:
value
-
-
fill
public void fill(D2TimeRel value, int fromRow, int toRow)
Fills column in rows fromRow .. toRow with given value- Parameters:
value
-fromRow
-toRow
-
-
fill
public void fill(D2TimeRel value)
Fills column with given value- Parameters:
value
-
-
getDataColumn
public final sk.ipesoft.d2000.datatable.TimespanColumn<?,?,?> getDataColumn()
-
replace
public void replace(double toFind, double toReplace, int fromRow, int toRow)
Replaces values toFind by value toReplace searching rows fromRow .. toRow- Parameters:
toFind
-toReplace
-fromRow
-toRow
-
-
replace
public void replace(double toFind, double toReplace)
Replaces values toFind by value toReplace- Parameters:
toFind
-toReplace
-
-
replace
public void replace(D2TimeRel toFind, D2TimeRel toReplace, int fromRow, int toRow)
Replaces values toFind by value toReplace searching rows fromRow .. toRow- Parameters:
toFind
-toReplace
-fromRow
-toRow
-
-
-