|
button A button that can be pressed by the user. Event handlers can be used to trap mouse, keyboard and other events. It is typically rendered as a grey outset rectangle.
Attributes:
accesskey, command, crop, dir, disabled, image, label, orient, tabindex, type
Properties and Methods:
accesskey, blur, command, controllers, crop, dir, doCommand, focus, image, label, orient, type
checkbox An element that can be turned on and off. This is most commonly rendered as a box when the element is off and a box with a check when the element is on. The user can switch the state of the check box by selecting it with the mouse. A label, specified with the label attribute may be added beside the check box to indicate to the user as to its function.
Attributes:
accesskey, checked, command, crop, disabled, image, label, tabindex
Properties and Methods:
accesskey, blur, checked, command, controllers, crop, doCommand, focus, image, label
radio An element that can be turned on and off. Radio buttons are almost always grouped together in groups. Only one radio button within the same group may be turned on at a time. The user can switch which radio button is turned on by selecting it with the mouse or keyboard. Other radio buttons in the same group are turned off. A label, specified with the label attribute may be added beside the radio button to indicate to the user as to its function.
Attributes:
accesskey, checked, command, crop, disabled, image, label, tabindex
Properties and Methods:
accesskey, blur, checked, command, controllers, crop, doCommand, focus, image, label
textbox A text input field in which the user can enter text. It is similar to the HTML input element. Only one line of text is displayed by default. The multiline attribute can be specified to display a field with multiple rows.
Attributes:
disabled, maxlength, multiline, oninput, readonly, size, type, value
Properties and Methods:
controllers, disabled, maxlength, readonly, selectionEnd, selectionStart, setSelectionRange, size, textLength, type, value
textbox(autocomplete) This element is created by setting the type attribute of a textbox to 'autocomplete'. It is used to create a textbox with a popup containing a list of possible completions for what the user has started to type.
Attributes:
autoFill, autoFillAfterMatch, disableAutocomplete, flexPopup, focused, forceComplete, hideHistory, maxrows, oninit, ontextcommand, ontextrevert, searchSessions, showCommentColumn, showPopup, tabScrolling, timeout, userAction
Properties and Methods:
addSession, _autoFill, _autoFillAfterMatch, clearResults, _disableAutocomplete, _flexPopup, _focused, _forceComplete, getDefaultSession, getResultAt, getResultCount, getResultValueAt, getSession, getSessionByName, getSessionResultAt, getSessionValueAt, _hideHistory, _isSearching, _isWaiting, maxRows, _noMatch, removeSession, _resultsPopup, _searchSessions, _sessionCount, _showCommentColumn, _showPopup, syncSessions, _tabScrolling, _timeout, _userAction
|
description This element is used to create a block of text. The text can be set either with the value attribute or by placing text inside the open and close description tags. The value attribute is used to set text that appears in a single line. If text appears as a child of the description, it will wrap to multiple lines. If may contain arbitrary markup, which can be styled as needed.
Attributes:
crop, disabled, value
Properties and Methods:
crop, disabled, value
label This attribute is used to provide a label for an control element, If the user clicks the label, it will move the focus to the associated control, specified with the control attribute.
Attributes:
accesskey, control, crop, disabled, value
Properties and Methods:
accesskey, control, crop, disabled, value
text (Deprecated) A piece of text. It can be used as a label for another element by using the for attribute. The text does not wrap so text only appears on one line. If the text does not fit, it will be cropped according to the crop attribute. This element has been replaced by the description and label elements.
Attributes:
for
html (Deprecated) This element can be used to display text that wraps as in normal text in HTML. That is, if the text is too long to fit on one line, it wraps to the next. Unlike most XUL elements, the content of the html element goes inside the tags, not in an attribute. This element has been replaced by the description element.
image An element that displays an image, much like the HTML img element. The src attribute can be used to specify the URL of the image.
separator Creates a separator bar. This type of separator should be used to separate parts of a dialog. It is functionally equivalent to a spacer but some skins may apply a different appearance.
spring (Deprecated) An element that takes up space but does not display anything. It is usually used to place spacing within a container. This element has been replaced by the spacer element.
spacer An element that takes up space but does not display anything. It is usually used to place spacing within a container.
|