Перейти к основному содержанию

ItemContainerUiHandler

Hierarchy

Index

Methods

addElementInstance

  • addElementInstance(element: IElement, name: string): void
  • Parameters

    Returns void

applyAllBindingsFromMap

  • applyAllBindingsFromMap(): void
  • Returns void

close

  • close(): void
  • Returns void

getBinding

  • getBinding<T>(element: string, bindingName: string): IElement | T | Rect
  • Type parameters

    • T = any

    Parameters

    • element: string
    • bindingName: string

    Returns IElement | T | Rect

getElement

  • getElement(elementName: string): IElement
  • Parameters

    • elementName: string

    Returns IElement

getParent

getSlotVisualImpl

  • Parameters

    • slotName: string

    Returns UiVisualSlotImpl

getWindow

handleBindingDirty

  • handleBindingDirty(elementName: string, bindingName: string): void
  • Parameters

    • elementName: string
    • bindingName: string

    Returns void

handleInventoryToSlotTransaction

  • handleInventoryToSlotTransaction(inventorySlot: number, slot: string, amount: number): void
  • Parameters

    • inventorySlot: number
    • slot: string
    • amount: number

    Returns void

handleSlotToInventoryTransaction

  • handleSlotToInventoryTransaction(slot: string, amount: number): void
  • Parameters

    • slot: string
    • amount: number

    Returns void

handleSlotToSlotTransaction

  • handleSlotToSlotTransaction(slot1: string, slot2: string, amount: number): void
  • Parameters

    • slot1: string
    • slot2: string
    • amount: number

    Returns void

onWindowClosed

  • onWindowClosed(): void
  • Returns void

openAs

  • Parameters

    Returns void

receiveBindingsFromServer

  • receiveBindingsFromServer(bindings: JSONObject): void
  • Parameters

    • bindings: JSONObject

    Returns void

setBinding

  • setBinding<T>(element: string, bindingName: string, obj: T): void
  • Type parameters

    • T

    Parameters

    • element: string
    • bindingName: string
    • obj: T

    Returns void

setBindingByComposedName