Class Index | File Index

Classes


Class FilterListener


Defined in: FilterListener.jsm.

Class Summary
Constructor Attributes Constructor Name and Description
 
This object can be used to change properties of the filter change listeners.
Field Summary
Field Attributes Field Name and Description
<static>  
FilterListener.batchMode
Set to true when executing many changes, changes will only be fully applied after this variable is set to false again.
Method Summary
Method Attributes Method Name and Description
<static>  
FilterListener.setDirty(factor)
Increases "dirty factor" of the filters and calls FilterStorage.saveToDisk() if it becomes 1 or more.
<static>  
FilterListener.startup()
Called on module initialization, registers listeners for FilterStorage changes
Class Detail
FilterListener()
This object can be used to change properties of the filter change listeners.
Field Detail
<static> {Boolean} FilterListener.batchMode
Set to true when executing many changes, changes will only be fully applied after this variable is set to false again.
Method Detail
<static> FilterListener.setDirty(factor)
Increases "dirty factor" of the filters and calls FilterStorage.saveToDisk() if it becomes 1 or more. Save is executed delayed to prevent multiple subsequent calls. If the parameter is 0 it forces saving filters if any changes were recorded after the previous save.
Parameters:
{Integer} factor

<static> FilterListener.startup()
Called on module initialization, registers listeners for FilterStorage changes

Documentation generated by JsDoc Toolkit 2.3.2 on Wed May 09 2012 10:50:20 GMT+0000 (UTC)