boolean (String name, Object value) { if (ATTR_SHOW_DEFAULT.equals(name)) { setShowDefault((Boolean)value); } else if (ATTR_CELL_SIZE.equals(name)) { setCellSize((Integer)value); } else if (ATTR_WHITE_COLOR.equals(name)) { setWhiteColor((Color)value); } else if (ATTR_BLACK_COLOR.equals(name)) { setBlackColor((Color)value); } else { return false; } return true; }