Class UiConfigRendererAbstract

Hierarchy (View Summary)

Constructors

Properties

_autoFrameEvents: boolean
_refreshQueue: Record<
    TUiRefreshModes,
    [UiObjectConfig, number, undefined | string][],
> = ...
config: UiObjectConfig<"panel"> = ...

Accessors

  • get undoManager(): undefined | JSUndoManager
  • Returns undefined | JSUndoManager

  • set undoManager(value: undefined | JSUndoManager): void
  • Parameters

    • value: undefined | JSUndoManager

    Returns void

Methods

  • Adds a listener to an event type.

    Parameters

    • type: "preRender" | "postRender" | "preFrame" | "postFrame"

      The type of event to listen to.

    • listener: (event: IEvent<"preRender" | "postRender" | "preFrame" | "postFrame">) => void

      The function that gets called when the event is fired.

    Returns void

  • Fire an event type.

    Parameters

    • event: IEvent<"preRender" | "postRender" | "preFrame" | "postFrame">
      • type

        The type of event that gets fired.

    Returns void

  • Checks if listener is added to an event type.

    Parameters

    • type: "preRender" | "postRender" | "preFrame" | "postFrame"

      The type of event to listen to.

    • listener: (event: IEvent<"preRender" | "postRender" | "preFrame" | "postFrame">) => void

      The function that gets called when the event is fired.

    Returns boolean

  • Removes a listener from an event type.

    Parameters

    • type: "preRender" | "postRender" | "preFrame" | "postFrame"

      The type of the listener that gets removed.

    • listener: (event: IEvent<"preRender" | "postRender" | "preFrame" | "postFrame">) => void

      The listener function that gets removed.

    Returns void