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

The base class for a Data class that will use AppUI fields for display More...

Inheritance diagram for KSP.UI.AppUI_Data:
IConfigNode AlarmTypeBase TransferDataBase TransferDataTopDataBase AlarmTypeFlightNodeBase AlarmTypeManeuver AlarmTypeRaw AlarmTypeTransferWindow TransferDataSimple TransferDataSimpleTopData AlarmTypeApoapsis AlarmTypePeriapsis AlarmTypeSOI

Public Member Functions

void Load (ConfigNode node)
 
virtual void OnLoad (ConfigNode node)
 IConfigNode hook for the Load routine More...
 
virtual void OnSave (ConfigNode node)
 
void Save (ConfigNode node)
 
virtual void UIInputPanelDataChanged ()
 Called when the input fields are set and can be overridden directly in the data class to catch these there More...
 
virtual void UIInputPanelUpdate ()
 Method called by the AppUIInputPanel in Update when the class is shown in a panel More...
 

Static Public Member Functions

static List< T > CreateAppUIDataList< T > (ConfigNode[] nodes)
 
static T CreateInstanceOfAppUIData< T > (ConfigNode node)
 Creates a new part module adjuster, then loads the node information into it. More...
 
static T CreateInstanceOfAppUIData< T > (string className)
 Creates a new part module adjuster. More...
 

Protected Attributes

Callback onDataChanged
 

Detailed Description

The base class for a Data class that will use AppUI fields for display

Member Function Documentation

static List<T> KSP.UI.AppUI_Data.CreateAppUIDataList< T > ( ConfigNode[]  nodes)
inlinestatic

Creates a new list of part module adjusters, and loads the node information into it.

Parameters
nodeConfig node to load into the new module adjuster list.
Returns
Returns the new module adjuster list.
Type Constraints
T :AppUI_Data 
static T KSP.UI.AppUI_Data.CreateInstanceOfAppUIData< T > ( ConfigNode  node)
inlinestatic

Creates a new part module adjuster, then loads the node information into it.

Parameters
nodeConfig node to load into the new module adjuster.
Returns
Returns the new module adjuster.
Type Constraints
T :AppUI_Data 
static T KSP.UI.AppUI_Data.CreateInstanceOfAppUIData< T > ( string  className)
inlinestatic

Creates a new part module adjuster.

Parameters
classNameClass name of the new module adjuster.
Returns
Returns the new module adjuster.
Type Constraints
T :AppUI_Data 
void KSP.UI.AppUI_Data.Load ( ConfigNode  node)
inline

Implements IConfigNode.

virtual void KSP.UI.AppUI_Data.OnLoad ( ConfigNode  node)
inlinevirtual

IConfigNode hook for the Load routine

Parameters
node

Reimplemented in AlarmTypeBase.

virtual void KSP.UI.AppUI_Data.OnSave ( ConfigNode  node)
inlinevirtual

Reimplemented in AlarmTypeBase.

void KSP.UI.AppUI_Data.Save ( ConfigNode  node)
inline

Implements IConfigNode.

virtual void KSP.UI.AppUI_Data.UIInputPanelDataChanged ( )
inlinevirtual

Called when the input fields are set and can be overridden directly in the data class to catch these there

Reimplemented in AlarmTypeBase.

virtual void KSP.UI.AppUI_Data.UIInputPanelUpdate ( )
inlinevirtual

Method called by the AppUIInputPanel in Update when the class is shown in a panel

Reimplemented in AlarmTypeBase.

Member Data Documentation

Callback KSP.UI.AppUI_Data.onDataChanged
protected

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