Class TextValueField<T>
Inheritance
TextValueField<T>
Assembly: UnityEditor.dll
Syntax
public abstract class TextValueField<T> : TextInputFieldBase<T>, ITransform, IUIElementDataWatch, IEnumerable<VisualElement>, IEnumerable, IVisualElementScheduler, IStyle, IBindable, INotifyValueChanged<T>, ITextInputField, IEventHandler, ITextElement, IValueField<T>
Type Parameters
Constructors
|
Improve this Doc
View Source
TextValueField(Int32)
Declaration
protected TextValueField(int maxLength)
Parameters
| Type |
Name |
Description |
| Int32 |
maxLength |
|
Properties
|
Improve this Doc
View Source
allowedCharacters
Declaration
protected abstract string allowedCharacters { get; }
Property Value
|
Improve this Doc
View Source
formatString
Declaration
public string formatString { get; set; }
Property Value
|
Improve this Doc
View Source
value
Declaration
public override T value { get; set; }
Property Value
Overrides
UnityEngine.Experimental.UIElements.BaseField<T>.value
Methods
|
Improve this Doc
View Source
ApplyInputDeviceDelta(Vector3, DeltaSpeed, T)
Declaration
public abstract void ApplyInputDeviceDelta(Vector3 delta, DeltaSpeed speed, T startValue)
Parameters
|
Improve this Doc
View Source
ExecuteDefaultAction(EventBase)
Declaration
protected override void ExecuteDefaultAction(EventBase evt)
Parameters
Overrides
UnityEngine.Experimental.UIElements.TextInputFieldBase<T>.ExecuteDefaultAction(UnityEngine.Experimental.UIElements.EventBase)
|
Improve this Doc
View Source
ExecuteDefaultActionAtTarget(EventBase)
Declaration
protected override void ExecuteDefaultActionAtTarget(EventBase evt)
Parameters
Overrides
UnityEngine.Experimental.UIElements.TextInputFieldBase<T>.ExecuteDefaultActionAtTarget(UnityEngine.Experimental.UIElements.EventBase)
|
Improve this Doc
View Source
SetValueAndNotify(T)
Declaration
[Obsolete("This method is replaced by simply using this.value. The default behaviour has been changed to notify when changed. If the behaviour is not to be notified, SetValueWithoutNotify() must be used.", false)]
public override void SetValueAndNotify(T newValue)
Parameters
| Type |
Name |
Description |
| T |
newValue |
|
Overrides
UnityEngine.Experimental.UIElements.BaseField<T>.SetValueAndNotify(T)
|
Improve this Doc
View Source
SetValueWithoutNotify(T)
Declaration
public override void SetValueWithoutNotify(T newValue)
Parameters
| Type |
Name |
Description |
| T |
newValue |
|
Overrides
UnityEngine.Experimental.UIElements.BaseField<T>.SetValueWithoutNotify(T)
|
Improve this Doc
View Source
StringToValue(String)
Declaration
protected abstract T StringToValue(string str)
Parameters
| Type |
Name |
Description |
| String |
str |
|
Returns
|
Improve this Doc
View Source
ValueToString(T)
Declaration
protected abstract string ValueToString(T value)
Parameters
| Type |
Name |
Description |
| T |
value |
|
Returns
Implements
Extension Methods