import "sbIPropertyManager.idl";
Public Member Functions | |
sbIPropertyInfo | getPropertyInfo (in AString aID) |
Get a property object from its id. | |
void | addPropertyInfo (in sbIPropertyInfo aPropertyInfo) |
Add a property into the system. | |
boolean | hasProperty (in AString aID) |
Check for a property in the system by ID. | |
nsIStringBundle | createBundle (in string aURLSpec) |
Helper to get a string bundle. | |
AString | getStringFromName (in nsIStringBundle aBundle, in AString aName) |
Helper to get a display value, using a string name, from a bundle. | |
sbIPropertyArray | getDependentProperties (in AString aID) |
Get all the properties that in any way depend on the given property. For example, the secondary sort of property A may include property B. | |
Public Attributes | |
readonly attribute nsIStringEnumerator | propertyIDs |
An enumerator containing the ids of all registered properties. |
Components should register properties with this service at startup.
Definition at line 52 of file sbIPropertyManager.idl.
sbIPropertyInfo sbIPropertyManager::getPropertyInfo | ( | in AString | aID | ) |
Get a property object from its id.
aID | ID of the property |
void sbIPropertyManager::addPropertyInfo | ( | in sbIPropertyInfo | aPropertyInfo | ) |
Add a property into the system.
aPropertyInfo | Property to add into the system. An exception is thrown if the property's ID is not unique |
boolean sbIPropertyManager::hasProperty | ( | in AString | aID | ) |
Check for a property in the system by ID.
aID | ID of the property |
false if property is not in system