/**
**/
public void setValueAt(Object value, int row, int col) {
RegExpRule rule = (RegExpRule)rules.elementAt(row);
if (col == 0) {
// allow/deny
rule.setAllow(((Boolean)value).booleanValue());
} else if (col == 1) {
try {
rule.setPattern((String)value);
} catch (org.apache.regexp.RESyntaxException e) {
// TO DO !
}
} else {
// this should never happen