Doloro GDK 22 .1.0 Beta
by Tauri Interactive
|
Provides API to connect AItemFeature with ItemFeatureGUIElement handling UI.
Public Member Functions | |
void | Add (SourceType item) |
Connects new SourceType source to UI. More... | |
void | Clear () |
Clears entire UI. More... | |
bool | Contains (SourceType item) |
Checks is the SourceType connected to UI. More... | |
void | CopyTo (SourceType[] array, int arrayIndex) |
Copies references of rented storages to the destination array. More... | |
IEnumerator< SourceType > | GetEnumerator () |
Enumerates sources connected with the UI. More... | |
int | IndexOf (SourceType item) |
Looking for GUI element with connected SourceType instance. More... | |
void | Insert (int index, SourceType item) |
Inserts GUI element connected to the source to the collection. More... | |
bool | Remove (SourceType item) |
Removes GUI element of collection with connected storage. More... | |
void | RemoveAt (int index) |
Removes GUI element from GUICollectionHubEventRelay.collection by index. More... | |
void | Set (ICollection< SourceType > content) |
Loads to UI bunch of SourceTypes. More... | |
void | Set (params SourceType[] content) |
Loads to UI bunch of SourceTypes. More... | |
Properties | |
AGUIElementsCollection | CollectionGUI [get] |
Attached collection GUI. | |
GUIElementType | ElementTemplatePrefab [get, set] |
Prefab of the GUI element that will be created for SourceType instance during binding to UI. | |
SourceType | this[int index] [get, set] |
Provides access to UI element as connected SourceType. More... | |
int | Count [get] |
Count of elements placed at the UI. More... | |
bool | IsReadOnly [get] |
Redirects to GUICollectionHubEventRelay.collection property. | |
|
inherited |
Connects new SourceType source to UI.
item | SourceType to connect. |
|
inherited |
Clears entire UI.
Not releases rented storages.
|
inherited |
|
inherited |
Copies references of rented storages to the destination array.
array | Destination array. |
arrayIndex | Start index to array insert. |
In case if GUICollectionHubEventRelay.collection contains elements not derived from GUIElementType such elements will be avoided.
|
inherited |
Enumerates sources connected with the UI.
|
inherited |
Looking for GUI element with connected SourceType instance.
item | Connected source to search. |
|
inherited |
Inserts GUI element connected to the source to the collection.
index | Indexed in collection as insert destination. |
item | Source item to GUI attach. |
|
inherited |
Removes GUI element of collection with connected storage.
item | Connected storage to detach from UI. |
|
inherited |
Removes GUI element from GUICollectionHubEventRelay.collection by index.
index | Index to remove. |
|
inherited |
Loads to UI bunch of SourceTypes.
content | Collection of rented storages. |
|
inherited |
Loads to UI bunch of SourceTypes.
content | Collection of rented storages. |
|
getinherited |
Count of elements placed at the UI.
Note that in case if you add a custom UIEngine2.AGUIElement to the GUICollectionHubEventRelay.collection directly then this element will be count as part of collection.
|
getsetinherited |
Provides access to UI element as connected SourceType.
index | Index of element in UI collection. |
null
in case if collection item is manually added UIEngine2.AGUIElement of another type. In case if UIEngine2.AGUIElement as collection item not derived from GUIElementType then during set operation it will be replaced with Insert(int, SourceType) implementation.