Doloro GDK 22 .1.0 Beta
by Tauri Interactive
|
Agent that receives events forwarded with the VirtualUIHub.
Public Member Functions | |
bool | SetOnHoverBegin (VirtualUIHub.SharedEvent handler) |
Subscribes handler on AGUIElement.HoverStarted events shared with hub. More... | |
bool | ReleaseOnHoverBegin (VirtualUIHub.SharedEvent handler) |
Releases handler from AGUIElement.HoverStarted events shared with hub. More... | |
bool | SetOnHover (VirtualUIHub.SharedEvent handler) |
Subscribes handler on AGUIElement.Hovered events shared with hub. More... | |
bool | ReleaseOnHover (VirtualUIHub.SharedEvent handler) |
Releases handler from AGUIElement.Hovered events shared with hub. More... | |
bool | SetOnHoverEnd (VirtualUIHub.SharedEvent handler) |
Subscribes handler on AGUIElement.HoverEnded events shared with hub. More... | |
bool | ReleaseOnHoverEnd (VirtualUIHub.SharedEvent handler) |
Releases handler from AGUIElement.HoverEnded events shared with hub. More... | |
bool | SetOnPointerUp (VirtualUIHub.SharedEvent handler) |
Subscribes handler on AGUIElement.PointerUp events shared with hub. More... | |
bool | ReleaseOnPointerUp (VirtualUIHub.SharedEvent handler) |
Releases handler from AGUIElement.PointerUp events shared with hub. More... | |
bool | SetOnPointerDown (VirtualUIHub.SharedEvent handler) |
Subscribes handler on AGUIElement.PointerDown events shared with hub. More... | |
bool | ReleaseOnPointerDown (VirtualUIHub.SharedEvent handler) |
Releases handler from AGUIElement.PointerDown events shared with hub. More... | |
bool | SetOnContextMenu (VirtualUIHub.SharedEvent handler) |
Subscribes handler on AGUIElement.ContextMenuCalled events shared with hub. More... | |
bool | ReleaseOnContextMenu (VirtualUIHub.SharedEvent handler) |
Releases handler from AGUIElement.ContextMenuCalled events shared with hub. More... | |
bool | SetOnDragBegin (VirtualUIHub.SharedEvent handler) |
Subscribes handler on AGUIElement.DragStarted events shared with hub. More... | |
bool | ReleaseOnDragBegin (VirtualUIHub.SharedEvent handler) |
Releases handler from AGUIElement.DragStarted events shared with hub. More... | |
bool | SetOnDrag (VirtualUIHub.SharedEvent handler) |
Subscribes handler on AGUIElement.Draged events shared with hub. More... | |
bool | ReleaseOnDrag (VirtualUIHub.SharedEvent handler) |
Releases handler from AGUIElement.Draged events shared with hub. More... | |
bool | SetOnDragEnd (VirtualUIHub.SharedEvent handler) |
Subscribes handler on AGUIElement.DragEnded events shared with hub. More... | |
bool | ReleaseOnDragEnd (VirtualUIHub.SharedEvent handler) |
Releases handler from AGUIElement.DragEnded events shared with hub. More... | |
bool | SetOnSizeChanged (VirtualUIHub.SharedEvent handler) |
Subscribes handler on AGUIElement.SizeChanged events shared with hub. More... | |
bool | ReleaseOnSizeChanged (VirtualUIHub.SharedEvent handler) |
Releases handler from AGUIElement.SizeChanged events shared with hub. More... | |
bool | SetOnMoved (VirtualUIHub.SharedEvent handler) |
Subscribes handler on AGUIElement.Moved events shared with hub. More... | |
bool | ReleaseOnMoved (VirtualUIHub.SharedEvent handler) |
Releases handler from AGUIElement.Moved events shared with hub. More... | |
bool | SetEventHandler (string eventCode, VirtualUIHub.SharedEvent handler) |
Setts a handler to hub's sharing event. More... | |
bool | ReleaseEventHanler (string eventCode, VirtualUIHub.SharedEvent handler) |
Releases a handler from hub's sharing event. More... | |
void | ReleaseAllEventHandlers () |
Releasing all subscribed handlers from current hub. | |
Protected Member Functions | |
override void | OnHubPreChange () |
Drops event handlers related to changed AHubAgent.hub with the ReleaseAllEventHandlers in case if requested by settings. More... | |
virtual void | OnDestroy () |
Drops event handlers related to changed AHubAgent.hub with the ReleaseAllEventHandlers in case if requested by settings. | |
virtual void | Awake () |
virtual void | OnHubPostChange () |
Occurs after hub property had been changed. More... | |
Properties | |
bool | DropHandlerWithHub = true [get, set] |
If true then will drops all subscriptions on events related to the AHubAgent.hub as soon as its value changed. More... | |
bool | ReleaseIfDestroyed = true [get, set] |
If true then will drops all subscriptions on events related to the AHubAgent.hub as soon as component has been destroyed. More... | |
AGUIElement | element [get] |
Element connected to the agent. | |
virtual VirtualUIHub | hub [get, set] |
Reference to parental hub. | |
|
protectedvirtualinherited |
|
protectedvirtual |
Drops event handlers related to changed AHubAgent.hub with the ReleaseAllEventHandlers in case if requested by settings.
Reimplemented from Doloro.UIEngine2.Modules.VirtualHub.AHubAgent.
bool Doloro.UIEngine2.Modules.VirtualHub.UIHubListener.ReleaseEventHanler | ( | string | eventCode, |
VirtualUIHub.SharedEvent | handler | ||
) |
Releases a handler from hub's sharing event.
eventCode | Code of event sharing by hub to handle. Case insensitive. |
handler | Event handler that should be released from pool. |
bool Doloro.UIEngine2.Modules.VirtualHub.UIHubListener.ReleaseOnContextMenu | ( | VirtualUIHub.SharedEvent | handler | ) |
Releases handler from AGUIElement.ContextMenuCalled events shared with hub.
handler | Handler to release. |
bool Doloro.UIEngine2.Modules.VirtualHub.UIHubListener.ReleaseOnDrag | ( | VirtualUIHub.SharedEvent | handler | ) |
Releases handler from AGUIElement.Draged events shared with hub.
handler | Handler to release. |
bool Doloro.UIEngine2.Modules.VirtualHub.UIHubListener.ReleaseOnDragBegin | ( | VirtualUIHub.SharedEvent | handler | ) |
Releases handler from AGUIElement.DragStarted events shared with hub.
handler | Handler to release. |
bool Doloro.UIEngine2.Modules.VirtualHub.UIHubListener.ReleaseOnDragEnd | ( | VirtualUIHub.SharedEvent | handler | ) |
Releases handler from AGUIElement.DragEnded events shared with hub.
handler | Handler to release. |
bool Doloro.UIEngine2.Modules.VirtualHub.UIHubListener.ReleaseOnHover | ( | VirtualUIHub.SharedEvent | handler | ) |
Releases handler from AGUIElement.Hovered events shared with hub.
handler | Handler to release. |
bool Doloro.UIEngine2.Modules.VirtualHub.UIHubListener.ReleaseOnHoverBegin | ( | VirtualUIHub.SharedEvent | handler | ) |
Releases handler from AGUIElement.HoverStarted events shared with hub.
handler | Handler to release. |
bool Doloro.UIEngine2.Modules.VirtualHub.UIHubListener.ReleaseOnHoverEnd | ( | VirtualUIHub.SharedEvent | handler | ) |
Releases handler from AGUIElement.HoverEnded events shared with hub.
handler | Handler to release. |
bool Doloro.UIEngine2.Modules.VirtualHub.UIHubListener.ReleaseOnMoved | ( | VirtualUIHub.SharedEvent | handler | ) |
Releases handler from AGUIElement.Moved events shared with hub.
handler | Handler to release. |
bool Doloro.UIEngine2.Modules.VirtualHub.UIHubListener.ReleaseOnPointerDown | ( | VirtualUIHub.SharedEvent | handler | ) |
Releases handler from AGUIElement.PointerDown events shared with hub.
handler | Handler to release. |
bool Doloro.UIEngine2.Modules.VirtualHub.UIHubListener.ReleaseOnPointerUp | ( | VirtualUIHub.SharedEvent | handler | ) |
Releases handler from AGUIElement.PointerUp events shared with hub.
handler | Handler to release. |
bool Doloro.UIEngine2.Modules.VirtualHub.UIHubListener.ReleaseOnSizeChanged | ( | VirtualUIHub.SharedEvent | handler | ) |
Releases handler from AGUIElement.SizeChanged events shared with hub.
handler | Handler to release. |
bool Doloro.UIEngine2.Modules.VirtualHub.UIHubListener.SetEventHandler | ( | string | eventCode, |
VirtualUIHub.SharedEvent | handler | ||
) |
Setts a handler to hub's sharing event.
eventCode | Code of event sharing by hub to handle. Case insensitive. |
handler | Event handler that will be called by hub. |
bool Doloro.UIEngine2.Modules.VirtualHub.UIHubListener.SetOnContextMenu | ( | VirtualUIHub.SharedEvent | handler | ) |
Subscribes handler on AGUIElement.ContextMenuCalled events shared with hub.
handler | Handler to call. |
bool Doloro.UIEngine2.Modules.VirtualHub.UIHubListener.SetOnDrag | ( | VirtualUIHub.SharedEvent | handler | ) |
Subscribes handler on AGUIElement.Draged events shared with hub.
handler | Handler to call. |
bool Doloro.UIEngine2.Modules.VirtualHub.UIHubListener.SetOnDragBegin | ( | VirtualUIHub.SharedEvent | handler | ) |
Subscribes handler on AGUIElement.DragStarted events shared with hub.
handler | Handler to call. |
bool Doloro.UIEngine2.Modules.VirtualHub.UIHubListener.SetOnDragEnd | ( | VirtualUIHub.SharedEvent | handler | ) |
Subscribes handler on AGUIElement.DragEnded events shared with hub.
handler | Handler to call. |
bool Doloro.UIEngine2.Modules.VirtualHub.UIHubListener.SetOnHover | ( | VirtualUIHub.SharedEvent | handler | ) |
Subscribes handler on AGUIElement.Hovered events shared with hub.
handler | Handler to call. |
bool Doloro.UIEngine2.Modules.VirtualHub.UIHubListener.SetOnHoverBegin | ( | VirtualUIHub.SharedEvent | handler | ) |
Subscribes handler on AGUIElement.HoverStarted events shared with hub.
handler | Handler to call. |
bool Doloro.UIEngine2.Modules.VirtualHub.UIHubListener.SetOnHoverEnd | ( | VirtualUIHub.SharedEvent | handler | ) |
Subscribes handler on AGUIElement.HoverEnded events shared with hub.
handler | Handler to call. |
bool Doloro.UIEngine2.Modules.VirtualHub.UIHubListener.SetOnMoved | ( | VirtualUIHub.SharedEvent | handler | ) |
Subscribes handler on AGUIElement.Moved events shared with hub.
handler | Handler to call. |
bool Doloro.UIEngine2.Modules.VirtualHub.UIHubListener.SetOnPointerDown | ( | VirtualUIHub.SharedEvent | handler | ) |
Subscribes handler on AGUIElement.PointerDown events shared with hub.
handler | Handler to call. |
bool Doloro.UIEngine2.Modules.VirtualHub.UIHubListener.SetOnPointerUp | ( | VirtualUIHub.SharedEvent | handler | ) |
Subscribes handler on AGUIElement.PointerUp events shared with hub.
handler | Handler to call. |
bool Doloro.UIEngine2.Modules.VirtualHub.UIHubListener.SetOnSizeChanged | ( | VirtualUIHub.SharedEvent | handler | ) |
Subscribes handler on AGUIElement.SizeChanged events shared with hub.
handler | Handler to call. |
|
getset |
If true
then will drops all subscriptions on events related to the AHubAgent.hub as soon as its value changed.
true
by default.
|
getset |
If true
then will drops all subscriptions on events related to the AHubAgent.hub as soon as component has been destroyed.
true
by default.