void (Object value, Object node, int column) { NotificationSettingsWrapper wrapper = (NotificationSettingsWrapper)((DefaultMutableTreeNode)node).getUserObject(); switch (column) { case NotificationsTreeTable.DISPLAY_TYPE_COLUMN -> wrapper.setDisplayType((NotificationDisplayType)value); case NotificationsTreeTable.LOG_COLUMN -> wrapper.setShouldLog((Boolean)value); case NotificationsTreeTable.READ_ALOUD_COLUMN -> wrapper.setShouldReadAloud((Boolean)value); } }