Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Protected Member Functions | List of all members
KSP.UI.Screens.AppUIMemberDropdownMultiLine Class Reference

A Dropdown field for selecting an item from a list More...

Inheritance diagram for KSP.UI.Screens.AppUIMemberDropdownMultiLine:
KSP.UI.Screens.AppUIMemberDropdown KSP.UI.Screens.AppUIMember

Protected Member Functions

override void OnInitialized ()
 NOTE: This class probably contains no code as only the prefab changes in this use case. More...
 
override void OnRefreshUI ()
 Method called in subclasses when refreshUI is called More...
 
- Protected Member Functions inherited from KSP.UI.Screens.AppUIMemberDropdown
virtual void BuildDropDownItemsList ()
 
override void OnStart ()
 Overridable Method called at end of Unity Start More...
 
- Protected Member Functions inherited from KSP.UI.Screens.AppUIMember
object GetValue ()
 Get the value of the underlying member More...
 
GetValue< T > ()
 
virtual void OnAwake ()
 Overridable Method called at end of Unity Awake More...
 
virtual void OnUpdate ()
 Overridable Method called at end of Unity Update More...
 
bool SetValue (object newValue)
 Set the value of the underlying member More...
 

Additional Inherited Members

- Public Member Functions inherited from KSP.UI.Screens.AppUIMember
void RefreshUI ()
 Method called for refreshing the UI More...
 
void SetHoverTextTarget (TextMeshProUGUI textTargetForHover)
 
virtual void Setup (AppUI_Data host, MemberInfo member, AppUI_Control attribs, AppUIInputPanel parentPanel)
 Setup the UI element from the host, member and attributes More...
 
- Static Public Member Functions inherited from KSP.UI.Screens.AppUIMember
static int SortByOrder (AppUIMember m1, AppUIMember m2)
 Sort AppUIMembers by ascending order More...
 
- Public Attributes inherited from KSP.UI.Screens.AppUIMemberDropdown
TMP_Dropdown dropdown
 
string dropdownItemsFieldName
 
AppUIDropdownItemDictionary itemList
 
- Public Attributes inherited from KSP.UI.Screens.AppUIMember
AppUI_Control.HorizontalAlignment guiNameHorizAlignment = AppUI_Control.HorizontalAlignment.Left
 The horizontal alignment for the guiName text. More...
 
TextMeshProUGUI guiNameLabel
 
AppUI_Control.VerticalAlignment guiNameVertAlignment = AppUI_Control.VerticalAlignment.Midline
 The vertical alignment for the guiName text. More...
 
bool hideOnError
 If set true will hide this control in error states. More...
 
int order
 Sort order index for this parameter in the panel More...
 
bool showGuiName = true
 
- Protected Attributes inherited from KSP.UI.Screens.AppUIMember
AppUI_Control _attribs
 
FieldInfo _field
 
AppUI_Data _host
 
MemberInfo _member
 
PropertyInfo _property
 
RectTransform guiNameLabelRectTransform = null
 
List< UIHoverTexthoverTextList
 List of hover text elemants that should have their help text set by this component More...
 
bool isEnum
 
VerticalLayoutGroup parentLayoutGroup = null
 The layout group of the parent More...
 
AppUIInputPanel parentPanel = null
 The panel that is holding this member More...
 
RectTransform valueHolderRectTransform = null
 
Vector2 valueRectOffsetMin
 
Type valueType
 
- Properties inherited from KSP.UI.Screens.AppUIMember
string guiName [get, set]
 The field's gui name More...
 
string HoverText [get, set]
 WHat to change the panels textTargetForHover to when mouse is over this More...
 
bool IsInitialized [get, set]
 Did the reflected member get all set up correctly More...
 
string Name [get]
 The Member Name More...
 

Detailed Description

A Dropdown field for selecting an item from a list

Member Function Documentation

override void KSP.UI.Screens.AppUIMemberDropdownMultiLine.OnInitialized ( )
inlineprotectedvirtual

NOTE: This class probably contains no code as only the prefab changes in this use case.

Reimplemented from KSP.UI.Screens.AppUIMemberDropdown.

override void KSP.UI.Screens.AppUIMemberDropdownMultiLine.OnRefreshUI ( )
inlineprotectedvirtual

Method called in subclasses when refreshUI is called

Reimplemented from KSP.UI.Screens.AppUIMemberDropdown.


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