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

Configurable widget list entry for boolean values - yes/no. More...

Inheritance diagram for SCR_WidgetListEntryCheckBox:
[legend]

Public Member Functions

override void SetValue (string str)
 
override string ValueAsString ()
 Return value from widget in string format.
 
SCR_CheckboxComponent GetCheckbox ()
 
- 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.
 
- 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

string m_sPositive
 
string m_sNegative
 
SCR_CheckboxComponent m_Checkbox
 
- 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 for boolean values - yes/no.

Member Function Documentation

◆ GetCheckbox()

SCR_CheckboxComponent SCR_WidgetListEntryCheckBox.GetCheckbox ( )

◆ SetupHandlers()

override void SCR_WidgetListEntryCheckBox.SetupHandlers ( )
protected

Empty function to override to assing custom handlers.

Implements SCR_WidgetListEntry.

◆ SetValue()

override void SCR_WidgetListEntryCheckBox.SetValue ( string  str)

Implements SCR_WidgetListEntry.

◆ ValueAsString()

override string SCR_WidgetListEntryCheckBox.ValueAsString ( )

Return value from widget in string format.

Implements SCR_WidgetListEntry.

Member Data Documentation

◆ m_Checkbox

SCR_CheckboxComponent SCR_WidgetListEntryCheckBox.m_Checkbox
protected

◆ m_sNegative

string SCR_WidgetListEntryCheckBox.m_sNegative
protected

◆ m_sPositive

string SCR_WidgetListEntryCheckBox.m_sPositive
protected

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