From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/ja/archive/mozilla/xul/deck/index.html | 112 +++++++++++++++++++++++++++ 1 file changed, 112 insertions(+) create mode 100644 files/ja/archive/mozilla/xul/deck/index.html (limited to 'files/ja/archive/mozilla/xul/deck') diff --git a/files/ja/archive/mozilla/xul/deck/index.html b/files/ja/archive/mozilla/xul/deck/index.html new file mode 100644 index 0000000000..86ac10506e --- /dev/null +++ b/files/ja/archive/mozilla/xul/deck/index.html @@ -0,0 +1,112 @@ +--- +title: deck +slug: Archive/Mozilla/XUL/deck +tags: + - XUL Elements + - XUL Reference +translation_of: Archive/Mozilla/XUL/deck +--- +
+ « XUL リファレンス HOME [ + | + 属性 | + プロパティ | + メソッド | + 関連項目 ] +
+

要素内の子要素を一度に一つのみ表示する要素です。selectedIndex 属性は表示する子要素を決定します。

+

詳しい情報は XUL チュートリアルにあります。

+
属性
selectedIndex
プロパティ
selectedIndex, selectedPanel
+

+
<deck selectedIndex="2">
+  <description value="This is the first page"/>
+  <button label="This is the second page"/>
+  <box>
+    <description value="This is the third page"/>
+    <button label="This is also the third page"/>
+  </box>
+</deck>
+
+

属性

+
+ +
selectedIndex
型: 整数型
現在選択されているパネルの index を取得、設定します。最初の項目の index は 0 です。
+ +
+ + + + + +

XUL 要素からの継承
+align, +allowevents, +allownegativeassertions, +class, +coalesceduplicatearcs, +collapsed, +container, +containment, +context, +contextmenu, +datasources, +dir, +empty, +equalsize, +flags, +flex, +height, +hidden, +id, +insertafter, +insertbefore, +left, +maxheight, +maxwidth, +menu, +minheight, +minwidth, +mousethrough, +observes, +ordinal, +orient, +pack, +persist, +popup, +position, +preference-editable, +querytype, +ref, +removeelement, +sortDirection, +sortResource, +sortResource2, +statustext, +style, +template, +tooltip, +tooltiptext, +top, +uri, +wait-cursor, +width

+
+

プロパティ

+
+
selectedIndex
型: 整数型
選択された項目の index を返します。また、このプロパティに index を設定して項目を選択する事もできます。このプロパティに -1 を設定すると、項目の選択をすべて解除します。
+
+
selectedPanel
型: 要素
deck 要素内で現在選択されているパネルへの参照を保持します。このプロパティに値を割り当てると選択されたパネルを変更できます。
+
+

XUL 要素からの継承
align, , allowEvents, , boxObject, builder, , , , className, , , , , collapsed, contextMenu, controllers, database, datasources, dir, , , flex, height, hidden, id, , , left, , maxHeight, maxWidth, menu, minHeight, minWidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statusText, style, ,, tooltip, tooltipText, top, width

+

メソッド

+
+

XUL 要素からの継承
+ blur, click, doCommand, focus, getElementsByAttribute, getElementsByAttributeNS

+

DOM 要素からの継承
+ addEventListener(), appendChild(), compareDocumentPosition, dispatchEvent(), getAttribute(), getAttributeNode(), getAttributeNodeNS(), getAttributeNS(), getElementsByTagName(), getElementsByTagNameNS(), getFeature, getUserData, hasAttribute(), hasAttributeNS(), hasAttributes(), hasChildNodes(), insertBefore(), isEqualNode, isSameNode, isSupported(), lookupNamespaceURI, lookupPrefix, normalize(), removeAttribute(), removeAttributeNode(), removeAttributeNS(), removeChild(), removeEventListener(), replaceChild(), setAttribute(), setAttributeNode(), setAttributeNodeNS(), setAttributeNS(), setUserData

+
+ +

stack

+
+ +
-- cgit v1.2.3-54-g00ecf