Doloro GDK 22 .1.0 Beta
by Tauri Interactive
Doloro.UIEngine2.Modules.VirtualHub.Extensions.ElementsCollection.GUICollectionHubEventRelay Class Reference

Detailed Description

Extends base UIHubEventRelay with logic related to the AGUIElementsCollection component.

Inheritance diagram for Doloro.UIEngine2.Modules.VirtualHub.Extensions.ElementsCollection.GUICollectionHubEventRelay:
Collaboration diagram for Doloro.UIEngine2.Modules.VirtualHub.Extensions.ElementsCollection.GUICollectionHubEventRelay:

Protected Member Functions

virtual void OnSelected (AGUIElement selectedElement)
 Shares content selection event to the hub. More...
 
override void Start ()
 Registers selected events. More...
 
override void Reload ()
 Reloads current settings with re-applying. More...
 
virtual void OnHoverEnd (AGUIElement obj)
 
virtual void OnHover (AGUIElement obj)
 
virtual void OnHoverBegin (AGUIElement obj)
 
virtual void OnPointerDown (AGUIElement obj)
 
virtual void OnPointerUp (AGUIElement obj)
 
virtual void OnContextMenu (AGUIElement obj)
 
virtual void OnSizeChanged (AGUIElement obj)
 
virtual void OnMoved (AGUIElement obj)
 
void ShareEvent (string eventCode, params object[] args)
 Sends a simple event to the hub More...
 
virtual void Awake ()
 
virtual void OnHubPreChange ()
 Occurs before hub property changed with new value. More...
 
virtual void OnHubPostChange ()
 Occurs after hub property had been changed. More...
 

Properties

AGUIElementsCollection collection [get]
 Connected collection AGUIElement.
 
bool onSelected [get, set]
 Enables\Disables AGUIElementsCollection.ItemSelected event to share.
 
bool onHover [get, set]
 Enables\Disables AGUIElement.HoverStarted, AGUIElement.Hovered and AGUIElement.HoverEnded events to share.
 
bool onPointer [get, set]
 Enables\Disables AGUIElement.PointerDown and AGUIElement.PointerUp events to share.
 
bool onContextMenu [get, set]
 Enables\Disables AGUIElement.ContextMenuCalled event to share.
 
bool onDrag [get, set]
 Enables\Disables AGUIElement.DragStarted, AGUIElement.Draged and AGUIElement.DragEnded events to share.
 
bool onSizeChanged [get, set]
 Enables\Disables AGUIElement.SizeChanged event to share.
 
bool onMoved [get, set]
 Enables\Disables AGUIElement.Moved event to share.
 
AGUIElement element [get]
 Element connected to the agent.
 
virtual VirtualUIHub hub [get, set]
 Reference to parental hub.
 

Member Function Documentation

◆ OnHubPostChange()

virtual void Doloro.UIEngine2.Modules.VirtualHub.AHubAgent.OnHubPostChange ( )
protectedvirtualinherited

Occurs after hub property had been changed.

hub value could be null.

◆ OnHubPreChange()

virtual void Doloro.UIEngine2.Modules.VirtualHub.AHubAgent.OnHubPreChange ( )
protectedvirtualinherited

Occurs before hub property changed with new value.

hub value could be null.

Reimplemented in Doloro.UIEngine2.Modules.VirtualHub.UIHubListener.

◆ OnSelected()

virtual void Doloro.UIEngine2.Modules.VirtualHub.Extensions.ElementsCollection.GUICollectionHubEventRelay.OnSelected ( AGUIElement  selectedElement)
protectedvirtual

Shares content selection event to the hub.

Parameters
selectedElementSelected content.

Shares selected AGUIElement as first argument.

Reimplemented in Doloro.InvetorySystem.UI.VirtualHub.ItemSelectionEventRelay, and Doloro.InvetorySystem.UI.VirtualHub.StorageSelectionEventRelay.

◆ Reload()

override void Doloro.UIEngine2.Modules.VirtualHub.Extensions.ElementsCollection.GUICollectionHubEventRelay.Reload ( )
protectedvirtual

Reloads current settings with re-applying.

Reimplemented from Doloro.UIEngine2.Modules.VirtualHub.UIHubEventRelay.

◆ ShareEvent()

void Doloro.UIEngine2.Modules.VirtualHub.UIHubEventRelay.ShareEvent ( string  eventCode,
params object[]  args 
)
protectedinherited

Sends a simple event to the hub

Parameters
eventCodeCode of the event to share.
argsData to share.

◆ Start()

override void Doloro.UIEngine2.Modules.VirtualHub.Extensions.ElementsCollection.GUICollectionHubEventRelay.Start ( )
protectedvirtual

Registers selected events.

Reimplemented from Doloro.UIEngine2.Modules.VirtualHub.UIHubEventRelay.


The documentation for this class was generated from the following file: