API svyPopupFilter v1
Classes
SvyDateFilter ⇐ AbstractPopupFilter
SvyNumberFilter ⇐ AbstractPopupFilter
SvySelectFilter ⇐ AbstractPopupFilter
SvyTokenFilter ⇐ AbstractPopupFilter
Functions
createDateFilter() ⇒ SvyDateFilter
createNumberFilter() ⇒ SvyNumberFilter
createSelectFilter(dataProvider, lookup) ⇒ SvySelectFilter
createTokenFilter() ⇒ SvyTokenFilter
AbstractPopupFilter
.createPopUp(callback) ⇒
plugins.window.FormPopup
.getDataProvider() ⇒
String
.getID() ⇒
String
.getOperator() ⇒
String
.getParams() ⇒
Array
.getState() ⇒
Object
.getValues() ⇒
Array
.showModalWindow([callback], [x], [y], [width], [height]) ⇒
Array.<JSRecord>
|Array.<(String|Date|Number)>
.showWindow(win, [callback]) ⇒
[ 'Array' ].<(String|Date|Number)>
abstractPopupFilter.addParam(param)
Add a params to be added into the onSelect callback arguments
abstractPopupFilter.clearParams()
Clear the params
abstractPopupFilter.createPopUp(callback) ⇒ plugins.window.FormPopup
plugins.window.FormPopup
Creates and returns the popupFilter
abstractPopupFilter.createWindow([x], [y], [width], [height], [jsWindowType]) ⇒ JSWindow
JSWindow
Returns: JSWindow
- returns a JSWindow which can be used to show the popupFilter in it using popupFilter.showWindow(window)
abstractPopupFilter.getDataProvider() ⇒ String
String
Gets the popupFilter dataprovider
abstractPopupFilter.getID() ⇒ String
String
Gets the filter name
abstractPopupFilter.getOperator() ⇒ String
String
abstractPopupFilter.getParams() ⇒ Array
Array
abstractPopupFilter.getState() ⇒ Object
Object
abstractPopupFilter.getValues() ⇒ Array
Array
abstractPopupFilter.removeParam(index)
Removes a param at the specified index
abstractPopupFilter.restoreState(jsonState) ⇒ AbstractPopupFilter
AbstractPopupFilter
abstractPopupFilter.setDataProvider(dataProvider)
Sets the popupFilter dataprovider
abstractPopupFilter.setOperator(operator)
abstractPopupFilter.setRendererForm(popupFilterForm)
abstractPopupFilter.setValues(values)
abstractPopupFilter.showModalWindow([callback], [x], [y], [width], [height]) ⇒ Array.<JSRecord>
| Array.<(String|Date|Number)>
Array.<JSRecord>
| Array.<(String|Date|Number)>
Shows the popupFilter in a modal Window
Returns: Array.<JSRecord>
| Array.<(String|Date|Number)>
- returns the selected records; if the popupFilterDataprovider has been set instead it returns the popupFilterDataprovider values on the selected records. Returns null if the window is closed without a selection or an empty selection
abstractPopupFilter.showPopUp(callback, target, [width], [height])
Shows the popupFilter
abstractPopupFilter.showWindow(win, [callback]) ⇒ [ 'Array' ].<(String|Date|Number)>
[ 'Array' ].<(String|Date|Number)>
Shows the popupFilter in a Window
Returns: [ 'Array' ].<(String|Date|Number)>
- returns the selected records; if the popupFilterDataprovider has been set instead it returns the popupFilterDataprovider values on the selected records. Returns null if the window is closed without a selection or an empty selection
SvyDateFilter ⇐ AbstractPopupFilter
AbstractPopupFilter
Extends: AbstractPopupFilter
SvyDateFilter ⇐
AbstractPopupFilter
.createPopUp(callback) ⇒
plugins.window.FormPopup
.getDataProvider() ⇒
String
.getID() ⇒
String
.getOperator() ⇒
String
.getParams() ⇒
Array
.getState() ⇒
Object
.getValues() ⇒
Array
.showModalWindow([callback], [x], [y], [width], [height]) ⇒
Array.<JSRecord>
|Array.<(String|Date|Number)>
.showWindow(win, [callback]) ⇒
[ 'Array' ].<(String|Date|Number)>
svyDateFilter.addParam(param)
Add a params to be added into the onSelect callback arguments
svyDateFilter.clearParams()
Clear the params
svyDateFilter.createPopUp(callback) ⇒ plugins.window.FormPopup
plugins.window.FormPopup
Creates and returns the popupFilter
svyDateFilter.createWindow([x], [y], [width], [height], [jsWindowType]) ⇒ JSWindow
JSWindow
Returns: JSWindow
- returns a JSWindow which can be used to show the popupFilter in it using popupFilter.showWindow(window)
svyDateFilter.getDataProvider() ⇒ String
String
Gets the popupFilter dataprovider
svyDateFilter.getID() ⇒ String
String
Gets the filter name
svyDateFilter.getOperator() ⇒ String
String
svyDateFilter.getParams() ⇒ Array
Array
svyDateFilter.getState() ⇒ Object
Object
svyDateFilter.getValues() ⇒ Array
Array
svyDateFilter.removeParam(index)
Removes a param at the specified index
svyDateFilter.restoreState(jsonState) ⇒ AbstractPopupFilter
AbstractPopupFilter
svyDateFilter.setDataProvider(dataProvider)
Sets the popupFilter dataprovider
svyDateFilter.setOperator(operator)
svyDateFilter.setRendererForm(popupFilterForm)
svyDateFilter.setValues(values)
svyDateFilter.showModalWindow([callback], [x], [y], [width], [height]) ⇒ Array.<JSRecord>
| Array.<(String|Date|Number)>
Array.<JSRecord>
| Array.<(String|Date|Number)>
Shows the popupFilter in a modal Window
Returns: Array.<JSRecord>
| Array.<(String|Date|Number)>
- returns the selected records; if the popupFilterDataprovider has been set instead it returns the popupFilterDataprovider values on the selected records. Returns null if the window is closed without a selection or an empty selection
svyDateFilter.showPopUp(callback, target, [width], [height])
Shows the popupFilter
svyDateFilter.showWindow(win, [callback]) ⇒ [ 'Array' ].<(String|Date|Number)>
[ 'Array' ].<(String|Date|Number)>
Shows the popupFilter in a Window
Returns: [ 'Array' ].<(String|Date|Number)>
- returns the selected records; if the popupFilterDataprovider has been set instead it returns the popupFilterDataprovider values on the selected records. Returns null if the window is closed without a selection or an empty selection
SvyNumberFilter ⇐ AbstractPopupFilter
AbstractPopupFilter
Extends: AbstractPopupFilter
SvyNumberFilter ⇐
AbstractPopupFilter
.createPopUp(callback) ⇒
plugins.window.FormPopup
.getDataProvider() ⇒
String
.getID() ⇒
String
.getOperator() ⇒
String
.getParams() ⇒
Array
.getState() ⇒
Object
.getValues() ⇒
Array
.showModalWindow([callback], [x], [y], [width], [height]) ⇒
Array.<JSRecord>
|Array.<(String|Date|Number)>
.showWindow(win, [callback]) ⇒
[ 'Array' ].<(String|Date|Number)>
svyNumberFilter.addParam(param)
Add a params to be added into the onSelect callback arguments
svyNumberFilter.clearParams()
Clear the params
svyNumberFilter.createPopUp(callback) ⇒ plugins.window.FormPopup
plugins.window.FormPopup
Creates and returns the popupFilter
svyNumberFilter.createWindow([x], [y], [width], [height], [jsWindowType]) ⇒ JSWindow
JSWindow
Returns: JSWindow
- returns a JSWindow which can be used to show the popupFilter in it using popupFilter.showWindow(window)
svyNumberFilter.getDataProvider() ⇒ String
String
Gets the popupFilter dataprovider
svyNumberFilter.getID() ⇒ String
String
Gets the filter name
svyNumberFilter.getOperator() ⇒ String
String
svyNumberFilter.getParams() ⇒ Array
Array
svyNumberFilter.getState() ⇒ Object
Object
svyNumberFilter.getValues() ⇒ Array
Array
svyNumberFilter.removeParam(index)
Removes a param at the specified index
svyNumberFilter.restoreState(jsonState) ⇒ AbstractPopupFilter
AbstractPopupFilter
svyNumberFilter.setDataProvider(dataProvider)
Sets the popupFilter dataprovider
svyNumberFilter.setOperator(operator)
svyNumberFilter.setRendererForm(popupFilterForm)
svyNumberFilter.setValues(values)
svyNumberFilter.showModalWindow([callback], [x], [y], [width], [height]) ⇒ Array.<JSRecord>
| Array.<(String|Date|Number)>
Array.<JSRecord>
| Array.<(String|Date|Number)>
Shows the popupFilter in a modal Window
Returns: Array.<JSRecord>
| Array.<(String|Date|Number)>
- returns the selected records; if the popupFilterDataprovider has been set instead it returns the popupFilterDataprovider values on the selected records. Returns null if the window is closed without a selection or an empty selection
svyNumberFilter.showPopUp(callback, target, [width], [height])
Shows the popupFilter
svyNumberFilter.showWindow(win, [callback]) ⇒ [ 'Array' ].<(String|Date|Number)>
[ 'Array' ].<(String|Date|Number)>
Shows the popupFilter in a Window
Returns: [ 'Array' ].<(String|Date|Number)>
- returns the selected records; if the popupFilterDataprovider has been set instead it returns the popupFilterDataprovider values on the selected records. Returns null if the window is closed without a selection or an empty selection
SvySelectFilter ⇐ AbstractPopupFilter
AbstractPopupFilter
Extends: AbstractPopupFilter
SvySelectFilter ⇐
AbstractPopupFilter
.createPopUp(callback) ⇒
plugins.window.FormPopup
.getDataProvider() ⇒
String
.getID() ⇒
String
.getLookup() ⇒
scopes.svyLookup.Lookup
.getOperator() ⇒
String
.getParams() ⇒
Array
.getState() ⇒
Object
.getValues() ⇒
Array
.showModalWindow([callback], [x], [y], [width], [height]) ⇒
Array.<JSRecord>
|Array.<(String|Date|Number)>
.showWindow(win, [callback]) ⇒
Array.<JSRecord>
|Array.<(String|Date|Number)>
svySelectFilter.addParam(param)
Add a params to be added into the onSelect callback arguments
svySelectFilter.clearParams()
Clear the params
svySelectFilter.createPopUp(callback) ⇒ plugins.window.FormPopup
plugins.window.FormPopup
Creates and returns the popupFilter
Overrides: createPopUp
svySelectFilter.createWindow([x], [y], [width], [height], [jsWindowType]) ⇒ JSWindow
JSWindow
Overrides: createWindow
Returns: JSWindow
- returns a JSWindow which can be used to show the popupFilter in it using popupFilter.showWindow(window)
svySelectFilter.getDataProvider() ⇒ String
String
Gets the popupFilter dataprovider
svySelectFilter.getID() ⇒ String
String
Gets the filter name
svySelectFilter.getLookup() ⇒ scopes.svyLookup.Lookup
scopes.svyLookup.Lookup
svySelectFilter.getOperator() ⇒ String
String
svySelectFilter.getParams() ⇒ Array
Array
svySelectFilter.getState() ⇒ Object
Object
Overrides: getState
svySelectFilter.getValues() ⇒ Array
Array
svySelectFilter.removeParam(index)
Removes a param at the specified index
svySelectFilter.restoreState(jsonState) ⇒ AbstractPopupFilter
AbstractPopupFilter
Overrides: restoreState
svySelectFilter.setDataProvider(dataProvider)
Sets the popupFilter dataprovider
svySelectFilter.setOperator(operator)
svySelectFilter.setRendererForm(popupFilterForm)
svySelectFilter.setValues(values)
svySelectFilter.showModalWindow([callback], [x], [y], [width], [height]) ⇒ Array.<JSRecord>
| Array.<(String|Date|Number)>
Array.<JSRecord>
| Array.<(String|Date|Number)>
Shows the popupFilter in a modal Window
Overrides: showModalWindow
Returns: Array.<JSRecord>
| Array.<(String|Date|Number)>
- returns the selected records; if the popupFilterDataprovider has been set instead it returns the popupFilterDataprovider values on the selected records. Returns null if the window is closed without a selection or an empty selection
svySelectFilter.showPopUp(callback, target, [width], [height])
Shows the popupFilter
Overrides: showPopUp
svySelectFilter.showWindow(win, [callback]) ⇒ Array.<JSRecord>
| Array.<(String|Date|Number)>
Array.<JSRecord>
| Array.<(String|Date|Number)>
Shows the popupFilter in a Window
Overrides: showWindow
Returns: Array.<JSRecord>
| Array.<(String|Date|Number)>
- returns the selected records; if the popupFilterDataprovider has been set instead it returns the popupFilterDataprovider values on the selected records. Returns null if the window is closed without a selection or an empty selection
new SvySelectFilter(dataProvider, lookup)
SvyTokenFilter ⇐ AbstractPopupFilter
AbstractPopupFilter
Extends: AbstractPopupFilter
SvyTokenFilter ⇐
AbstractPopupFilter
.createPopUp(callback) ⇒
plugins.window.FormPopup
.getDataProvider() ⇒
String
.getID() ⇒
String
.getOperator() ⇒
String
.getParams() ⇒
Array
.getState() ⇒
Object
.getValues() ⇒
Array
.showModalWindow([callback], [x], [y], [width], [height]) ⇒
Array.<JSRecord>
|Array.<(String|Date|Number)>
.showWindow(win, [callback]) ⇒
[ 'Array' ].<(String|Date|Number)>
svyTokenFilter.addParam(param)
Add a params to be added into the onSelect callback arguments
svyTokenFilter.clearParams()
Clear the params
svyTokenFilter.createPopUp(callback) ⇒ plugins.window.FormPopup
plugins.window.FormPopup
Creates and returns the popupFilter
svyTokenFilter.createWindow([x], [y], [width], [height], [jsWindowType]) ⇒ JSWindow
JSWindow
Returns: JSWindow
- returns a JSWindow which can be used to show the popupFilter in it using popupFilter.showWindow(window)
svyTokenFilter.getDataProvider() ⇒ String
String
Gets the popupFilter dataprovider
svyTokenFilter.getID() ⇒ String
String
Gets the filter name
svyTokenFilter.getOperator() ⇒ String
String
svyTokenFilter.getParams() ⇒ Array
Array
svyTokenFilter.getState() ⇒ Object
Object
svyTokenFilter.getValues() ⇒ Array
Array
svyTokenFilter.removeParam(index)
Removes a param at the specified index
svyTokenFilter.restoreState(jsonState) ⇒ AbstractPopupFilter
AbstractPopupFilter
svyTokenFilter.setDataProvider(dataProvider)
Sets the popupFilter dataprovider
svyTokenFilter.setOperator(operator)
svyTokenFilter.setRendererForm(popupFilterForm)
svyTokenFilter.setValues(values)
svyTokenFilter.showModalWindow([callback], [x], [y], [width], [height]) ⇒ Array.<JSRecord>
| Array.<(String|Date|Number)>
Array.<JSRecord>
| Array.<(String|Date|Number)>
Shows the popupFilter in a modal Window
Returns: Array.<JSRecord>
| Array.<(String|Date|Number)>
- returns the selected records; if the popupFilterDataprovider has been set instead it returns the popupFilterDataprovider values on the selected records. Returns null if the window is closed without a selection or an empty selection
svyTokenFilter.showPopUp(callback, target, [width], [height])
Shows the popupFilter
svyTokenFilter.showWindow(win, [callback]) ⇒ [ 'Array' ].<(String|Date|Number)>
[ 'Array' ].<(String|Date|Number)>
Shows the popupFilter in a Window
Returns: [ 'Array' ].<(String|Date|Number)>
- returns the selected records; if the popupFilterDataprovider has been set instead it returns the popupFilterDataprovider values on the selected records. Returns null if the window is closed without a selection or an empty selection
OPERATOR
Properties
createDateFilter() ⇒ SvyDateFilter
SvyDateFilter
createNumberFilter() ⇒ SvyNumberFilter
SvyNumberFilter
createSelectFilter(dataProvider, lookup) ⇒ SvySelectFilter
SvySelectFilter
createTokenFilter() ⇒ SvyTokenFilter
SvyTokenFilter
Last updated