void (char ch) { myExpandByCombo.setSelectedItem(ch == TemplateSettings.CUSTOM_CHAR ? getCustom() : ch == TemplateSettings.TAB_CHAR ? getTab() : ch == TemplateSettings.ENTER_CHAR ? getEnter() : getSpace()); }