Tabpanels

A container to hold the set of pages in a tabbox. The tabpanels element should be placed in a tabbox. The children of the tabpanels element become the panels of the tabbox. Usually, the children are tabpanel elements. By clicking the first tab, the first panel will be displayed. By clicking the second tab, the second panel will be displayed and so on.

More information about tabpanels

tabbox における、一連のページのコンテナ。 tabpanels 要素は tabbox 要素内に置く必要がある。 tabpanels 要素の子要素がタブボックスの各パネルとなる。通常、子要素は tabpanel 要素である。最初のタブがクリックされると、1 番目のパネルが表示され、次のタブがクリックされると、2 番目のパネルが表示され、以下同様である。

tabpanels の追加情報

属性:

selectedIndex

プロパティとメソッド:

accessible selectedIndex selectedPanel

属性:

selectedIndex

Type: integer

Gets and sets the index of the currently selected panel in the deck. The first item is at index 0.

型 : integer

デックで現在選択中のパネルのインデックスを取得・設定する。最初の項目はインデックス 0 である。

XUL Element から継承:

align allowevents allownegativeassertions class coalesceduplicatearcs
collapsed container containment context contextmenu
datasources debug dir empty equalsize
flags flex height hidden id
insertafter insertbefore left maxheight maxwidth
menu minheight minwidth mousethrough observes
ordinal orient pack persist popup
position ref removeelement sortDirection sortResource
sortResource2 statustext style template tooltip
tooltiptext top uri wait-cursor width

プロパティとメソッド:

XUL Element から継承:

align
allowEvents
blur
boxObject
boxObject.element
boxObject.getLookAndFeelMetric
boxObject.height
boxObject.screenX
boxObject.screenY
boxObject.width
boxObject.x
boxObject.y
builder
className
click
collapsed
contextMenu
controllers
database
datasources
dir
doCommand
flex
focus
getElementsByAttribute
height
hidden
id
left
maxHeight
maxWidth
menu
minHeight
minWidth
observes
ordinal
orient
pack
persist
ref
resource
statusText
style
tooltip
tooltipText
top
width

Element から継承:

addEventListener
appendChild
attributes
childNodes
cloneNode
dispatchEvent
firstChild
getAttribute
getAttributeNS
getAttributeNode
getAttributeNodeNS
getElementsByTagName
getElementsByTagNameNS
hasAttribute
hasAttributeNS
hasAttributes
hasChildNodes
insertBefore
isSupported
lastChild
localName
namespaceURI
nextSibling
nodeName
nodeType
nodeValue
normalize
ownerDocument
parentNode
prefix
previousSibling
removeAttribute
removeAttributeNS
removeAttributeNode
removeChild
removeEventListener
replaceChild
setAttribute
setAttributeNS
setAttributeNode
setAttributeNodeNS
tagName

accessible

Type: nsIAccessible

Returns the accessibility object for the tabpanels.

型 : nsIAccessible

tabpanels の accessibility オブジェクトを返す。

selectedIndex

Type: integer

Gets and sets the index of the currently selected panel. A non-bubbling select event will be sent to the tabpanels element when the selection changes.

型 : integer

現在選択中のパネルのインデックスを取得・設定する。選択を変更すると、バブル型でない選択イベントが tabpanels 要素に送信される。

selectedPanel

Type: tabpanel element

Holds a reference to the currently selected tabpanel. You can assign a value to this property to change the displayed tab.

型 : tabpanel element

現在選択中の tabpanel への参照を保持する。このプロパティに値を割り当てることで、表示タブを変更することができる。


Copyright (C) 1999 - 2004 XulPlanet.com