Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Classes | Public Types | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Properties | List of all members
Expansions.Serenity.RoboticControllerWindowBaseRow Class Referenceabstract

An row inside the Robotic Controller Window More...

Inheritance diagram for Expansions.Serenity.RoboticControllerWindowBaseRow:
Expansions.Serenity.RoboticControllerWindowAction Expansions.Serenity.RoboticControllerWindowAxis

Public Types

enum  rowTypes { rowTypes.Action, rowTypes.Axis, rowTypes.None }
 The types that a row in the controller window can be More...
 

Public Member Functions

bool AnyTextFieldHasFocus ()
 
void Collapse ()
 Collpase this row More...
 
void Expand ()
 Expand this row More...
 
abstract void InsertPoint (float timeValue)
 Insert a new point at the passed time More...
 
void OnPointerEnter (PointerEventData eventData)
 IPointerExitHandler More...
 
void OnPointerExit (PointerEventData eventData)
 IPointerEnterHandler More...
 
abstract void ReverseCurve ()
 Reverse the direction of the curve/points - ie flip horizontally More...
 
abstract void SelectAllPoints ()
 Select all points in the curve More...
 
abstract void SelectPointAtTime (float timeValue)
 Select a point at the passed time More...
 
void ToggleExpansion ()
 Toggle this rows expansion/collapse More...
 

Public Attributes

Button editNickButton
 Button for entering edit mode More...
 
TMPro.TMP_InputField partNickNameInput
 Input field for editing the name More...
 
TextMeshProUGUI titleTextField
 Axis FIeld title for description More...
 
TextMeshProUGUI titleTextPart
 Part Title for identification More...
 

Protected Member Functions

void AssignBaseReferenceVars (RoboticControllerWindow window, ModuleRoboticController controller, ControlledBase controlledItem)
 
abstract void OnPointDragging (List< CurvePanelPoint > points)
 
abstract void OnPointSelectionChanged (CurvePanel panel, List< CurvePanelPoint > points)
 
abstract void OnRowCollapsed ()
 Called during Row Colapse to handle specific child class code More...
 
abstract void OnRowDestroy ()
 Called by this class during Monobehaviour OnDestroy More...
 
abstract void OnRowExpanded ()
 Called during Row Expand to handle specific child class code More...
 
abstract void OnRowStart ()
 Called by this class during Monobehaviour Start More...
 
abstract void UpdateUILayout (bool recreateLine=false)
 Called when the UI Layout is updated to handle specific child class code More...
 

Protected Attributes

ControlledAction controlledAction
 
ControlledAxis controlledAxis
 
ControlledBase controlledItem
 
UIHoverText editNickTextHover
 
bool expanded = false
 
PointerClickHandler headerClickHandler
 
RectTransform headerTransform
 
float heightCollapsed
 
float heightExpanded
 
List< GameObject > hideWhenCollapsed
 
LayoutElement layout
 Layout element for managing size More...
 
Button removeRowButton
 
UIHoverText removeRowTextHover
 

Properties

ModuleRoboticController Controller [get, set]
 Ref var to the controller More...
 
bool Expanded [get]
 Is this axis expanded More...
 
bool IsAction [get]
 Is this row for managing an action sequence More...
 
bool IsAxis [get]
 Is this row for managing an axisfield curve More...
 
rowTypes rowType [get, set]
 This rows type More...
 
RoboticControllerWindow Window [get, set]
 Ref var to the Window More...
 

Detailed Description

An row inside the Robotic Controller Window

Member Enumeration Documentation

The types that a row in the controller window can be

Enumerator
Action 
Axis 
None 

Member Function Documentation

bool Expansions.Serenity.RoboticControllerWindowBaseRow.AnyTextFieldHasFocus ( )
inline
void Expansions.Serenity.RoboticControllerWindowBaseRow.AssignBaseReferenceVars ( RoboticControllerWindow  window,
ModuleRoboticController  controller,
ControlledBase  controlledItem 
)
inlineprotected
void Expansions.Serenity.RoboticControllerWindowBaseRow.Collapse ( )
inline

Collpase this row

void Expansions.Serenity.RoboticControllerWindowBaseRow.Expand ( )
inline

Expand this row

abstract void Expansions.Serenity.RoboticControllerWindowBaseRow.InsertPoint ( float  timeValue)
pure virtual

Insert a new point at the passed time

Parameters
timeValuetime of the point in Sequence frame of reference

Implemented in Expansions.Serenity.RoboticControllerWindowAxis, and Expansions.Serenity.RoboticControllerWindowAction.

abstract void Expansions.Serenity.RoboticControllerWindowBaseRow.OnPointDragging ( List< CurvePanelPoint points)
protectedpure virtual
void Expansions.Serenity.RoboticControllerWindowBaseRow.OnPointerEnter ( PointerEventData  eventData)
inline

IPointerExitHandler

void Expansions.Serenity.RoboticControllerWindowBaseRow.OnPointerExit ( PointerEventData  eventData)
inline

IPointerEnterHandler

abstract void Expansions.Serenity.RoboticControllerWindowBaseRow.OnPointSelectionChanged ( CurvePanel  panel,
List< CurvePanelPoint points 
)
protectedpure virtual
abstract void Expansions.Serenity.RoboticControllerWindowBaseRow.OnRowCollapsed ( )
protectedpure virtual

Called during Row Colapse to handle specific child class code

Implemented in Expansions.Serenity.RoboticControllerWindowAxis, and Expansions.Serenity.RoboticControllerWindowAction.

abstract void Expansions.Serenity.RoboticControllerWindowBaseRow.OnRowDestroy ( )
protectedpure virtual

Called by this class during Monobehaviour OnDestroy

Implemented in Expansions.Serenity.RoboticControllerWindowAxis, and Expansions.Serenity.RoboticControllerWindowAction.

abstract void Expansions.Serenity.RoboticControllerWindowBaseRow.OnRowExpanded ( )
protectedpure virtual

Called during Row Expand to handle specific child class code

Implemented in Expansions.Serenity.RoboticControllerWindowAxis, and Expansions.Serenity.RoboticControllerWindowAction.

abstract void Expansions.Serenity.RoboticControllerWindowBaseRow.OnRowStart ( )
protectedpure virtual

Called by this class during Monobehaviour Start

Implemented in Expansions.Serenity.RoboticControllerWindowAxis, and Expansions.Serenity.RoboticControllerWindowAction.

abstract void Expansions.Serenity.RoboticControllerWindowBaseRow.ReverseCurve ( )
pure virtual

Reverse the direction of the curve/points - ie flip horizontally

Implemented in Expansions.Serenity.RoboticControllerWindowAxis, and Expansions.Serenity.RoboticControllerWindowAction.

abstract void Expansions.Serenity.RoboticControllerWindowBaseRow.SelectAllPoints ( )
pure virtual
abstract void Expansions.Serenity.RoboticControllerWindowBaseRow.SelectPointAtTime ( float  timeValue)
pure virtual

Select a point at the passed time

Parameters
timeValuetime of the point in Sequence frame of reference

Implemented in Expansions.Serenity.RoboticControllerWindowAxis, and Expansions.Serenity.RoboticControllerWindowAction.

void Expansions.Serenity.RoboticControllerWindowBaseRow.ToggleExpansion ( )
inline

Toggle this rows expansion/collapse

abstract void Expansions.Serenity.RoboticControllerWindowBaseRow.UpdateUILayout ( bool  recreateLine = false)
protectedpure virtual

Called when the UI Layout is updated to handle specific child class code

Implemented in Expansions.Serenity.RoboticControllerWindowAxis, and Expansions.Serenity.RoboticControllerWindowAction.

Member Data Documentation

ControlledAction Expansions.Serenity.RoboticControllerWindowBaseRow.controlledAction
protected
ControlledAxis Expansions.Serenity.RoboticControllerWindowBaseRow.controlledAxis
protected
ControlledBase Expansions.Serenity.RoboticControllerWindowBaseRow.controlledItem
protected
Button Expansions.Serenity.RoboticControllerWindowBaseRow.editNickButton

Button for entering edit mode

UIHoverText Expansions.Serenity.RoboticControllerWindowBaseRow.editNickTextHover
protected
bool Expansions.Serenity.RoboticControllerWindowBaseRow.expanded = false
protected
PointerClickHandler Expansions.Serenity.RoboticControllerWindowBaseRow.headerClickHandler
protected
RectTransform Expansions.Serenity.RoboticControllerWindowBaseRow.headerTransform
protected
float Expansions.Serenity.RoboticControllerWindowBaseRow.heightCollapsed
protected
float Expansions.Serenity.RoboticControllerWindowBaseRow.heightExpanded
protected
List<GameObject> Expansions.Serenity.RoboticControllerWindowBaseRow.hideWhenCollapsed
protected
LayoutElement Expansions.Serenity.RoboticControllerWindowBaseRow.layout
protected

Layout element for managing size

TMPro.TMP_InputField Expansions.Serenity.RoboticControllerWindowBaseRow.partNickNameInput

Input field for editing the name

Button Expansions.Serenity.RoboticControllerWindowBaseRow.removeRowButton
protected
UIHoverText Expansions.Serenity.RoboticControllerWindowBaseRow.removeRowTextHover
protected
TextMeshProUGUI Expansions.Serenity.RoboticControllerWindowBaseRow.titleTextField

Axis FIeld title for description

TextMeshProUGUI Expansions.Serenity.RoboticControllerWindowBaseRow.titleTextPart

Part Title for identification

Property Documentation

ModuleRoboticController Expansions.Serenity.RoboticControllerWindowBaseRow.Controller
getset

Ref var to the controller

bool Expansions.Serenity.RoboticControllerWindowBaseRow.Expanded
get

Is this axis expanded

bool Expansions.Serenity.RoboticControllerWindowBaseRow.IsAction
get

Is this row for managing an action sequence

bool Expansions.Serenity.RoboticControllerWindowBaseRow.IsAxis
get

Is this row for managing an axisfield curve

rowTypes Expansions.Serenity.RoboticControllerWindowBaseRow.rowType
getset

This rows type

RoboticControllerWindow Expansions.Serenity.RoboticControllerWindowBaseRow.Window
getset

Ref var to the Window


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