Game.UI.Editor.Widgets.ItemPickerPopup`1
Assembly: Game
Namespace: Game.UI.Editor.Widgets
Type: class public
Base: System.Object
Implements: Game.UI.Widgets.IValueFieldPopup<T>
Code
public class ItemPickerPopup<T> : Game.UI.Widgets.IValueFieldPopup<T>
{
private Game.Reflection.ITypedValueAccessor<T> m_Accessor;
private Game.UI.Editor.Widgets.ItemPickerPopupAdapter<T> m_Adapter;
private readonly System.Collections.Generic.IList<Game.UI.Widgets.IWidget> <children>k__BackingField;
private static readonly Game.UI.Localization.LocalizedString kNoneValue;
public System.Collections.Generic.IList<Game.UI.Widgets.IWidget> children { get; }
public ItemPickerPopup`1(System.Boolean hasFooter, System.Boolean hasImages);
public System.Void Attach(Game.Reflection.ITypedValueAccessor<T> accessor);
public System.Void Detach();
public Game.UI.Localization.LocalizedString GetDisplayValue(T value);
private System.Void OnSelectedItemChanged(T value);
public System.Void SetItems(System.Collections.Generic.IEnumerable<Game.UI.Editor.Widgets.ItemPickerPopup<T>> items);
public System.Boolean Update();
}
Fields
private Game.Reflection.ITypedValueAccessor<T> m_Accessor
private Game.Reflection.ITypedValueAccessor<T> m_Accessor;
private Game.UI.Editor.Widgets.ItemPickerPopupAdapter<T> m_Adapter
private Game.UI.Editor.Widgets.ItemPickerPopupAdapter<T> m_Adapter;
private readonly System.Collections.Generic.IList<Game.UI.Widgets.IWidget> <children>k__BackingField
private readonly System.Collections.Generic.IList<Game.UI.Widgets.IWidget> <children>k__BackingField;
private static readonly Game.UI.Localization.LocalizedString kNoneValue
private static readonly Game.UI.Localization.LocalizedString kNoneValue;
Properties
public System.Collections.Generic.IList<Game.UI.Widgets.IWidget> children { get }
public System.Collections.Generic.IList<Game.UI.Widgets.IWidget> children { get; }
Constructors
public ItemPickerPopup
1(System.Boolean hasFooter = True, System.Boolean hasImages = True)`
public ItemPickerPopup`1(System.Boolean hasFooter, System.Boolean hasImages);
Methods
public Attach(Game.Reflection.ITypedValueAccessor<T> accessor) : System.Void
public System.Void Attach(Game.Reflection.ITypedValueAccessor<T> accessor);
public Detach() : System.Void
public System.Void Detach();
public GetDisplayValue(T value) : Game.UI.Localization.LocalizedString
public Game.UI.Localization.LocalizedString GetDisplayValue(T value);
private OnSelectedItemChanged(T value) : System.Void
private System.Void OnSelectedItemChanged(T value);
public SetItems(System.Collections.Generic.IEnumerable<Game.UI.Editor.Widgets.ItemPickerPopup<T>> items) : System.Void
public System.Void SetItems(System.Collections.Generic.IEnumerable<Game.UI.Editor.Widgets.ItemPickerPopup<T>> items);
public Update() : System.Boolean
public System.Boolean Update();
Nested types
Game.UI.Editor.Widgets.ItemPickerPopup<T>