public void setStateChangedListener(Consumer<ButtonState<T>> consumer) {
		this.stateChangedConsumer = consumer;
	}
Sets a consumer to be called when the user changes the active {@link ButtonState}.
@param consumer the consumer to be called when the button state changes
Ghidra/Framework/Docking/src/main/java/docking/menu/MultiStateButton.java