sbColumnSpecParser.jsm File Reference

Go to the source code of this file.


Components utils import ("resource://app/jsmodules/sbProperties.jsm")
 __defineGetter__ ("Application", function(){delete Application;Application=Cc[";1"].getService(Ci.fuelIApplication);return Application;}) function ColumnSpecParser(aMediaList
function getColumns ()
 if (!columns||!columns.columnMap.length)


 EXPORTED_SYMBOLS = ["ColumnSpecParser"]
const Cc = Components.classes
const Ci = Components.interfaces
var columns = getColumns()
this _columns = columns

Function Documentation

__defineGetter__ (   "Application",
  function(){delete Application;Application=Cc[";1"].getService(Ci.fuelIApplication);return Application;} 

Construct a column spec parser and read the column specification immediately

aMediaListThe media list to find columns to display for
aPlaylistthe playlist binding
aMaska bitfield containing the source to look for; see the ColumnSpecParser.ORIGIN_* constants
[optional]aConstraint the media type constraint to use, if any

Here is the caller graph for this function:

function getColumns ( )

check for a column spec, with a given constraint

aPossibleConstraintthe constraint to use; may be empty string to look for a column spec with no constraints
aFlagthe flag to be added to the column spec origin
the parsed column spec, or null if not found

Definition at line 79 of file sbColumnSpecParser.jsm.

if ( !columns||!columns.columnMap.  length)

Definition at line 194 of file sbColumnSpecParser.jsm.

Components utils import ( "resource://app/jsmodules/sbProperties.jsm"  )

Variable Documentation

this _columns = columns

Definition at line 198 of file sbColumnSpecParser.jsm.

Initial value:
if (!aMask) {
aMask = ~0 >>> 0;
var self = this

Definition at line 49 of file sbColumnSpecParser.jsm.


Definition at line 49 of file sbColumnSpecParser.jsm.


Definition at line 49 of file sbColumnSpecParser.jsm.

const Cc = Components.classes

Definition at line 29 of file sbColumnSpecParser.jsm.

Definition at line 30 of file sbColumnSpecParser.jsm.

var columns = getColumns()

Definition at line 192 of file sbColumnSpecParser.jsm.

EXPORTED_SYMBOLS = ["ColumnSpecParser"]

Definition at line 27 of file sbColumnSpecParser.jsm.