Package sk.ipesoft.d2000.base
Class ColumnD2Int
- java.lang.Object
-
- sk.ipesoft.d2000.base.ColumnBase
-
- sk.ipesoft.d2000.base.ColumnD2Int
-
public class ColumnD2Int extends ColumnBase
-
-
Constructor Summary
Constructors Constructor Description ColumnD2Int(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, IValueChangeListenerInt listener)
void
addColumnChangeListener(IValueChangeListenerInt listener)
void
fill(int value)
Fills column with given valuevoid
fill(int value, int fromRow, int toRow)
Fills column in rows fromRow ..void
fill(D2Int value)
Fills column with given valuevoid
fill(D2Int value, int fromRow, int toRow)
Fills column in rows fromRow ..sk.ipesoft.d2000.datatable.IntColumn<?,?,?>
getDataColumn()
void
replace(int toFind, int toReplace)
Replaces values toFind by value toReplacevoid
replace(int toFind, int toReplace, int fromRow, int toRow)
Replaces values toFind by value toReplace searching rows fromRow ..void
replace(D2Int toFind, D2Int toReplace)
Replaces values toFind by value toReplacevoid
replace(D2Int toFind, D2Int 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
-
ColumnD2Int
public ColumnD2Int(D2SD<?,?> struct, int columnIndex, java.lang.String name)
-
-
Method Detail
-
addCellChangeListener
public void addCellChangeListener(int row, IValueChangeListenerInt listener)
-
addColumnChangeListener
public void addColumnChangeListener(IValueChangeListenerInt listener)
-
fill
public void fill(int value, int fromRow, int toRow)
Fills column in rows fromRow .. toRow with given value- Parameters:
value
-fromRow
-toRow
-
-
fill
public void fill(int value)
Fills column with given value- Parameters:
value
-
-
fill
public void fill(D2Int value, int fromRow, int toRow)
Fills column in rows fromRow .. toRow with given value- Parameters:
value
-fromRow
-toRow
-
-
fill
public void fill(D2Int value)
Fills column with given value- Parameters:
value
-
-
getDataColumn
public final sk.ipesoft.d2000.datatable.IntColumn<?,?,?> getDataColumn()
-
replace
public void replace(int toFind, int toReplace, int fromRow, int toRow)
Replaces values toFind by value toReplace searching rows fromRow .. toRow- Parameters:
toFind
-toReplace
-fromRow
-toRow
-
-
replace
public void replace(int toFind, int toReplace)
Replaces values toFind by value toReplace- Parameters:
toFind
-toReplace
-
-
replace
public void replace(D2Int toFind, D2Int toReplace, int fromRow, int toRow)
Replaces values toFind by value toReplace searching rows fromRow .. toRow- Parameters:
toFind
-toReplace
-fromRow
-toRow
-
-
-