Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
SCR_WidgetListEntrySpinBox Interface Reference

Configurable widget list entry selection specific for spinbox. More...

Inheritance diagram for SCR_WidgetListEntrySpinBox:
[legend]

Public Member Functions

override void SetValue (string str)
 
SCR_SpinBoxComponent GetSpinBox ()
 
- Public Member Functions inherited from SCR_WidgetListEntrySelection
override string ValueAsString ()
 Return value from widget in string format.
 
int ValueId ()
 Get selected value as id.
 
void SelectOption (int id)
 
SCR_LocalizedProperty GetSelectedOption ()
 Return current selected option as full localized property.
 
void SetOptions (array< ref SCR_LocalizedProperty > options)
 Fill list with options.
 
SCR_SelectionWidgetComponent GetSelectionComponent ()
 
void GetOptions (out array< ref SCR_LocalizedProperty > options)
 
- Public Member Functions inherited from SCR_WidgetListEntry
void CreateWidget (Widget parent)
 
string ValueAsString ()
 Return value from widget in string format.
 
void SetValue (string str)
 
bool CheckValidity ()
 Default validity for majority of inputs will be true.
 
void SetInteractive (bool interactive)
 Can value be interacted - set handler enabled.
 
ResourceName GetEntryLayout ()
 
void SetEntryLayout (ResourceName layout)
 
string GetLabel ()
 
void SetLabel (string label)
 
string GetPropertyName ()
 
void SetPropertyName (string propertyName)
 
string GetGroupTag ()
 
void SetGroupTag (string tag)
 
EJsonApiStructValueType GetType ()
 
Widget GetEntryRoot ()
 
bool IsInputValid ()
 
bool GetVisible ()
 
void SetVisible (bool show)
 

Protected Member Functions

override void SetupHandlers ()
 Empty function to override to assing custom handlers.
 
override void SetupHandlers ()
 Empty function to override to assing custom handlers.
 
- Protected Member Functions inherited from SCR_WidgetListEntry
void SetupHandlers ()
 Empty function to override to assing custom handlers.
 
bool CanSkip ()
 Can skip return true if input is empty and value is not required.
 

Protected Attributes

bool m_bCycle
 
SCR_SpinBoxComponent m_SpinBox
 
- Protected Attributes inherited from SCR_WidgetListEntrySelection
ref array< ref SCR_LocalizedPropertym_aOptions
 
SCR_SelectionWidgetComponent m_Selection
 
- Protected Attributes inherited from SCR_WidgetListEntry
ResourceName m_sEntryLayout
 
bool m_bShow
 
string m_sLabel
 
string m_sPropertyName
 
string m_sGroupTag
 
string m_sDefaultValue
 
bool m_bRequired
 
bool m_bInteractive
 
SCR_ChangeableComponentBase m_ChangeableComponent
 
EJsonApiStructValueType m_iType
 
string m_sClassTag
 
Widget m_EntryRoot
 
bool m_bValidInput = true
 

Additional Inherited Members

- Static Public Member Functions inherited from SCR_WidgetListEntry
static SCR_ConfigListEntries GetEntriesDefinitions (ResourceName presetsResourceName)
 
- Static Public Attributes inherited from SCR_WidgetListEntry
const string INVALID_VALUE = "-invalid-"
 
- Static Protected Attributes inherited from SCR_WidgetListEntry
const ResourceName ENTRY_DEFINITIONS = "{A6EFD45A3A38965C}Configs/JsonConfigList/JsonConfigListDefinition.conf"
 

Detailed Description

Configurable widget list entry selection specific for spinbox.

Member Function Documentation

◆ GetSpinBox()

SCR_SpinBoxComponent SCR_WidgetListEntrySpinBox.GetSpinBox ( )

◆ SetupHandlers()

override void SCR_WidgetListEntrySpinBox.SetupHandlers ( )
protected

Empty function to override to assing custom handlers.

Implements SCR_WidgetListEntrySelection.

Implemented in SCR_WidgetListEntryBoolSpinBox.

◆ SetValue()

override void SCR_WidgetListEntrySpinBox.SetValue ( string  str)

Member Data Documentation

◆ m_bCycle

bool SCR_WidgetListEntrySpinBox.m_bCycle
protected

◆ m_SpinBox

SCR_SpinBoxComponent SCR_WidgetListEntrySpinBox.m_SpinBox
protected

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