dojox/grid/enhanced/plugins/filter/FilterLayer._StoreLayer (version 1.10)

Summary

The most abstract class of store layers, provides basic utilities and some interfaces.

Usage

var foo = new FilterLayer._StoreLayer();
dojox/grid/enhanced/plugins/_StoreLayer

Property Summary

Method Summary

  • _unwrap(nextLayer) Do the actual unwrapping to the store.
  • _wrap(store,funcName,layerFuncName,nextLayer) Do the actual wrapping (or 'hacking' if you like) to the store.
  • enabled(toEnable) The get/set function of the enabled status of this layer
  • initialize(store)
  • invalidate()
  • name() Get the name of this store layer.
  • originFetch()
  • uninitialize(store)

Properties

__enabled

To control whether this layer is valid.

_originFetch

The original fetch function of the store.

_store

The wrapped store.

layerFuncName

Methods

_unwrap(nextLayer)

Do the actual unwrapping to the store.

Parameter Type Description
nextLayer undefined
_wrap(store,funcName,layerFuncName,nextLayer)

Do the actual wrapping (or 'hacking' if you like) to the store.

Parameter Type Description
store undefined

The store to be unwrapped.

funcName undefined
layerFuncName undefined
nextLayer undefined
enabled(toEnable)

The get/set function of the enabled status of this layer

Parameter Type Description
toEnable Boolean
Optional

If given, is a setter, otherwise, it's getter.

Returns:boolean
initialize(store)
Parameter Type Description
store undefined
invalidate()
name()

Get the name of this store layer. The default name retrieved from class name, which should have a pattern of "{name}Layer". If this pattern does not exist, the whole class name will be this layer's name. It's better to override this method if your class name is too complicated.

Returns:any | undefined

The name of this layer.

originFetch()
Returns:undefined
uninitialize(store)
Parameter Type Description
store undefined
Error in the documentation? Can’t find what you are looking for? Let us know!