「gBrowser/フィールドとプロパティ」の編集履歴(バックアップ)一覧はこちら
追加された行は緑色になります。
削除された行は赤色になります。
tabbrowser.xml(XBL)で定義されてるフィールドとプロパティの一覧。
XBLにおいて、プロパティはゲッタとセッタから構成される要素。フィールドはゲッタとセッタが存在しないプロパティより単純な要素。
%%内部使用用途と思われる物(要素名の最初がアンダーバー)は書き出していない。%%一部を書き出した。
-[[tabbrowser - MDC Doc Center>https://developer.mozilla.org/en/XUL/tabbrowser]]
&spanclass(f){} : フィールド
&spanclass(p){} : プロパティ
&spanclass(r){} : 読み取り専用
*gBrowser独自のフィールドとプロパティ
**tabContextMenu &spanclass(p){}&spanclass(r){}
タブのコンテキストメニューを返す。実体は gBrowser.tabContainer.contextMenu → document.getElementById('tabContextMenu') になる。
**[[tabContainer>gBrowser/tabContainer]] &spanclass(f){}&spanclass(r){} / &spanclass(unuse){mTabContainer} &spanclass(p){}&spanclass(r){}
タブバー。実体は document.getElementById('tabbrowser-tabs') になる。
gBrowser.mTabContainer は gBrowser.tabContainer を指しているだけなので使う必要はない。
**tabs &spanclass(f){}&spanclass(r){} / &spanclass(unuse){mTabs} &spanclass(p){}&spanclass(r){}
タブのノード配列。実体は gBrowser.tabContainer.childNodes になる。panoramaによって非表示なっているタブも含まれる。
gBrowser.mTabs は gBrowser.tabs を指しているだけなので使う必要はない。
**visibleTabs &spanclass(p){}&spanclass(r){}
表示されているタブのノード配列。tabsから表示中のタブを抽出し、新しい配列を作成して返している。
**closingTabsEnum &spanclass(f){}&spanclass(r){}
{ ALL: 0, OTHER: 1, TO_END: 2 }
複数タブを閉じる時に使われる定数群。
**mURIFixup &spanclass(f){}&spanclass(r){}
XPCOM の nsIURIFixup サービス
**mFaviconService &spanclass(f){}&spanclass(r){}
XPCOM の [[nsIFaviconService>https://developer.mozilla.org/en-US/docs/XPCOM_Interface_Reference/nsIFaviconService]] サービス
**mTabBox &spanclass(f){}&spanclass(r){} / mPanelContainer &spanclass(f){}&spanclass(r){} / mStringBundle &spanclass(f){}
&link_anchor(id_5b34e90a,pageid=19){ブラウザの構成とgBrowser}参照
**mCurrentTab &spanclass(f){} / selectedTab &spanclass(p){}
現在のタブを返す。また、gBrowser.selectedTab はそこに xul:tab を代入(gBrowser.selectedTab = aTab;)することでタブの切り替えが出来る。
**mCurrentBrowser &spanclass(f){} / selectedBrowser &spanclass(p){}&spanclass(r){}
現在のタブの xul:browser を返す。
gBrowser.selectedBrowser は gBrowser.mCurrentBrowser を指しているだけなので使う必要はない。
**mProgressListeners &spanclass(f){}
**mTabsProgressListeners &spanclass(f){}
**mTabListeners &spanclass(f){}
**mTabFilters &spanclass(f){}
**mIsBusy &spanclass(f){}
**arrowKeysShouldWrap &spanclass(f){}&spanclass(r){}
常にfalse? いちおう使われているが…??
**_numPinnedTabs &spanclass(p){}&spanclass(r){}
ピン留めされたタブの数を返す。
**browsers &spanclass(p){}&spanclass(r){}
browser のノード配列。gBrowser.tabs を [[Array.map>https://developer.mozilla.org/ja/docs/Web/JavaScript/Reference/Global_Objects/Array/map]] で tab.linkedBrowser のノード配列にしてキャッシュし、それを返している。
**&spanclass(unuse){mTabbedMode} &spanclass(f){}&spanclass(r){}
常にtrue? 互換性の為だけに存在?
**&spanclass(unuse){mContextTab} &spanclass(p){}&spanclass(r){}
タブのコンテキストメニューを表示した際の親タブを返す。親タブが無いときはカレントタブを返す。実体は [[TabContextMenu]].contextTab なので、そちらを直接使えば良い。互換性の為だけに存在?
TabContextMenu は browser.js 内で定義されているオブジェクト。
**&spanclass(unuse){mPrefs} &spanclass(p){}&spanclass(r){}
実体は Services.prefs。互換性の為だけに存在?
**&spanclass(unuse){mStrip} &spanclass(p){}&spanclass(r){}
互換性の為だけに存在するプロパティなので必要なし。
*mCurrentBrowser からそのままコピーしているプロパティ
詳細はコピー元の [[browser - MDC>https://developer.mozilla.org/ja/XUL/browser]] を見た方が良いだろう。
**canGoBack &spanclass(p){}&spanclass(r){} / canGoForward &spanclass(p){}&spanclass(r){}
その名の通り前/次ページに移動できるかどうかを true/false で返す。
**homePage &spanclass(p){}
ホームページのURL?
**pageReport &spanclass(p){}&spanclass(r){}
**currentURI &spanclass(p){}&spanclass(r){}
カレントページの[[nsIURI>https://developer.mozilla.org/en-US/docs/XPCOM_Interface_Reference/nsIURI]]。URLだけでなく、スキーム、ドメイン、パスなどが簡単にわかる。
**docShell / webNavigation / webBrowserFind / webProgress (全て &spanclass(p){}&spanclass(r){})
**contentWindow &spanclass(p){}&spanclass(r){}
カレントページのWindowオブジェクト。
**sessionHistory / markupDocumentViewer / contentViewerEdit / contentViewerFile (全て &spanclass(p){}&spanclass(r){})
**contentDocument &spanclass(p){}&spanclass(r){}
カレントページのDocumentオブジェクト。
**contentTitle &spanclass(p){}&spanclass(r){}
カレントページのタイトルテキスト。
**contentPrincipal &spanclass(p){}&spanclass(r){}
**securityUI &spanclass(p){}&spanclass(r){}
**userTypedClear &spanclass(p){} / userTypedValue &spanclass(p){}
tabbrowser.xml(XBL)で定義されてるフィールドとプロパティの一覧。
XBLにおいて、プロパティはゲッタとセッタから構成される要素。フィールドはゲッタとセッタが存在しないプロパティより単純な要素。
%%内部使用用途と思われる物(要素名の最初がアンダーバー)は書き出していない。%%一部を書き出した。
-[[tabbrowser - MDC Doc Center>https://developer.mozilla.org/en/XUL/tabbrowser]]
&spanclass(f){} : フィールド
&spanclass(p){} : プロパティ
&spanclass(r){} : 読み取り専用
*gBrowser独自のフィールドとプロパティ
**tabContextMenu &spanclass(p){}&spanclass(r){}
タブのコンテキストメニューを返す。実体は gBrowser.tabContainer.contextMenu → document.getElementById('tabContextMenu') になる。
**[[tabContainer>gBrowser/tabContainer]] &spanclass(f){}&spanclass(r){} / &spanclass(unuse){mTabContainer} &spanclass(p){}&spanclass(r){}
タブバー。実体は document.getElementById('tabbrowser-tabs') になる。
gBrowser.mTabContainer は gBrowser.tabContainer を指しているだけなので使う必要はない。
**tabs &spanclass(f){}&spanclass(r){} / &spanclass(unuse){mTabs} &spanclass(p){}&spanclass(r){}
タブのノードリスト(配列ではない)。実体は gBrowser.tabContainer.childNodes になる。panoramaによって非表示なっているタブも含まれる。
gBrowser.mTabs は gBrowser.tabs を指しているだけなので使う必要はない。
**visibleTabs &spanclass(p){}&spanclass(r){}
表示されているタブのノード配列。tabsから表示中のタブを抽出し、新しい配列を作成して返している。
**closingTabsEnum &spanclass(f){}&spanclass(r){}
{ ALL: 0, OTHER: 1, TO_END: 2 }
複数タブを閉じる時に使われる定数群。
**mURIFixup &spanclass(f){}&spanclass(r){}
XPCOM の nsIURIFixup サービス
**mFaviconService &spanclass(f){}&spanclass(r){}
XPCOM の [[nsIFaviconService>https://developer.mozilla.org/en-US/docs/XPCOM_Interface_Reference/nsIFaviconService]] サービス
**mTabBox &spanclass(f){}&spanclass(r){} / mPanelContainer &spanclass(f){}&spanclass(r){} / mStringBundle &spanclass(f){}
&link_anchor(id_5b34e90a,pageid=19){ブラウザの構成とgBrowser}参照
**mCurrentTab &spanclass(f){} / selectedTab &spanclass(p){}
現在のタブを返す。また、gBrowser.selectedTab はそこに xul:tab を代入(gBrowser.selectedTab = aTab;)することでタブの切り替えが出来る。
**mCurrentBrowser &spanclass(f){} / selectedBrowser &spanclass(p){}&spanclass(r){}
現在のタブの xul:browser を返す。
gBrowser.selectedBrowser は gBrowser.mCurrentBrowser を指しているだけなので使う必要はない。
**mProgressListeners &spanclass(f){}
**mTabsProgressListeners &spanclass(f){}
**mTabListeners &spanclass(f){}
**mTabFilters &spanclass(f){}
**mIsBusy &spanclass(f){}
**arrowKeysShouldWrap &spanclass(f){}&spanclass(r){}
常にfalse? いちおう使われているが…??
**_numPinnedTabs &spanclass(p){}&spanclass(r){}
ピン留めされたタブの数を返す。
**browsers &spanclass(p){}&spanclass(r){}
browser のノード配列。gBrowser.tabs を [[Array.map>https://developer.mozilla.org/ja/docs/Web/JavaScript/Reference/Global_Objects/Array/map]] で tab.linkedBrowser のノード配列にしてキャッシュし、それを返している。
**&spanclass(unuse){mTabbedMode} &spanclass(f){}&spanclass(r){}
常にtrue? 互換性の為だけに存在?
**&spanclass(unuse){mContextTab} &spanclass(p){}&spanclass(r){}
タブのコンテキストメニューを表示した際の親タブを返す。親タブが無いときはカレントタブを返す。実体は [[TabContextMenu]].contextTab なので、そちらを直接使えば良い。互換性の為だけに存在?
TabContextMenu は browser.js 内で定義されているオブジェクト。
**&spanclass(unuse){mPrefs} &spanclass(p){}&spanclass(r){}
実体は Services.prefs。互換性の為だけに存在?
**&spanclass(unuse){mStrip} &spanclass(p){}&spanclass(r){}
互換性の為だけに存在するプロパティなので必要なし。
*mCurrentBrowser からそのままコピーしているプロパティ
詳細はコピー元の [[browser - MDC>https://developer.mozilla.org/ja/XUL/browser]] を見た方が良いだろう。
**canGoBack &spanclass(p){}&spanclass(r){} / canGoForward &spanclass(p){}&spanclass(r){}
その名の通り前/次ページに移動できるかどうかを true/false で返す。
**homePage &spanclass(p){}
ホームページのURL?
**pageReport &spanclass(p){}&spanclass(r){}
**currentURI &spanclass(p){}&spanclass(r){}
カレントページの[[nsIURI>https://developer.mozilla.org/en-US/docs/XPCOM_Interface_Reference/nsIURI]]。URLだけでなく、スキーム、ドメイン、パスなどが簡単にわかる。
**docShell / webNavigation / webBrowserFind / webProgress (全て &spanclass(p){}&spanclass(r){})
**contentWindow &spanclass(p){}&spanclass(r){}
カレントページのWindowオブジェクト。
**sessionHistory / markupDocumentViewer / contentViewerEdit / contentViewerFile (全て &spanclass(p){}&spanclass(r){})
**contentDocument &spanclass(p){}&spanclass(r){}
カレントページのDocumentオブジェクト。
**contentTitle &spanclass(p){}&spanclass(r){}
カレントページのタイトルテキスト。
**contentPrincipal &spanclass(p){}&spanclass(r){}
**securityUI &spanclass(p){}&spanclass(r){}
**userTypedClear &spanclass(p){} / userTypedValue &spanclass(p){}