|
Arma Reforger Script API
|
Configurable class for widget. More...
Public Member Functions | |
| void | CreateWidget (Widget parent) |
| void | RemoveWidget () |
| 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) |
Static Public Member Functions | |
| static SCR_ConfigListEntries | GetEntriesDefinitions (ResourceName presetsResourceName) |
Static Public Attributes | |
| const string | INVALID_VALUE = "-invalid-" |
Protected Member Functions | |
| 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 | |
| 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 |
Static Protected Attributes | |
| const ResourceName | ENTRY_DEFINITIONS = "{A6EFD45A3A38965C}Configs/JsonConfigList/JsonConfigListDefinition.conf" |
Configurable class for widget.
|
protected |
Can skip return true if input is empty and value is not required.
| bool SCR_WidgetListEntry.CheckValidity | ( | ) |
Default validity for majority of inputs will be true.
Implemented in SCR_WidgetListEntryEditBox, and SCR_WidgetListEntryEditBoxIP.
| void SCR_WidgetListEntry.CreateWidget | ( | Widget | parent | ) |
|
static |
| ResourceName SCR_WidgetListEntry.GetEntryLayout | ( | ) |
| Widget SCR_WidgetListEntry.GetEntryRoot | ( | ) |
| string SCR_WidgetListEntry.GetGroupTag | ( | ) |
| string SCR_WidgetListEntry.GetLabel | ( | ) |
| string SCR_WidgetListEntry.GetPropertyName | ( | ) |
| EJsonApiStructValueType SCR_WidgetListEntry.GetType | ( | ) |
| bool SCR_WidgetListEntry.GetVisible | ( | ) |
| bool SCR_WidgetListEntry.IsInputValid | ( | ) |
| void SCR_WidgetListEntry.RemoveWidget | ( | ) |
Implemented in SCR_WidgetListEntryEditBox.
| void SCR_WidgetListEntry.SetEntryLayout | ( | ResourceName | layout | ) |
| void SCR_WidgetListEntry.SetGroupTag | ( | string | tag | ) |
| void SCR_WidgetListEntry.SetInteractive | ( | bool | interactive | ) |
Can value be interacted - set handler enabled.
| void SCR_WidgetListEntry.SetLabel | ( | string | label | ) |
| void SCR_WidgetListEntry.SetPropertyName | ( | string | propertyName | ) |
|
protected |
Empty function to override to assing custom handlers.
Implemented in SCR_WidgetListEntryBoolSpinBox, SCR_WidgetListEntryCheckBox, SCR_WidgetListEntryEditBox, SCR_WidgetListEntryEditBoxIP, SCR_WidgetListEntryPublishImages, SCR_WidgetListEntryResourcePicker, SCR_WidgetListEntrySelection, SCR_WidgetListEntrySelectionList, SCR_WidgetListEntrySlider, and SCR_WidgetListEntrySpinBox.
| void SCR_WidgetListEntry.SetValue | ( | string | str | ) |
| void SCR_WidgetListEntry.SetVisible | ( | bool | show | ) |
| string SCR_WidgetListEntry.ValueAsString | ( | ) |
Return value from widget in string format.
Implemented in SCR_WidgetListEntryCheckBox, SCR_WidgetListEntryEditBox, SCR_WidgetListEntryMessage, SCR_WidgetListEntryResourcePicker, SCR_WidgetListEntrySelection, and SCR_WidgetListEntrySlider.
|
staticprotected |
|
static |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |