Options
All
  • Public
  • Public/Protected
  • All
Menu

Class IMDBTable

The IMDBTable base class provides common implementations of:

  • Default styling.

Hierarchy

Index

Constructors

constructor

Properties

Protected _boundingBox

_boundingBox: any

_class

_class: string

_colsRefresh

_colsRefresh: boolean

Protected _columns

_columns: any[]

_dataRefresh

_dataRefresh: boolean

Protected _db

_db: Grid

Protected _dgrid

_dgrid: any

Protected _dgridDiv

_dgridDiv: any

Protected _display

_display: any

Protected _drawStartPos

_drawStartPos: "origin" | "center"

Protected _element

_element: any

Protected _id

_id: string

_idSeed

_idSeed: string

Protected _isRootNode

_isRootNode: boolean

Protected _overlayElement

_overlayElement: any

Protected _parentWidget

_parentWidget: any

Protected _placeholderElement

_placeholderElement: any

Protected _pos

_pos: any

_prevHash

_prevHash: any

Protected _prevPaging

_prevPaging: any

Protected _prevPos

_prevPos: any

Protected _renderCount

_renderCount: any

Protected _size

_size: any

Protected _store

_store: DBStore

Protected _tag

_tag: string

Protected _target

_target: null | HTMLElement | SVGElement

Protected _visible

_visible: any

Protected _widgetScale

_widgetScale: any

classed

classed: function

Type declaration

    • (_?: any): any | this
    • Parameters

      • Optional _: any

      Returns any | this

lazyRender

lazyRender: function

Type declaration

    • (..._dummyArgs: any[]): void
    • Parameters

      • Rest ..._dummyArgs: any[]

      Returns void

loadingMessage

loadingMessage: publish<this, string>

noDataMessage

noDataMessage: publish<this, string>

pagination

pagination: publish<this, boolean>

sortable

sortable: publish<this, boolean>

Static prevClassID

prevClassID: string

Methods

animationFrameRender

  • animationFrameRender(): this
  • Returns this

appData

  • appData(key: string): any
  • appData(key: string, value: any): this
  • Parameters

    • key: string

    Returns any

  • Parameters

    • key: string
    • value: any

    Returns this

applyTheme

  • applyTheme(theme: any): void
  • Parameters

    • theme: any

    Returns void

broadcast

  • broadcast(key: any, newVal: any, oldVal: any, source?: any): void
  • Parameters

    • key: any
    • newVal: any
    • oldVal: any
    • Optional source: any

    Returns void

calcFrameHeight

  • calcFrameHeight(element: any): number
  • Parameters

    • element: any

    Returns number

calcFrameWidth

  • calcFrameWidth(element: any): number
  • Parameters

    • element: any

    Returns number

calcHeight

  • calcHeight(element: any): number
  • Parameters

    • element: any

    Returns number

calcPublishedProperties

  • calcPublishedProperties(includePrivate?: boolean, expandProxies?: boolean): void
  • Parameters

    • Optional includePrivate: boolean
    • Optional expandProxies: boolean

    Returns void

calcSnap

  • calcSnap(snapSize: any): (object | object)[]
  • Parameters

    • snapSize: any

    Returns (object | object)[]

calcWidth

  • calcWidth(element: any): number
  • Parameters

    • element: any

    Returns number

class

  • class(): string
  • class(_: string): this
  • Returns string

  • Parameters

    • _: string

    Returns this

classID

  • classID(): string
  • Returns string

classMeta

  • classMeta(): ClassMeta
  • Returns ClassMeta

click

  • click(row: any, col: any, sel: any): void
  • Parameters

    • row: any
    • col: any
    • sel: any

    Returns void

clientHeight

  • clientHeight(): number
  • Returns number

clientWidth

  • clientWidth(): number
  • Returns number

cloneData

  • cloneData(): any
  • Returns any

columnFormats

  • columnFormats(): ColumnFormat[]
  • columnFormats(_: ColumnFormat[]): this
  • Returns ColumnFormat[]

  • Parameters

    • _: ColumnFormat[]

    Returns this

columnWidth

  • columnWidth(): "auto" | "none"
  • columnWidth(_: "auto" | "none"): this
  • Returns "auto" | "none"

  • Parameters

    • _: "auto" | "none"

    Returns this

columns

  • columns(_?: any): any | this
  • Parameters

    • Optional _: any

    Returns any | this

copyPropsTo

  • copyPropsTo(other: PropertyExt, ignore?: string[]): this
  • Parameters

    • other: PropertyExt
    • Optional ignore: string[]

    Returns this

cssTag

  • cssTag(id: string): string
  • Parameters

    • id: string

    Returns string

data

  • data(_?: any): any | this
  • Parameters

    • Optional _: any

    Returns any | this

deserialize

  • deserialize(props: any): this
  • Parameters

    • props: any

    Returns this

display

  • display(): boolean
  • display(_: any): this
  • Returns boolean

  • Parameters

    • _: any

    Returns this

element

  • element(): any
  • Returns any

enter

  • enter(domNode: any, element: any): void
  • Parameters

    • domNode: any
    • element: any

    Returns void

exit

  • exit(domNode?: any, element?: any): void
  • Parameters

    • Optional domNode: any
    • Optional element: any

    Returns void

export

  • export(_?: "JSON" | "CSV" | "TSV"): string | Grid
  • Parameters

    • Optional _: "JSON" | "CSV" | "TSV"

    Returns string | Grid

fields

  • fields(_?: any): any | this
  • Parameters

    • Optional _: any

    Returns any | this

flattenData

  • flattenData(columns?: string[], data?: any): any[]
  • Parameters

    • Optional columns: string[]
    • Optional data: any

    Returns any[]

formattedData

  • formattedData(): any[][]
  • Returns any[][]

formatterFunc

  • formatterFunc(): CellFormatter | undefined
  • Returns CellFormatter | undefined

getAbsolutePos

  • getAbsolutePos(domNode: any, w: any, h: any): any
  • Parameters

    • domNode: any
    • w: any
    • h: any

    Returns any

getBBox

  • getBBox(refresh?: boolean, round?: boolean): object
  • Parameters

    • Optional refresh: boolean
    • Optional round: boolean

    Returns object

    • height: number
    • width: number
    • x: number
    • y: number

guessWidth

  • guessWidth(columns: any, data: any): void
  • Parameters

    • columns: any
    • data: any

    Returns void

hasHScroll

  • hasHScroll(element: any): boolean
  • Parameters

    • element: any

    Returns boolean

hasOverlay

  • hasOverlay(): any
  • Returns any

hasVScroll

  • hasVScroll(element: any): boolean
  • Parameters

    • element: any

    Returns boolean

hashSum

  • hashSum(ignore?: string[], more?: __type): string
  • Parameters

    • Optional ignore: string[]
    • Optional more: __type

    Returns string

height

  • height(): number
  • height(_: any): this
  • Returns number

  • Parameters

    • _: any

    Returns this

id

  • id(): string
  • id(_: string): this
  • Returns string

  • Parameters

    • _: string

    Returns this

implements

  • implements(source: any): void
  • Parameters

    • source: any

    Returns void

importJSON

  • importJSON(_: string | any): this
  • Parameters

    • _: string | any

    Returns this

isDOMHidden

  • isDOMHidden(): boolean
  • Returns boolean

leakCheck

  • leakCheck(newNode: any): void
  • Parameters

    • newNode: any

    Returns void

locateAncestor

  • locateAncestor(classID: any): Widget | null
  • Parameters

    • classID: any

    Returns Widget | null

locateOverlayNode

  • locateOverlayNode(): d3SelectionType | null
  • Returns d3SelectionType | null

locateParentWidget

  • locateParentWidget(domNode?: any): Widget | null
  • Parameters

    • Optional domNode: any

    Returns Widget | null

locateSVGNode

  • locateSVGNode(domNode: any): SVGSVGElement | null
  • Parameters

    • domNode: any

    Returns SVGSVGElement | null

mixin

  • mixin(mixinClass: any): void
  • Parameters

    • mixinClass: any

    Returns void

monitor

  • monitor(func: function): object
  • Parameters

    • func: function
        • (id: string, newVal: any, oldVal: any, source: PropertyExt): void
        • Parameters

          • id: string
          • newVal: any
          • oldVal: any
          • source: PropertyExt

          Returns void

    Returns object

    • remove: function
        • (): void
        • Returns void

monitorProperty

  • monitorProperty(propID: string, func: function): IMonitorHandle
  • Parameters

    • propID: string
    • func: function
        • (id: string, newVal: any, oldVal: any): void
        • Parameters

          • id: string
          • newVal: any
          • oldVal: any

          Returns void

    Returns IMonitorHandle

node

  • node(): any
  • Returns any

on

  • on(eventID: any, func: any, stopPropagation?: boolean): this
  • Parameters

    • eventID: any
    • func: any
    • Optional stopPropagation: boolean

    Returns this

overrideMethod

  • overrideMethod(methodID: string, newMethod: function): this
  • Parameters

    • methodID: string
    • newMethod: function
        • (...args: any[]): any
        • Parameters

          • Rest ...args: any[]

          Returns any

    Returns this

parentOverlay

  • parentOverlay(): d3SelectionType | null
  • Returns d3SelectionType | null

parsedData

  • parsedData(): any[]
  • Returns any[]

pos

  • pos(): IPos
  • pos(_: IPos): this
  • Returns IPos

  • Parameters

    • _: IPos

    Returns this

postUpdate

  • postUpdate(domNode: any, element: any): void
  • Parameters

    • domNode: any
    • element: any

    Returns void

preUpdate

  • preUpdate(_domNode: HTMLElement, _element: d3SelectionType): void
  • Parameters

    • _domNode: HTMLElement
    • _element: d3SelectionType

    Returns void

propertyWalker

  • propertyWalker(visitor: function, filter?: function): void
  • Parameters

    • visitor: function
        • (context: this, publishItem: Meta): void
        • Parameters

          • context: this
          • publishItem: Meta

          Returns void

    • Optional filter: function
        • (context: this, publishItem: Meta): boolean
        • Parameters

          • context: this
          • publishItem: Meta

          Returns boolean

    Returns void

publish

  • publish(id: string, defaultValue: any, type?: PublishTypes, description?: string, set?: string[] | function | IPublishExt, ext?: IPublishExt): void
  • Parameters

    • id: string
    • defaultValue: any
    • Optional type: PublishTypes
    • Optional description: string
    • Optional set: string[] | function | IPublishExt
    • Optional ext: IPublishExt

    Returns void

publishProxy

  • publishProxy(id: string, proxy: any, method?: any, defaultValue?: any): void
  • Parameters

    • id: string
    • proxy: any
    • Optional method: any
    • Optional defaultValue: any

    Returns void

publishReset

  • publishReset(privateArr?: any, exceptionsArr?: any): void
  • Parameters

    • Optional privateArr: any
    • Optional exceptionsArr: any

    Returns void

publishWidget

  • publishWidget(prefix: any, WidgetType: any, id: any): void
  • Parameters

    • prefix: any
    • WidgetType: any
    • id: any

    Returns void

publishedModified

  • publishedModified(): boolean
  • Returns boolean

publishedProperties

  • publishedProperties(includePrivate?: boolean, expandProxies?: boolean): Meta[]
  • Parameters

    • Optional includePrivate: boolean
    • Optional expandProxies: boolean

    Returns Meta[]

publishedProperty

  • publishedProperty(id: any): any
  • Parameters

    • id: any

    Returns any

render

  • render(callback?: function): this
  • Parameters

    • Optional callback: function
        • (w: Widget): void
        • Parameters

          • w: Widget

          Returns void

    Returns this

renderCellFunc

  • renderCellFunc(): CellRenderer | undefined
  • Returns CellRenderer | undefined

renderCount

  • renderCount(): number
  • Returns number

renderPromise

  • renderPromise(): Promise<Widget>
  • Returns Promise<Widget>

reposition

  • reposition(pos?: any): this
  • Parameters

    • Optional pos: any

    Returns this

resize

  • resize(size?: any): this
  • Parameters

    • Optional size: any

    Returns this

rowToObj

  • rowToObj(row: any): any
  • Parameters

    • row: any

    Returns any

scale

  • scale(): number
  • scale(_: any): Widget
  • Returns number

  • Parameters

    • _: any

    Returns Widget

serialize

  • serialize(): __type | undefined
  • Returns __type | undefined

size

  • size(): ISize
  • size(_: any): this
  • Returns ISize

  • Parameters

    • _: any

    Returns this

syncOverlay

  • syncOverlay(): void
  • Returns void

target

  • target(): null | HTMLElement | SVGElement
  • target(_: null | string | HTMLElement | SVGElement): this
  • Returns null | HTMLElement | SVGElement

  • Parameters

    • _: null | string | HTMLElement | SVGElement

    Returns this

textSize

  • textSize(_text: string | string[], fontName?: string, fontSize?: number, bold?: boolean): ISize
  • Parameters

    • _text: string | string[]
    • Optional fontName: string
    • Optional fontSize: number
    • Optional bold: boolean

    Returns ISize

toWidget

  • toWidget(domNode: any): Widget | null
  • Parameters

    • domNode: any

    Returns Widget | null

update

  • update(domNode: any, element: any): void
  • Parameters

    • domNode: any
    • element: any

    Returns void

visible

  • visible(): boolean
  • visible(_: any): this
  • Returns boolean

  • Parameters

    • _: any

    Returns this

widgetWalker

  • widgetWalker(visitor: function): void
  • Parameters

    • visitor: function
        • (item: PropertyExt): void
        • Parameters

          • item: PropertyExt

          Returns void

    Returns void

width

  • width(): number
  • width(_: any): this
  • Returns number

  • Parameters

    • _: any

    Returns this

x

  • x(): number
  • x(_: any): this
  • Returns number

  • Parameters

    • _: any

    Returns this

y

  • y(): number
  • y(_: any): this
  • Returns number

  • Parameters

    • _: any

    Returns this

Generated using TypeDoc