private void checkValid() {
		isValid = checkForValidValues();
		textField.setBackground(isValid ? VALID_COLOR : INVALID_COLOR);
	}
Base class for BSimValueEditors that work on a list of possible choices
Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/gui/filters/MultiChoiceBSimValueEditor.java