class
GUIArea2Field
A composite GUI object representing an editor field.
Editor fields are a combination of a label and an input field. Label is optional. This specific implementation displays an Area2 input field.
Public
Constructors
GUIArea2Field
Methods
staticGetGuiTypeName
Returns type name of the GUI element used for finding GUI element styles.
HasInputFocus
Checks is the input field currently active.
SetInputFocus
Sets input focus to a specific component's input box.
staticCreate
Creates a new GUI editor field with a label.
- labelContent
- Content to display in the editor field label.
- labelWidth
- Width of the label in pixels.
- styleClass
- Style class that will be used for determining GUI element visuals from the current style sheet. If no class is provided, default style is determined based on GUI element type.
Fields
OnValueChanged
Reports the new value of the area when the user changes the value of any of the area components.
OnComponentChanged
Reports the new value of an individual area component when the user changes it.
OnComponentFocusGained
Triggered when an individual component gains focus.
OnComponentFocusLost
Triggered when an individual component loses focus.
OnConfirm
Triggered when the user hits the Enter key with any of the component input boxes in focus.
Protected
Methods
ValueChanged
Triggered when the values in any of the input boxes change.
InputConfirmed
Triggered when the users confirms input in the input box.