Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Protected Member Functions | Protected Attributes | Properties | List of all members
UIPartActionFieldItem Class Reference
Inheritance diagram for UIPartActionFieldItem:
UIPartActionItem UIPartActionChooseOption UIPartActionColorPicker UIPartActionCycle UIPartActionFieldFloatRange UIPartActionFloatEdit UIPartActionFloatRange UIPartActionInventory UIPartActionLabel UIPartActionMinMaxRange UIPartActionProgressBar UIPartActionResourceDrain UIPartActionScaleEdit UIPartActionToggle UIPartActionVariantSelector UIPartActionVector2

Public Member Functions

bool CheckInRange ()
 Checks if the field is within range from the active vessel. More...
 
override bool IsItemValid ()
 
virtual void Setup (UIPartActionWindow window, Part part, PartModule partModule, UI_Scene scene, UI_Control control, BaseField field)
 
- Public Member Functions inherited from UIPartActionItem
virtual void AddInputFieldLock (string val)
 
virtual void RemoveInputfieldLock ()
 
void SetupItem (UIPartActionWindow window, Part part, PartModule partModule, UI_Scene scene, UI_Control control)
 
virtual void UpdateItem ()
 

Protected Member Functions

BaseField GetField (string name)
 
void SetFieldValue (object newValue)
 
bool SetSymCounterpartValue (object value)
 

Protected Attributes

BaseField field
 
bool isActiveUnfocused
 
float itemRange
 
bool removedIfPinned
 
- Protected Attributes inherited from UIPartActionItem
UI_Control control
 
bool isModule
 
Part part
 
PartModule partModule
 
UI_Scene scene
 
UIPartActionWindow window
 

Properties

BaseField Field [get]
 
object Host [get]
 
- Properties inherited from UIPartActionItem
UI_Control Control [get]
 
bool IsModule [get]
 
Part Part [get]
 
PartModule PartModule [get]
 
UI_Scene Scene [get]
 
UIPartActionWindow Window [get]
 

Member Function Documentation

bool UIPartActionFieldItem.CheckInRange ( )
inline

Checks if the field is within range from the active vessel.

Returns
BaseField UIPartActionFieldItem.GetField ( string  name)
inlineprotected
override bool UIPartActionFieldItem.IsItemValid ( )
inlinevirtual

Reimplemented from UIPartActionItem.

void UIPartActionFieldItem.SetFieldValue ( object  newValue)
inlineprotected
bool UIPartActionFieldItem.SetSymCounterpartValue ( object  value)
inlineprotected

< we'll try the module at the same index

< if the module at the same index is the same as us, and not null, fire its event

virtual void UIPartActionFieldItem.Setup ( UIPartActionWindow  window,
Part  part,
PartModule  partModule,
UI_Scene  scene,
UI_Control  control,
BaseField  field 
)
inlinevirtual

Member Data Documentation

BaseField UIPartActionFieldItem.field
protected
bool UIPartActionFieldItem.isActiveUnfocused
protected
float UIPartActionFieldItem.itemRange
protected
bool UIPartActionFieldItem.removedIfPinned
protected

Property Documentation

BaseField UIPartActionFieldItem.Field
get
object UIPartActionFieldItem.Host
getprotected

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