Progressmeter

A meter which can be used to display the progress of a lengthy operation. It is drawn as a bar that is filled as the operation completes. In addition, an undeterminate progressmeter may be created by setting the mode attribute. This is used when the length of time to complete an operation is not known beforehand.

More information about progressmeter

Example:

    <progressmeter mode="determined" value="50%"/>

時間のかかる処理の進捗状況を表示するメーター。処理の達成度にしたがって塗り潰されていくバーとして描画される。更に、 mode 属性を設定することにより、あらかじめ処理時間が予測できないときなど、処理時間が不定であることを示唆する表示も可能である。

progressmeter の追加情報

例 :

    <progressmeter mode="determined" value="50%"/>

属性:

mode value

プロパティとメソッド:

accessible mode value

属性:

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

mode

Type: one of the values below

A determined progressmeter is used in cases where you know how long an operation will take. Undeterminate progressmeters can be used when you don't and will typically be drawn as a spinning barber pole.

  • determined: The progress meter uses its value attribute to determine the amount of the bar that is filled in.
  • undetermined: The progressmeter is undeterminate.

型 : 以下の値の一つ

処理にどのくらいの時間がかかるか知っている場合には、進捗状況を表示するプログレスメータ (determined progressmeter) が使用される。処理時間がわからない場合には、不定であることを示すプログレスメータ (undeterminate progressmeter) を使用することができる。これはよく床屋の回転ポールとして描画されている。

  • determined: プログレスメータは、達成したバー量を決めるために value 属性を使用する。
  • undetermined: プログレスメータは、不定であることを示す。
value

Type: inetger

A percentage value that specifies the amount of the meter that is filled in. Because it is a percentage, it ranges from 0 to 100.

型 : inetger

達成されたメータ量を示すパーセント値。パーセントなので、 0 から 100 の範囲である。


プロパティとメソッド:

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

型 : nsIAccessible

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

mode

Type: string

Gets and sets the value of the mode attribute.

型 : string

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

value

Type: string

Gets and sets the value of the value attribute.

型 : string

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


Copyright (C) 1999 - 2004 XulPlanet.com