//
// Auto-generated added to suppress names errors.
namespace UIWidgets
{
using System;
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.UI;
///
/// IInputFieldProxy.
///
public interface IInputFieldProxy
{
///
/// The current value of the input field.
///
/// The text.
string text
{
get;
set;
}
///
/// Determines whether InputField instance is null.
///
/// true if InputField instance is null; otherwise, false.
bool IsNull();
///
/// Gets the gameobject.
///
/// The gameobject.
GameObject gameObject
{
get;
}
///
/// The Unity Event to call when edit.
///
/// The OnValueChange.
UnityEvent onValueChanged
{
get;
}
///
/// The Unity Event to call when editing has ended.
///
/// The OnEndEdit.
UnityEvent onEndEdit
{
get;
}
///
/// Current InputField caret position (also selection tail).
///
/// The caret position.
int caretPosition
{
get;
set;
}
///
/// Is the InputField eligible for interaction (excludes canvas groups).
///
/// true if interactable; otherwise, false.
bool interactable
{
get;
set;
}
///
/// Text component.
///
Graphic textComponent
{
get;
set;
}
///
/// Placeholder.
///
Graphic placeholder
{
get;
set;
}
///
/// If the proxy was canceled and will revert back to the original text.
///
bool wasCanceled
{
get;
}
///
/// Determines whether this lineType is LineType.MultiLineNewline.
///
/// true if lineType is LineType.MultiLineNewline; otherwise, false.
bool IsMultiLineNewline();
///
/// Function to activate the InputField to begin processing Events.
///
void ActivateInputField();
#if UNITY_4_6 || UNITY_4_7 || UNITY_5_0
///
/// Move caret to end.
///
void MoveToEnd();
#endif
///
/// Set focus to InputField.
///
void Focus();
///
/// Set focus to InputField.
///
void Select();
}
}