void (Object value, int row, int col) { CapturePoint point = myCapturePoints.get(row); switch (col) { case ENABLED_COLUMN -> point.myEnabled = (boolean)value; case CLASS_COLUMN -> point.myClassName = (String)value; case METHOD_COLUMN -> point.myMethodName = (String)value; case PARAM_COLUMN -> point.myCaptureKeyExpression = (String)value; case INSERT_CLASS_COLUMN -> point.myInsertClassName = (String)value; case INSERT_METHOD_COLUMN -> point.myInsertMethodName = (String)value; case INSERT_KEY_EXPR -> point.myInsertKeyExpression = (String)value; } fireTableCellUpdated(row, col); }