Package sk.ipesoft.d2000.base
Class ColumnD2Text
- java.lang.Object
-
- sk.ipesoft.d2000.base.ColumnBase
-
- sk.ipesoft.d2000.base.ColumnD2Text
-
public class ColumnD2Text extends ColumnBase
-
-
Constructor Summary
Constructors Constructor Description ColumnD2Text(D2SD<?,?> struct, int columnIndex, java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddCellChangeListener(int row, IValueChangeListenerText listener)voidaddColumnChangeListener(IValueChangeListenerText listener)voidfill(java.lang.String value)Fills column with given valuevoidfill(java.lang.String value, int fromRow, int toRow)Fills column in rows fromRow ..voidfill(D2Text value)Fills column with given valuevoidfill(D2Text value, int fromRow, int toRow)Fills column in rows fromRow ..sk.ipesoft.d2000.datatable.TextColumn<?,?,?>getDataColumn()voidreplace(java.lang.String toFind, java.lang.String toReplace)Replaces values toFind by value toReplacevoidreplace(java.lang.String toFind, java.lang.String toReplace, int fromRow, int toRow)Replaces values toFind by value toReplace searching rows fromRow ..voidreplace(D2Text toFind, D2Text toReplace)Replaces values toFind by value toReplacevoidreplace(D2Text toFind, D2Text 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
-
ColumnD2Text
public ColumnD2Text(D2SD<?,?> struct, int columnIndex, java.lang.String name)
-
-
Method Detail
-
addCellChangeListener
public void addCellChangeListener(int row, IValueChangeListenerText listener)
-
addColumnChangeListener
public void addColumnChangeListener(IValueChangeListenerText listener)
-
fill
public void fill(java.lang.String value, int fromRow, int toRow)Fills column in rows fromRow .. toRow with given value- Parameters:
value-fromRow-toRow-
-
fill
public void fill(java.lang.String value)
Fills column with given value- Parameters:
value-
-
fill
public void fill(D2Text value, int fromRow, int toRow)
Fills column in rows fromRow .. toRow with given value- Parameters:
value-fromRow-toRow-
-
fill
public void fill(D2Text value)
Fills column with given value- Parameters:
value-
-
getDataColumn
public final sk.ipesoft.d2000.datatable.TextColumn<?,?,?> getDataColumn()
-
replace
public void replace(java.lang.String toFind, java.lang.String toReplace, int fromRow, int toRow)Replaces values toFind by value toReplace searching rows fromRow .. toRow- Parameters:
toFind-toReplace-fromRow-toRow-
-
replace
public void replace(java.lang.String toFind, java.lang.String toReplace)Replaces values toFind by value toReplace- Parameters:
toFind-toReplace-
-
replace
public void replace(D2Text toFind, D2Text toReplace, int fromRow, int toRow)
Replaces values toFind by value toReplace searching rows fromRow .. toRow- Parameters:
toFind-toReplace-fromRow-toRow-
-
-