Class Listener | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class Listener

    Inheritance
    System.Object
    Diagnosticable
    DiagnosticableTree
    CanonicalMixinDiagnosticableTree
    Widget
    RenderObjectWidget
    SingleChildRenderObjectWidget
    Listener
    Inherited Members
    SingleChildRenderObjectWidget.child
    SingleChildRenderObjectWidget.createElement()
    RenderObjectWidget.didUnmountRenderObject(RenderObject)
    Widget.key
    Widget.toStringShort()
    Widget.canUpdate(Widget, Widget)
    CanonicalMixinDiagnosticableTree.pureWidget
    CanonicalMixinDiagnosticableTree.Equals(Object)
    CanonicalMixinDiagnosticableTree.GetHashCode()
    DiagnosticableTree.toStringShallow(String, DiagnosticLevel)
    DiagnosticableTree.toStringDeep(String, String, DiagnosticLevel)
    DiagnosticableTree.toDiagnosticsNode(String, DiagnosticsTreeStyle)
    DiagnosticableTree.debugDescribeChildren()
    Diagnosticable.ToString()
    Diagnosticable.toString(DiagnosticLevel)
    Namespace: Unity.UIWidgets.widgets
    Syntax
    public class Listener : SingleChildRenderObjectWidget

    Constructors

    Listener(Key, PointerDownEventListener, PointerMoveEventListener, PointerEnterEventListener, PointerExitEventListener, PointerHoverEventListener, PointerUpEventListener, PointerCancelEventListener, PointerScrollEventListener, HitTestBehavior, Widget)

    Declaration
    public Listener(Key key = null, PointerDownEventListener onPointerDown = null, PointerMoveEventListener onPointerMove = null, PointerEnterEventListener onPointerEnter = null, PointerExitEventListener onPointerExit = null, PointerHoverEventListener onPointerHover = null, PointerUpEventListener onPointerUp = null, PointerCancelEventListener onPointerCancel = null, PointerScrollEventListener onPointerScroll = null, HitTestBehavior behavior = HitTestBehavior.deferToChild, Widget child = null)
    Parameters
    Type Name Description
    Key key
    PointerDownEventListener onPointerDown
    PointerMoveEventListener onPointerMove
    PointerEnterEventListener onPointerEnter
    PointerExitEventListener onPointerExit
    PointerHoverEventListener onPointerHover
    PointerUpEventListener onPointerUp
    PointerCancelEventListener onPointerCancel
    PointerScrollEventListener onPointerScroll
    HitTestBehavior behavior
    Widget child

    Fields

    behavior

    Declaration
    public readonly HitTestBehavior behavior
    Field Value
    Type Description
    HitTestBehavior

    onPointerCancel

    Declaration
    public readonly PointerCancelEventListener onPointerCancel
    Field Value
    Type Description
    PointerCancelEventListener

    onPointerDown

    Declaration
    public readonly PointerDownEventListener onPointerDown
    Field Value
    Type Description
    PointerDownEventListener

    onPointerEnter

    Declaration
    public readonly PointerEnterEventListener onPointerEnter
    Field Value
    Type Description
    PointerEnterEventListener

    onPointerExit

    Declaration
    public readonly PointerExitEventListener onPointerExit
    Field Value
    Type Description
    PointerExitEventListener

    onPointerHover

    Declaration
    public readonly PointerHoverEventListener onPointerHover
    Field Value
    Type Description
    PointerHoverEventListener

    onPointerMove

    Declaration
    public readonly PointerMoveEventListener onPointerMove
    Field Value
    Type Description
    PointerMoveEventListener

    onPointerScroll

    Declaration
    public readonly PointerScrollEventListener onPointerScroll
    Field Value
    Type Description
    PointerScrollEventListener

    onPointerUp

    Declaration
    public readonly PointerUpEventListener onPointerUp
    Field Value
    Type Description
    PointerUpEventListener

    Methods

    createRenderObject(BuildContext)

    Declaration
    public override RenderObject createRenderObject(BuildContext context)
    Parameters
    Type Name Description
    BuildContext context
    Returns
    Type Description
    RenderObject
    Overrides
    RenderObjectWidget.createRenderObject(BuildContext)

    debugFillProperties(DiagnosticPropertiesBuilder)

    Declaration
    public override void debugFillProperties(DiagnosticPropertiesBuilder properties)
    Parameters
    Type Name Description
    DiagnosticPropertiesBuilder properties
    Overrides
    Widget.debugFillProperties(DiagnosticPropertiesBuilder)

    updateRenderObject(BuildContext, RenderObject)

    Declaration
    public override void updateRenderObject(BuildContext context, RenderObject renderObjectRaw)
    Parameters
    Type Name Description
    BuildContext context
    RenderObject renderObjectRaw
    Overrides
    RenderObjectWidget.updateRenderObject(BuildContext, RenderObject)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023