Class JsmRegExFilter
Object
|
+--JsmRegExFilter
- class
JsmRegExFilter
A filter implementation checking if the cell value matches the regular expression
Defined in net/sf/jsm/table/filters/jsmRegExFilter.js
Constructor Summary |
JsmRegExFilter
(<String> columnIdxOrName, value, <boolean> ignoreCase)
Creates a new JsmRegExFilter object
|
Method Summary |
JsmRegExFilter
|
clone()
Clones this JsmRegExFilter
|
boolean
|
isValidRow(tr)
checks if this row is valid or if it should be filtered out
|
Object
|
setColumn(<int/String> columnIdxOrName)
Sets the column to filter on
|
Object
|
setIgnoreCase(<boolean> ignoreCase)
Specifies if the case should be ignored
|
Object
|
setValue(<String> value)
Sets the value to filter against
|
className
Object className
columnIdxOrName
Object columnIdxOrName
ignoreCase
Object ignoreCase
value
Object value
JsmRegExFilter
JsmRegExFilter(<String> columnIdxOrName, value, <boolean> ignoreCase)
Creates a new JsmRegExFilter object
Parameters:
columnIdxOrName
- The column idx or name
String
- |Array of Strings} value The regEx the cell has to match; If an array of regExes is passed one of the regExes has to match
clone
JsmRegExFilter clone()
Clones this JsmRegExFilter
isValidRow
boolean isValidRow(tr)
checks if this row is valid or if it should be filtered out
setColumn
Object setColumn(<int/String> columnIdxOrName)
Sets the column to filter on
Parameters:
columnIdxOrName
- The column name or index
setIgnoreCase
Object setIgnoreCase(<boolean> ignoreCase)
Specifies if the case should be ignored
setValue
Object setValue(<String> value)
Sets the value to filter against
Documentation generated by
JSDoc on Tue Sep 26 08:42:57 2006