Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Properties | List of all members
KSP.UI.UIRadioButtonColorChanger Class Reference
Inheritance diagram for KSP.UI.UIRadioButtonColorChanger:
KSP.UI.IRadioButton

Public Member Functions

void OnFalse (PointerEventData eventData, UIRadioButton.CallType callType)
 
void OnPointerDown (PointerEventData eventData)
 
void OnPointerEnter (PointerEventData eventData)
 
void OnPointerExit (PointerEventData eventData)
 
void OnTrue (PointerEventData eventData, UIRadioButton.CallType callType)
 
void SetGroup (int groupID, bool pop=true)
 Makes the radio button a part of the specified group and it will thenceforth be mutually exclusive to all other radio buttons in the same group. More...
 

Public Attributes

ButtonColorState stateFalse
 
ButtonColorState stateTrue
 

Protected Member Functions

void PopOtherButtonsInGroup ()
 

Protected Attributes

RadioButtonGroup group
 Sets all other buttons in the group to false. More...
 

Properties

int HoverRadioGroup [get, set]
 The numbered group to which this hover button belongs. Buttons that share a group will be mutually exclusive to one another. More...
 
bool Value [get, set]
 
- Properties inherited from KSP.UI.IRadioButton
string name [get, set]
 
bool Value [get, set]
 

Member Function Documentation

void KSP.UI.UIRadioButtonColorChanger.OnFalse ( PointerEventData  eventData,
UIRadioButton.CallType  callType 
)
inline
void KSP.UI.UIRadioButtonColorChanger.OnPointerDown ( PointerEventData  eventData)
inline
void KSP.UI.UIRadioButtonColorChanger.OnPointerEnter ( PointerEventData  eventData)
inline
void KSP.UI.UIRadioButtonColorChanger.OnPointerExit ( PointerEventData  eventData)
inline
void KSP.UI.UIRadioButtonColorChanger.OnTrue ( PointerEventData  eventData,
UIRadioButton.CallType  callType 
)
inline
void KSP.UI.UIRadioButtonColorChanger.PopOtherButtonsInGroup ( )
inlineprotected
void KSP.UI.UIRadioButtonColorChanger.SetGroup ( int  groupID,
bool  pop = true 
)
inline

Makes the radio button a part of the specified group and it will thenceforth be mutually exclusive to all other radio buttons in the same group.

Parameters
groupIDThe ID of the group to which this radio will be assigned.

< Add self to the button group:

Member Data Documentation

RadioButtonGroup KSP.UI.UIRadioButtonColorChanger.group
protected

Sets all other buttons in the group to false.

ButtonColorState KSP.UI.UIRadioButtonColorChanger.stateFalse
ButtonColorState KSP.UI.UIRadioButtonColorChanger.stateTrue

Property Documentation

int KSP.UI.UIRadioButtonColorChanger.HoverRadioGroup
getset

The numbered group to which this hover button belongs. Buttons that share a group will be mutually exclusive to one another.

bool KSP.UI.UIRadioButtonColorChanger.Value
getset

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