Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ItemContainer<T, E, T>

Type parameters

Hierarchy

Implements

Index

Constructors

constructor

  • new ItemContainer(fluid?: boolean | string, rowStyleClass?: string[]): ItemContainer

Methods

addChild

  • addChild(child: T): this

addClass

  • addClass(cls: string): this

addItem

  • addItem(item: T): void
  • Parameters

    • item: T

    Returns void

applyLayoutCellCss

  • applyLayoutCellCss(idx: number, css: object): this

buildInit

css

  • css(css: object): this
  • Parameters

    • css: object
      • [key: string]: any

    Returns this

getElem

  • getElem(): JQuery

getValue

  • getValue(): T[]
  • Returns T[]

getWrappedControl

  • getWrappedControl(): object | null

newItem

  • newItem(): void
  • Returns void

off

  • off(event: string, callback: function): this
  • Parameters

    • event: string
    • callback: function
        • (e?: JQueryEventObject): void
        • Parameters

          • Optional e: JQueryEventObject

          Returns void

    Returns this

on

  • on(event: string, callback: function): this
  • Parameters

    • event: string
    • callback: function
        • (e?: JQueryEventObject): void
        • Parameters

          • Optional e: JQueryEventObject

          Returns void

    Returns this

reload

  • reload(): void
  • Returns void

removeAllChildren

  • removeAllChildren(): this

removeChild

  • removeChild(child: T): this

removeClass

  • removeClass(cls: string): this

removeItemElem

  • removeItemElem(elem: E): void
  • Parameters

    • elem: E

    Returns void

setEnabled

  • setEnabled(enabled: boolean): void

setSpacing

  • setSpacing(spacing: number): this

setTitle

  • setTitle(title: string): this

setTooltip

  • setTooltip(value: string | boolean, placement?: undefined | string, trigger?: undefined | string): void
  • Parameters

    • value: string | boolean
    • Optional placement: undefined | string
    • Optional trigger: undefined | string

    Returns void

setValue

  • setValue(items: T[]): void
  • Parameters

    • items: T[]

    Returns void

setVisible

  • setVisible(visible: boolean): this

trigger

  • trigger(event: string, extraParameters?: any): this
  • Parameters

    • event: string
    • Optional extraParameters: any

    Returns this

Static wrapControl