There is no spoon
UE2:MoNumericEdit (UT2004)
Object >> GUI >> GUIComponent >> GUIMultiComponent >> GUIMenuOption >> MoNumericEdit |
Contents
- Package:
- XInterface
- This class in other games:
- UE2Runtime, UT2003
An edit control for integer values.
Properties[edit]
Property group 'Option'[edit]
MaxValue[edit]
Type: int
Maximum allowed value.
Default value: 9999
MinValue[edit]
Type: int
Minimum allowed value.
Default value: -9999
MyNumericEdit[edit]
Type: GUINumericEdit
Modifiers: editconst, noexport
The actual edit box with up/down buttons.
Step[edit]
Type: int
Step interval for the up/down buttons.
Default value: 1
Default values[edit]
Property | Value |
---|---|
ComponentClassName | "XInterface.GUINumericEdit" |
Functions[edit]
Events[edit]
InitComponent[edit]
Overrides: GUIMenuOption.InitComponent
Initializes the MyNumericEdit.
Other instance functions[edit]
GetComponentValue[edit]
Overrides: GUIMenuOption.GetComponentValue
Returns the string displayed in the edit box.
GetValue[edit]
Returns the current value in the edit box.
SetComponentValue[edit]
Overrides: GUIMenuOption.SetComponentValue
Sets a new string to display in the edit box. This value is typecasted to int as validation.
SetReadOnly[edit]
Overrides: GUIMenuOption.SetReadOnly
Sets whether this control is read-only.
Setup[edit]
Sets up the range and step interval for values in this control.
SetValue[edit]
Puts a new value into the edit box.