Reference Source
public class | source

QueryResultDialog

Extends:

L~L.Evented → QueryResultDialog

Direct Subclass:

src_en/control/AdvancedSearchResultDialog.js~AdvancedSearchResultDialog, OverlayAnalysisResultDialog

Query result dialog class.

Constructor Summary

Public Constructor
public

Constructor

Method Summary

Public Methods
public

clear flicker layer

public

close(): Null

close dialog

public

flickerLayer(layer: Object): Null

flicker layer

public

open(dataSource: Array, options: Object): Null

Open a dialog

public

reset statistics field(the statistical field of the overlay_analysis.xml configuration file)

public

setChartFields(chartFields: Array): Null

set statistics field

public

setUseDefaultFlicker(flag: Bool): Null

whether use the default flicker behavior

Public Constructors

public constructor() source

Constructor

Emit:

select

fired when an item is selected by the user.

Public Methods

public clearFlickerLayer(): Null source

clear flicker layer

Return:

Null

public close(): Null source

close dialog

Return:

Null

public flickerLayer(layer: Object): Null source

flicker layer

Params:

NameTypeAttributeDescription
layer Object

layer to flicker

Return:

Null

public open(dataSource: Array, options: Object): Null source

Open a dialog

Params:

NameTypeAttributeDescription
dataSource Array

data source overlay analysis

dataSource.index.label String

provides the text name of the tab(default layer name)

dataSource.index.toolTip String

provides detailes description of label

dataSource.index.fields Array

the fields to which the columns is bound.

dataSource.index..titles Array

the text that is displayed in the column header cell

dataSource.index..records Array

the data source of the widget which is used render table rows

options Object

dialog's options

options.width Number

specifies width of the dialog

options.height Number

specifies height of the dialog

options.position Object

a collection of one or two members, which define the initial Window's top and/or left position on the page

options.position.top Number

specifies the initial top position of the dialog

options.position.left Number

specifies the initial left position of the dialog

Return:

Null

public resetChartFields(): Null source

reset statistics field(the statistical field of the overlay_analysis.xml configuration file)

Return:

Null

public setChartFields(chartFields: Array): Null source

set statistics field

Params:

NameTypeAttributeDescription
chartFields Array

statistics field(e.g: ['DLMC', 'YSDM'])。

Return:

Null

public setUseDefaultFlicker(flag: Bool): Null source

whether use the default flicker behavior

Params:

NameTypeAttributeDescription
flag Bool

if true,open the dialog and select one record will flicker the record, close the dialog will clear flicker. if false, not have flicker behavior.

Return:

Null