{"json_modified": "2016-03-28T07:51:49.367791", "uuid": "d32d4f40-3c5d-4995-8bbe-df0e9f823739", "title": "nsIPrefBranch", "url": "/en-US/docs/Mozilla/Tech/XPCOM/Reference/Interface/nsIPrefBranch", "tags": ["XPCOM Interface Reference", "Interfaces:Scriptable", "XPCOM", "Interfaces", "XPCOM API Reference"], "translations": [{"uuid": "cb215a53-b8e4-4ed2-a246-40e229575fd8", "title": "nsIPrefBranch", "url": "/ja/docs/XPCOM_Interface_Reference/nsIPrefBranch", "tags": [], "summary": "\u3053\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306f\u81ea\u8eab\u304c\u6307\u3057\u793a\u3059\"branch\"\u306e\u8d77\u70b9\u3068\u306a\u308bpreference\u6728\u306e\"root\"\u5024\u3092\u4f34\u3063\u3066\u751f\u6210\u3055\u308c\u307e\u3059\u3002\u5404preferences\u306b\u306f\u3053\u306eroot\u306b\u7d9a\u304f\u6700\u5f8c\u306e\u90e8\u5206\u306e\u307f\u3092\u4f7f\u3063\u3066\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 \u4f8b\u3048\u3070\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\"browser.startup.\"\u3092root\u3068\u3057\u3066\u751f\u6210\u3055\u308c\u305f\u5834\u5408\u3001\"browser.startup.page\"\u3001\"browser.startup.homepage\"\u3001\"browser.startup.homepage_override\"\u306a\u3069\u306b\u5bfe\u3057\u3066Get/Set\u3092\u884c\u3046\u969b\u306b\u306f\"page\"\u3001\"homepage\"\u3001\"homepage_override\"\u3068\u6307\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2012-12-13T19:47:47", "review_tags": []}], "modified": "2015-09-29T03:04:48", "label": "nsIPrefBranch", "localization_tags": [], "locale": "en-US", "id": 2432, "last_edit": "2014-08-03T00:34:12", "summary": "This object is created with a \"root\" value which describes the base point in the preferences \"tree\" from which this \"branch\" stems. Preferences are accessed off of this root by using just the final portion of the preference. For example, if this object is created with the root \"browser.startup.\", the preferences \"browser.startup.page\", \"browser.startup.homepage\", and \"browser.startup.homepage_override\" can be accessed by simply passing \"page\", \"homepage\", or \"homepage_override\" to the various Get/Set methods.", "sections": [{"id": "Method_overview", "title": "Method overview"}, {"id": "Attributes", "title": "Attributes"}, {"id": "Constants", "title": "Constants"}, {"id": "Methods", "title": "Methods"}, {"id": "addObserver()", "title": "addObserver()"}, {"id": "Parameters", "title": "Parameters"}, {"id": "clearUserPref()", "title": "clearUserPref()"}, {"id": "Parameters", "title": "Parameters"}, {"id": "Remarks_2", "title": "Remarks"}, {"id": "deleteBranch()", "title": "deleteBranch()"}, {"id": "Parameters", "title": "Parameters"}, {"id": "getBoolPref()", "title": "getBoolPref()"}, {"id": "Parameters", "title": "Parameters"}, {"id": "Return_value", "title": "Return value"}, {"id": "getCharPref()", "title": "getCharPref()"}, {"id": "Parameters", "title": "Parameters"}, {"id": "Return_value", "title": "Return value"}, {"id": "getChildList()", "title": "getChildList()"}, {"id": "Parameters", "title": "Parameters"}, {"id": "getComplexValue()", "title": "getComplexValue()"}, {"id": "Parameters", "title": "Parameters"}, {"id": "getIntPref()", "title": "getIntPref()"}, {"id": "Parameters", "title": "Parameters"}, {"id": "Return_value", "title": "Return value"}, {"id": "getPrefType()", "title": "getPrefType()"}, {"id": "Parameters", "title": "Parameters"}, {"id": "Return_value", "title": "Return value"}, {"id": "lockPref()", "title": "lockPref()"}, {"id": "Parameters", "title": "Parameters"}, {"id": "prefHasUserValue()", "title": "prefHasUserValue()"}, {"id": "Parameters", "title": "Parameters"}, {"id": "Return_value", "title": "Return value"}, {"id": "prefIsLocked()", "title": "prefIsLocked()"}, {"id": "Parameters", "title": "Parameters"}, {"id": "Return_value", "title": "Return value"}, {"id": "removeObserver()", "title": "removeObserver()"}, {"id": "Parameters", "title": "Parameters"}, {"id": "resetBranch()", "title": "resetBranch()"}, {"id": "Parameters", "title": "Parameters"}, {"id": "setBoolPref()", "title": "setBoolPref()"}, {"id": "Parameters", "title": "Parameters"}, {"id": "setCharPref()", "title": "setCharPref()"}, {"id": "Parameters", "title": "Parameters"}, {"id": "setComplexValue()", "title": "setComplexValue()"}, {"id": "Parameters", "title": "Parameters"}, {"id": "setIntPref()", "title": "setIntPref()"}, {"id": "Parameters", "title": "Parameters"}, {"id": "unlockPref()", "title": "unlockPref()"}, {"id": "Parameters", "title": "Parameters"}, {"id": "Remarks", "title": "Remarks"}, {"id": "See also", "title": null}], "slug": "Mozilla/Tech/XPCOM/Reference/Interface/nsIPrefBranch", "review_tags": []}