Open 3D Engine LyShine Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
UiRadioButtonCommunicationInterface Class Referenceabstract

#include <UiRadioButtonCommunicationBus.h>

Inherits AZ::ComponentBus.

Public Member Functions

virtual void SetState (bool isOn, bool sendNotifications)=0
 
virtual void SetGroup (AZ::EntityId group)=0
 Set the radio button group.
 

Static Public Attributes

static const AZ::EBusHandlerPolicy HandlerPolicy = AZ::EBusHandlerPolicy::Single
 Only one component on an entity can implement the events.
 

Detailed Description

Interface class that a radio button component needs to implement. This interface allows the radio button group to communicate with the radio button itself

Member Function Documentation

◆ SetState()

virtual void UiRadioButtonCommunicationInterface::SetState ( bool  isOn,
bool  sendNotifications 
)
pure virtual

Used by the group to set the state of the radio button

Parameters
Thenew desired state of the radio button.
Whetherthe button should inform listeners that it was changed.

The documentation for this class was generated from the following file: