Options
All
  • Public
  • Public/Protected
  • All
Menu

Class HorizontalLayout<T>

Type parameters

Hierarchy

Implements

Index

Constructors

constructor

Properties

columnWeights

columnWeights: object

Type declaration

  • [key: string]: number

columnWeightsSmall

columnWeightsSmall: object

Type declaration

  • [key: string]: number

Methods

addChild

  • addChild(child: T): this

addClass

  • addClass(cls: string): this

applyLayoutCellCss

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

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

    Returns this

buildInit

css

  • css(css: object): this
  • Parameters

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

    Returns this

getElem

  • getElem(): JQuery

getWrappedControl

  • getWrappedControl(): object | null

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

removeAllChildren

  • removeAllChildren(): this

removeChild

  • removeChild(child: T): this

removeClass

  • removeClass(cls: string): this

setColWeight

  • setColWeight(idx: number, weight: number, size?: undefined | number): this
  • Parameters

    • idx: number
    • weight: number
    • Optional size: undefined | number

    Returns this

setEnabled

  • setEnabled(enabled: boolean): void

setNoPadding

  • setNoPadding(noPadding: boolean): void
  • Parameters

    • noPadding: boolean

    Returns void

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

setVisible

  • setVisible(visible: boolean): this

trigger

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

    • event: string
    • Optional extraParameters: any

    Returns this

Static wrapControl