Class FilterListener
Defined in: FilterListener.jsm.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
This object can be used to change properties of the filter change listeners.
|
| 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 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