Go to the source code of this file.
Functions | |
Components utils | import ("resource://app/jsmodules/sbProperties.jsm") |
__defineGetter__ ("Application", function(){delete Application;Application=Cc["@mozilla.org/fuel/application;1"].getService(Ci.fuelIApplication);return Application;}) function ColumnSpecParser(aMediaList | |
function | getColumns () |
if (!columns||!columns.columnMap.length) | |
Variables | |
EXPORTED_SYMBOLS = ["ColumnSpecParser"] | |
const | Cc = Components.classes |
const | Ci = Components.interfaces |
aPlaylist | |
aMask | |
aConstraint | |
var | columns = getColumns() |
this | _columns = columns |
__defineGetter__ | ( | "Application", | |
function(){delete Application;Application=Cc["@mozilla.org/fuel/application;1"].getService(Ci.fuelIApplication);return Application;} | |||
) |
Construct a column spec parser and read the column specification immediately
aMediaList | The media list to find columns to display for |
aPlaylist | the playlist binding |
aMask | a bitfield containing the source to look for; see the ColumnSpecParser.ORIGIN_* constants |
[optional] | aConstraint the media type constraint to use, if any |
function getColumns | ( | ) |
check for a column spec, with a given constraint
aPossibleConstraint | the constraint to use; may be empty string to look for a column spec with no constraints |
aFlag | the flag to be added to the column spec origin |
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" | ) |
Definition at line 198 of file sbColumnSpecParser.jsm.
aConstraint |
Definition at line 49 of file sbColumnSpecParser.jsm.
aMask |
Definition at line 49 of file sbColumnSpecParser.jsm.
aPlaylist |
Definition at line 49 of file sbColumnSpecParser.jsm.
const Cc = Components.classes |
Definition at line 29 of file sbColumnSpecParser.jsm.
const Ci = Components.interfaces |
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.