Class Index | File Index

Classes


Class ElemHide


Defined in: ElemHide.jsm.

Class Summary
Constructor Attributes Constructor Name and Description
 
Element hiding component
Field Summary
Field Attributes Field Name and Description
<private> <static>  
ElemHide._applying
Will be set to true if apply() is running (reentrance protection).
<private> <static>  
ElemHide._needsApply
Will be set to true if an apply() call arrives while apply() is already running (delayed execution).
<static>  
ElemHide.applied
Inidicates whether the element hiding stylesheet is currently applied.
<static>  
ElemHide.isDirty
Indicates whether filters have been added or removed since the last apply() call.
<static>  
ElemHide.styleURL
Retrieves the currently applied stylesheet URL
Method Summary
Method Attributes Method Name and Description
<private> <static>  
<static>  
ElemHide.add(filter)
Add a new element hiding filter
<static>  
ElemHide.apply()
Generates stylesheet URL and applies it globally
<static>  
ElemHide.clear()
Removes all known filters
<static>  
ElemHide.getFilterByKey(key)
Retrieves an element hiding filter by the corresponding protocol key
<static>  
ElemHide.init()
Called on module startup.
<static>  
ElemHide.remove(filter)
Removes an element hiding filter
<static>  
ElemHide.unapply()
Unapplies current stylesheet URL
Class Detail
ElemHide()
Element hiding component
Field Detail
<private> <static> {Boolean} ElemHide._applying
Will be set to true if apply() is running (reentrance protection).

<private> <static> {Boolean} ElemHide._needsApply
Will be set to true if an apply() call arrives while apply() is already running (delayed execution).

<static> {Boolean} ElemHide.applied
Inidicates whether the element hiding stylesheet is currently applied.

<static> {Boolean} ElemHide.isDirty
Indicates whether filters have been added or removed since the last apply() call.

<static> {String} ElemHide.styleURL
Retrieves the currently applied stylesheet URL
Method Detail
<private> <static> ElemHide._generateCSSContent()

<static> ElemHide.add(filter)
Add a new element hiding filter
Parameters:
{ElemHideFilter} filter

<static> ElemHide.apply()
Generates stylesheet URL and applies it globally

<static> ElemHide.clear()
Removes all known filters

<static> {Filter} ElemHide.getFilterByKey(key)
Retrieves an element hiding filter by the corresponding protocol key
Parameters:
{String} key

<static> ElemHide.init()
Called on module startup.

<static> ElemHide.remove(filter)
Removes an element hiding filter
Parameters:
{ElemHideFilter} filter

<static> ElemHide.unapply()
Unapplies current stylesheet URL

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