Doloro GDK 22 .1.0 Beta
by Tauri Interactive
Doloro.UIEngine2.Modules.VirtualHub.UIHubEventRelay Class Reference

Detailed Description

Component that listens events from attached AGUIElement and re-translates them to parental or manually defined VirtualUIHub.

Works thought virtual hierarchy chains provided with the Doloro UI Engine II by default.

Inheritance diagram for Doloro.UIEngine2.Modules.VirtualHub.UIHubEventRelay:
Collaboration diagram for Doloro.UIEngine2.Modules.VirtualHub.UIHubEventRelay:

Protected Member Functions

virtual void Start ()
 Registers selected events. 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)
 
virtual void Reload ()
 Reloads current settings with re-applying. More...
 
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

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.

◆ Reload()

virtual void Doloro.UIEngine2.Modules.VirtualHub.UIHubEventRelay.Reload ( )
protectedvirtual

Reloads current settings with re-applying.

Reimplemented in Doloro.UIEngine2.Modules.VirtualHub.Extensions.ElementsCollection.GUICollectionHubEventRelay.

◆ ShareEvent()

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

Sends a simple event to the hub

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

◆ Start()

virtual void Doloro.UIEngine2.Modules.VirtualHub.UIHubEventRelay.Start ( )
protectedvirtual

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