Toolbox

A container for toolbars. It is a type of box but defaults to vertical orientation. If a toolbar is placed inside a toolbox, a grippy is displayed on its left or upper edge. The user may click the grippy to collapse the toolbar. If multiple toolbars are placed in the same toolbox, they will all collapse into the same row. The Firefox browser does not have grippies so toolbars cannot be collapsed and expanded.

More information about toolbox

ツールバーのコンテナ要素。これは縦並びを既定方向とするボックスの一種である。 toolbar 要素が toolbox 要素内に置かれると、左端または上端につまみ (グリッピー) が表示される。利用者はつまみをクリックしてツールバーをたたむことができる。複数のツールバーが同じツールボックス内にある場合、それらは全部同じ行にたたまれる。 Firefox ブラウザにはつまみが無いので、ツールバーをたたんだり拡げたりすることができない。

toolbox の追加情報

プロパティとメソッド:

accessible appendCustomToolbar collapseToolbar customToolbarCount expandToolbar
palette toolbarset

属性:

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

型 : nsIAccessible

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

appendCustomToolbar ( name , currentset )     Firefox only

Adds a custom toolbar to the toolbox with the given name. You can supply a comma-separated list of toolbar item ids as the second argument to add some items by default.

ツールボックスに指定した名前のカスタムツールバーを追加する。第 2 引数としてツールバー項目の id をコンマ区切りでリスト化したものを与えると、デフォルトにその項目を追加することができる。

collapseToolbar ( toolbar )     Not in Firefox

Return Type: no return value

Collapse the given toolbar which should be contained in the toolbox.

戻り値の型 : 戻り値なし

指定したツールバーを折りたたむ。このツールバーはこのツールボックスに含まれている必要がある。

customToolbarCount    Firefox only

The number of custom toolbars currently within the toolbox.

現在ツールボックスにあるカスタムツールバーの数。

expandToolbar ( toolbar )     Not in Firefox

Return Type: no return value

Expand the given toolbar which should be contained in the toolbox.

戻り値の型 : 戻り値なし

指定したツールバーを展開する。このツールバーはこのツールボックスに含まれている必要がある。

palette    Firefox only

The toolbarpalette within the toolbox.

このツールボックスの toolbarpalette 要素。

toolbarset    Firefox only

The toolbarset within the toolbox.

このツールボックスの toolbarset 要素。


Copyright (C) 1999 - 2004 XulPlanet.com