Separator

Creates a small separating gap between elements. This type of separator should be used to separate parts of a dialog. It doesn't draw a bar visually, but is just a small space. It is functionally equivalent to a spacer except it defaults to a small size (usually 1.5 ems).

要素どうしを分離する隙間を作る。ダイアログの部品どうしを分離するには、この種類のセパレータを用いるべきである。罫線は描画されず、小さな隙間をつくるだけである。機能的には、既定の幅が狭い(通常 1.5 em)ことを除いて spacer 要素と同じである。

属性:

orient

スタイルクラス:

groove groove-thin thin

属性:

orient

Type: one of the values below

Used to specify whether the separator is a horizontal or vertical separator. Note that the values are the reverse of what seems more likely.

  • horizontal: The separator separates vertically placed elements.
  • vertical: The separator separates horizontally placed elements.

型 : 以下の値の一つ

セパレータが横方向のセパレータか、縦方向のセパレータかを指定するのに用いる。この値は、ありえそうな値とは逆になっていることに注意。

  • horizontal: セパレータは配置されている要素を縦方向に分離する。
  • vertical: セパレータは配置されている要素を横方向に分離する。

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

Style Classes:

The following classes may be used to style the element. These classes should be used instead of changing the style of the element directly since they will fit more naturally with the user's selected theme.

以下のクラスは、要素をスタイル付けするために用いられる。ユーザが選択したテーマにより自然に合うため、要素のスタイルを直接変更するかわりにこれらのクラスを使用するべきである。

groove

A grooved separator.

溝のついたセパレータ。

groove-thin

A thin grooved separator.

細い溝のついたセパレータ。

thin

A thinner separator which is usually 0.5 ems.

もっと細いセパレータで、通常は 0.5 em。


プロパティとメソッド:

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

Copyright (C) 1999 - 2004 XulPlanet.com