public void setSelectedStateByClientData(T clientData) {
		for (ButtonState<T> buttonState : buttonStates) {
			if (Objects.equals(clientData, buttonState.getClientData())) {
				setCurrentButtonState(buttonState);
			}
		}
	}
Sets the active button state to the state that is associated with the given client data.
@param clientData the client data to make its associated button state the active state
Ghidra/Framework/Docking/src/main/java/docking/menu/MultiStateButton.java