Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Properties | List of all members
Expansions.Missions.Editor.BaseAPField Class Reference

Action pane BaseField implementation, used in the Action pane UI. More...

Inheritance diagram for Expansions.Missions.Editor.BaseAPField:
BaseField< K >

Public Member Functions

 BaseAPField (MEGUI_Control fieldAttrib, MemberInfo fieldInfo, object host)
 
object GetValue ()
 Gets the value of the field object More...
 
GetValue< T > ()
 Gets the value of the field object casted as T More...
 
override void SetOriginalValue ()
 
bool SetValue (object newValue)
 Sets the value of the field object More...
 
- Public Member Functions inherited from BaseField< K >
 BaseField (K fieldAttrib, MemberInfo memberInfo, object host)
 
object GetValue (object host)
 
GetValue< T > (object host)
 
bool SetValue (object newValue, object host)
 

Properties

MethodInfo CompareValuesForCheckpoint [get]
 Callback method to validate if this field is dirty on a target checkpoint More...
 
string FieldID [get]
 
System.Type FieldType [get]
 The type of the current reflected field or property More...
 
bool gapDisplay [get, set]
 The name of the GAP Display class used in this field More...
 
string Group [get, set]
 Used for fields that are meant to be grouped or related More...
 
string GroupDisplayName [get, set]
 Used for fields that are meant to be grouped or related More...
 
bool GroupStartCollapsed [get, set]
 The order in the sap hierarchy More...
 
bool HideOnSetup [get, set]
 Set to true to hide this field's control during setup so it can be toggled on/off by other controls. More...
 
bool HideWhenDocked [get, set]
 Set to true to hide this field's control when it is docked to another node. More...
 
bool HideWhenInputConnected [get, set]
 Set to true to hide this field's control when the input of the node is connected to another node. More...
 
bool HideWhenNoActionModules [get, set]
 Set to true to hide this field's control when the the node has no action modules. More...
 
bool HideWhenNoTestModules [get, set]
 Set to true to hide this field's control when the the node has no test modules. More...
 
bool HideWhenOutputConnected [get, set]
 Set to true to hide this field's control when the input of the node is connected to another node. More...
 
bool HideWhenSiblingsExist [get, set]
 Set to true to hide this field's control when its inside a compound param and there are other controls alongside it More...
 
bool HideWhenStartNode [get, set]
 Set to true to hide this field's control when it is part of the start node or docked to the start node. More...
 
MethodInfo OnControlCreated [get]
 Callback method when the control is created More...
 
MethodInfo OnControlSetupComplete [get]
 Callback method when the control is created More...
 
MethodInfo OnValueChange [get]
 Callback method when the value change More...
 
int Order [get, set]
 Order index for this param in the SAP display More...
 
PropertyInfo PropertyInfo [get, set]
 The reflected property info More...
 
bool TabStop [get, set]
 
- Properties inherited from BaseField< K >
Attribute [get]
 The field attribute object More...
 
FieldInfo FieldInfo [get, set]
 The reflected field info More...
 
string guiName [get, set]
 The field's gui name More...
 
bool hasInterface [get, set]
 Is this field representing a value which implements IConfigNode More...
 
object host [get, set]
 object host More...
 
MemberInfo MemberInfo [get, set]
 The generic reflected info More...
 
string name [get, set]
 The external name of this field More...
 
object originalValue [get, set]
 initial value for this field More...
 

Additional Inherited Members

- Protected Member Functions inherited from BaseField< K >
 BaseField ()
 
- Static Protected Attributes inherited from BaseField< K >
static Dictionary< System.Type,
bool > 
hasInterfaceDictionary = new Dictionary<System.Type, bool>()
 
- Events inherited from BaseField< K >
Callback< object > OnValueModified = o => { }
 Called whenever the field value is modified through SetValue More...
 

Detailed Description

Action pane BaseField implementation, used in the Action pane UI.

Constructor & Destructor Documentation

Expansions.Missions.Editor.BaseAPField.BaseAPField ( MEGUI_Control  fieldAttrib,
MemberInfo  fieldInfo,
object  host 
)
inline

Member Function Documentation

object Expansions.Missions.Editor.BaseAPField.GetValue ( )
inline

Gets the value of the field object

Returns

Gets the value of the field object casted as T

Template Parameters
T
Returns
override void Expansions.Missions.Editor.BaseAPField.SetOriginalValue ( )
inlinevirtual

Reimplemented from BaseField< K >.

bool Expansions.Missions.Editor.BaseAPField.SetValue ( object  newValue)
inline

Sets the value of the field object

Parameters
newValue
Returns

Property Documentation

MethodInfo Expansions.Missions.Editor.BaseAPField.CompareValuesForCheckpoint
get

Callback method to validate if this field is dirty on a target checkpoint

string Expansions.Missions.Editor.BaseAPField.FieldID
get
System.Type Expansions.Missions.Editor.BaseAPField.FieldType
get

The type of the current reflected field or property

bool Expansions.Missions.Editor.BaseAPField.gapDisplay
getset

The name of the GAP Display class used in this field

string Expansions.Missions.Editor.BaseAPField.Group
getset

Used for fields that are meant to be grouped or related

string Expansions.Missions.Editor.BaseAPField.GroupDisplayName
getset

Used for fields that are meant to be grouped or related

bool Expansions.Missions.Editor.BaseAPField.GroupStartCollapsed
getset

The order in the sap hierarchy

bool Expansions.Missions.Editor.BaseAPField.HideOnSetup
getset

Set to true to hide this field's control during setup so it can be toggled on/off by other controls.

bool Expansions.Missions.Editor.BaseAPField.HideWhenDocked
getset

Set to true to hide this field's control when it is docked to another node.

bool Expansions.Missions.Editor.BaseAPField.HideWhenInputConnected
getset

Set to true to hide this field's control when the input of the node is connected to another node.

bool Expansions.Missions.Editor.BaseAPField.HideWhenNoActionModules
getset

Set to true to hide this field's control when the the node has no action modules.

bool Expansions.Missions.Editor.BaseAPField.HideWhenNoTestModules
getset

Set to true to hide this field's control when the the node has no test modules.

bool Expansions.Missions.Editor.BaseAPField.HideWhenOutputConnected
getset

Set to true to hide this field's control when the input of the node is connected to another node.

bool Expansions.Missions.Editor.BaseAPField.HideWhenSiblingsExist
getset

Set to true to hide this field's control when its inside a compound param and there are other controls alongside it

bool Expansions.Missions.Editor.BaseAPField.HideWhenStartNode
getset

Set to true to hide this field's control when it is part of the start node or docked to the start node.

MethodInfo Expansions.Missions.Editor.BaseAPField.OnControlCreated
get

Callback method when the control is created

MethodInfo Expansions.Missions.Editor.BaseAPField.OnControlSetupComplete
get

Callback method when the control is created

MethodInfo Expansions.Missions.Editor.BaseAPField.OnValueChange
get

Callback method when the value change

int Expansions.Missions.Editor.BaseAPField.Order
getset

Order index for this param in the SAP display

PropertyInfo Expansions.Missions.Editor.BaseAPField.PropertyInfo
getset

The reflected property info

bool Expansions.Missions.Editor.BaseAPField.TabStop
getset

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