Tabbox

A container used to display tabbed pages of elements to the user. The tabbox should contain two children, the first a tabs element which contains the tabs and the second a tabpanels element which contains the contents of the pages. This is a type of box that defaults to vertical orientation.

More information about tabbox

要素を含む一連のページをタブ式に重ね合わせて利用者に表示するために利用されるコンテナ。 tabbox 要素は 2 つの子要素、一連のタブを持つ tabs 要素と、ページの内容を持つ tabpanels 要素を持つ。これは縦並びを既定方向とするボックスの一種である。

tabbox の追加情報

属性:

eventnode handleCtrlPageUpDown handleCtrlTab

プロパティとメソッド:

accessible eventNode handleCtrlPageUpDown handleCtrlTab selectedIndex
selectedPanel selectedTab

属性:

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

eventnode

Type: one of the values below

Indicates from where keyboard navigation events are listened from. If this attribute is not specified, events are listened to from the tabbox. Thus, if this attribute is not used, the tabbox or an element inside it must have the focus for the keyboard navigation to apply.

  • parent: Keyboard navigation is captured at the parent of the tabbox.
  • window: Keyboard navigation is captured at the window level. Tab navigation will occur as long as any element in the window is focused.
  • document: Keyboard navigation is captured at the document level. Tab navigation will occur as long as any element in the document is focused.

型 : 以下の値の一つ

キーボード移動イベント (keyboard navigation event) が受信される場所を指定する。この属性が指定されない場合、イベントは tabbox に受信される。このため、この属性を使用しない場合は tabbox 要素またはその子要素が、キーボード移動が適用されるためのフォーカスを持っていなければならない。

  • parent: キーボード移動は tabbox 要素の親要素でキャプチャされる。
  • window: キーボード移動は window レベルでキャプチャされる。そのウィンドウのどの要素であってもフォーカスを持っている限り、タブ移動が行われる。
  • document: キーボード移動は document レベルでキャプチャされる。その document のどの要素であってもフォーカスを持っている限り、タブ移動が行われる。
handleCtrlPageUpDown

Type: boolean

If set to true or omitted, the tabbox will switch to the next tab when the Control and Page Up or Page Down keys are pressed. If this attribute is set to false, these keys do not navigate between tabs.

型 : boolean

true に設定するか削除した場合、Control キーと Page Up または Page Down のキーを押すと次のタブに移動する。この属性を false に設定した場合、これらのキーによるタブ間の移動は行われない。

handleCtrlTab

Type: boolean

If set to true or omitted, the tabbox will switch to the next tab when the Control and Tab keys are pressed. If the Shift key is also held down, the previous tab will be displayed. If this attribute is set to false, these keys do not navigate between tabs.

型 : boolean

true に設定するか削除した場合、Control キーと Tab キーを押すと次のタブに移動する。Shift キーも押すと、前のタブが表示される。この属性を false に設定した場合、これらのキーによるタブ間の移動は行われない。


プロパティとメソッド:

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 tabbox.

型 : nsIAccessible

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

eventNode

Gets and sets the value of the eventnode attribute.

eventnode 属性の値を取得・設定する。

handleCtrlPageUpDown

Type: boolean

Gets and sets the value of the handleCtrlPageUpDown attribute.

型 : boolean

handleCtrlPageUpDown 属性の値を取得・設定する。

handleCtrlTab

Type: boolean

Gets and sets the value of the handleCtrlTab attribute.

型 : boolean

handleCtrlTab 属性の値を取得・設定する。

selectedIndex

Type: integer

Gets and sets the index of the currently selected tab. A non-bubbling select event will be sent to the tabs element when the selection is changed.

型 : integer

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

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 要素への参照を保持する。このプロパティに値を割り当てると、表示タブを変更することができる。

selectedTab

Type: tab element

A reference to the currently selected tab, which will always be one of the tab elements in the tabs element. Assign a value to this property to modify the currently selected tab.

型 : tab element

現在選択中の tab 要素への参照。常に tabs 要素内の tab 要素の一つを指している。このプロパティに値を割り当てると、現在選択中のタブを変更することができる。


Copyright (C) 1999 - 2004 XulPlanet.com