class TGUIField

template<class T>
Inherits: GUIFieldBase

Templated GUI field class that provides common methods needed for constructing an editor field.

Public

Constructors

TGUIField<T>

TGUIField<T>(const PrivatelyConstruct &dummy, const GUIContent &labelContent, u32 labelWidth, const String &style, const GUISizeConstraints &dimensions, bool withLabel)

Methods

staticCreate

static T *Create(const GUIContent &labelContent, u32 labelWidth, const String &styleClass = StringUtility::kBlank)

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.

staticCreate

static T *Create(const GUIContent &labelContent, const String &styleClass = StringUtility::kBlank)

Creates a new GUI editor field with a label.

labelContent
Content to display in the editor field label.
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.

staticCreate

static T *Create(const HString &labelText, u32 labelWidth, const String &styleClass = StringUtility::kBlank)

Creates a new GUI editor field with a label.

labelText
String 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.

staticCreate

static T *Create(const HString &labelText, const String &styleClass = StringUtility::kBlank)

Creates a new GUI editor field with a label.

labelText
String to display in the editor field label.
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.

staticCreate

static T *Create(const String &styleClass)

Creates a new GUI editor field without a label.

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.

staticCreate

static T *Create(const GUIContent &labelContent, u32 labelWidth, const String &styleClass, const TInlineArray<GUIOption, 4> &options)

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.
options
Additional options that control GUI element size and position. This will override options set in the style sheet.

staticCreate

static T *Create(const GUIContent &labelContent, const String &styleClass, const TInlineArray<GUIOption, 4> &options)

Creates a new GUI editor field with a label.

labelContent
Content to display in the editor field label.
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.
options
Additional options that control GUI element size and position. This will override options set in the style sheet.

staticCreate

static T *Create(const HString &labelText, u32 labelWidth, const String &styleClass, const TInlineArray<GUIOption, 4> &options)

Creates a new GUI editor field with a label.

labelText
String 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.
options
Additional options that control GUI element size and position. This will override options set in the style sheet.

staticCreate

static T *Create(const HString &labelText, const String &styleClass, const TInlineArray<GUIOption, 4> &options)

Creates a new GUI editor field with a label.

labelText
String to display in the editor field label.
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.
options
Additional options that control GUI element size and position. This will override options set in the style sheet.

staticCreate

static T *Create(const String &styleClass, const TInlineArray<GUIOption, 4> &options)

Creates a new GUI editor field without a label.

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.
options
Additional options that control GUI element size and position. This will override options set in the style sheet.

staticCreate

static T *Create(const TInlineArray<GUIOption, 4> &options)

Creates a new GUI editor field without a label.

options
Additional options that control GUI element size and position. This will override options set in the style sheet.

staticCreate

static T *Create()

Creates a new GUI editor field without a label.