Kerbal Space Program
1.12.4
|
Action pane BaseField implementation, used in the Action pane UI. More...
Public Member Functions | |
BaseAPField (MEGUI_Control fieldAttrib, MemberInfo fieldInfo, object host) | |
object | GetValue () |
Gets the value of the field object More... | |
T | 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) |
T | 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 > | |
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... | |
Action pane BaseField implementation, used in the Action pane UI.
|
inline |
|
inline |
Gets the value of the field object
|
inline |
Gets the value of the field object casted as T
T |
|
inlinevirtual |
Reimplemented from BaseField< K >.
|
inline |
Sets the value of the field object
newValue |
|
get |
Callback method to validate if this field is dirty on a target checkpoint
|
get |
|
get |
The type of the current reflected field or property
|
getset |
The name of the GAP Display class used in this field
|
getset |
Used for fields that are meant to be grouped or related
|
getset |
Used for fields that are meant to be grouped or related
|
getset |
The order in the sap hierarchy
|
getset |
Set to true to hide this field's control during setup so it can be toggled on/off by other controls.
|
getset |
Set to true to hide this field's control when it is docked to another node.
|
getset |
Set to true to hide this field's control when the input of the node is connected to another node.
|
getset |
Set to true to hide this field's control when the the node has no action modules.
|
getset |
Set to true to hide this field's control when the the node has no test modules.
|
getset |
Set to true to hide this field's control when the input of the node is connected to another node.
|
getset |
Set to true to hide this field's control when its inside a compound param and there are other controls alongside it
|
getset |
Set to true to hide this field's control when it is part of the start node or docked to the start node.
|
get |
Callback method when the control is created
|
get |
Callback method when the control is created
|
get |
Callback method when the value change
|
getset |
Order index for this param in the SAP display
|
getset |
The reflected property info
|
getset |