Attributes |
Name | Required | Request-time | Type | Description |
id | false | false | java.lang.String | Every component may have an unique id. Automatically created if omitted. |
rendered | false | false | java.lang.String | If false, this component will not be rendered. |
binding | false | false | java.lang.String | Component binding. |
disableKeyNavigation | false | true | java.lang.String | If this attribute is not used, the user can navigate to specific items in the list by pressing the first the first letter of the item's label. |
disabled | false | true | java.lang.String | Indicates whether the description is disabled or not. |
preference | false | true | java.lang.String | Connects the checkbox to a corresponding preference. |
rows | false | true | java.lang.String | The number of rows to display in the list box. |
suppressonselect | false | true | java.lang.String | If this attribue is not specified, a select event is fired whenever an item is selected, either by the user or by calling one of the select methods. If set to true, the select event is never fired. |
tabindex | false | true | java.lang.String | The tab order of the element. |
value | false | true | java.lang.String | Value. |
validator | false | true | java.lang.String | Validator. |
align | false | true | java.lang.String | The align attribute specifies how child elements of the box are aligned, when the size of the box is larger than the total size of the children.(start,center,end,baseline,stretch) |
allowevents | false | true | java.lang.String | If true, events are passed to children of the element. Otherwise, events are passed to the element only. |
allownegativeassertions | false | true | java.lang.String | Valid on any element that has a datasources attribute. When multiple datasources are used, one may override an assertion from another. This attribute, if true, which is the default, allows a datasource to negate an earlier assertion. |
coalesceduplicatearcs | false | true | java.lang.String | Valid on any element that has a datasources attribute. Because RDF holds a graph of resources, it is possible for there to be several pointers to the same node. If this attribute is true, which is the default, duplicate references are skipped. If false, duplicate references will appear. |
collapsed | false | true | java.lang.String | If true, then the element is collapsed and does not appear. It is equivalent to setting the CSS visibility property to 'collapse'. |
container | false | true | java.lang.String | Set to true if the element is to act as a container which can have child elements. This would be used for folders. This will be set by the template builder as needed. |
containment | false | true | java.lang.String | This attribute specifies RDF properties that indicate that a resource is a container. |
context | false | true | java.lang.String | The id of the popup element that should appear when the user context-clicks on the element |
contextmenu | false | true | java.lang.String | Alternate name for the context attribute, but also has a corresponding script property 'contextmenu'. |
datasources | false | true | java.lang.String | A space-separated list of datasources that an element's template will use for content generation. |
dir | false | true | java.lang.String | The direction in which the child elements of the element are placed. |
disabled | false | true | java.lang.String | true, false or an EL expression returning a boolean value |
empty | false | true | java.lang.String | Set to true if the element is a container that contains no children. This will be set by the template builder as needed. |
equalsize | false | true | java.lang.String | This attribute can be used to make the children of the element equal in size. |
flags | false | true | java.lang.String | A set of flags used for miscellaneous purposes. Two flags are defined, which may be the value of this attribute. |
flex | false | true | java.lang.String | Control flexibility. |
height | false | true | java.lang.String | The height of the element in pixels. It is recommended that the CSS height property be used instead. |
hidden | false | true | java.lang.String | If set to true, the element is not displayed. This is similar to setting the CSS display property to 'none'. |
insertafter | false | true | java.lang.String | When an element is in an overlay, the insertafter attribute specifies the id of the element in the base window that the element should appear after. |
insertbefore | false | true | java.lang.String | When an element is in an overlay, the insertbefore attribute specifies the id of the element in the base window that the element should appear before. |
left | false | true | java.lang.String | For elements placed within a stack, specifies the position of the left edge of the element. |
maxheight | false | true | java.lang.String | The maximum height of the element. This corresponds to the max-height CSS property. |
maxwidth | false | true | java.lang.String | The maximum width of the element. This corresponds to the max-width CSS property. |
menu | false | true | java.lang.String | Alternate name for the popup attribute, but also has a corresponding script property 'menu'. |
minheight | false | true | java.lang.String | The minimum height of the element. This corresponds to the min-height CSS property. |
minwidth | false | true | java.lang.String | The minimum width of the element. This corresponds to the min-width CSS property. |
mousethrough | false | true | java.lang.String | Determines whether mouse events are passed through each element of the element until one responds to it. |
observes | false | true | java.lang.String | Set to an id of a broadcaster element that is being observed by the element. If an attribute changes in the broadcaster it is also changed in the observer. |
onblur | false | true | java.lang.String | The opposite of the focus event, the blur event is passed just as an element loses the focus. |
onclick | false | true | java.lang.String | This event is sent when a mouse button is pressed and released. You can determine which mouse button was clicked by retrieving the button property of the event object. This event is also sent when the user double-clicks with the mouse. The detail property specifies how many clicks occured. You can also check for triple-clicks in a similar manner. For buttons and menus, you should use oncommand instead. |
oncommand | false | true | java.lang.String | This event handler is called when an element is activated. How it is activated varies for each element and in many cases, there are several ways to activate an element. For example, a button can be activated by clicking on it with the mouse or by pressing ENTER while it has the focus. Menus can be activated by selecting them with the mouse or by pressing a shortcut key. You should always use the oncommand event instead of onclick because it will be called in all of the needed cases. |
oncommandupdate | false | true | java.lang.String | This event occurs when a command update occurs. You would use this to update the disabled status of items. |
oncontextmenu | false | true | java.lang.String | This event is sent to an element when the user requests to open the context menu for the element. The action to do this varies by platform, but it will typically be a right click. This handler is usually used to dynamically set the commands on a menu when the user requests to display it, or you can use onpopupshowing event. Returning false from this event handler prevents the popup from appearing. |
ondblclick | false | true | java.lang.String | This event is like the click event except it is only sent when the user double clicks with the mouse. This is an alternative to checking the detail property in the click event. |
ondragdrop | false | true | java.lang.String | This event is sent when the user releases the mouse button to drop an object being dragged. The element, if it accepts the drop, should respond in some manner such inserting the dragged object into itself. |
ondragenter | false | true | java.lang.String | The dragenter event is sent when the mouse pointer first moves over an element during a drag. It is similar to the mouseover event but occurs while dragging. |
ondragexit | false | true | java.lang.String | This event is sent when the mouse pointer moves away from an element during a drag. It is also called after a drop on an element. It is similar to the mouseout event but occurs during a drag. |
ondraggesture | false | true | java.lang.String | This event is sent when the user starts dragging the element, usually by holding down the mouse button and moving the mouse. |
ondragover | false | true | java.lang.String | Related to the mousemove event, this event is sent while something is being dragged over an element. The handler should indicate whether the object being dragged can be dropped. |
onfocus | false | true | java.lang.String | The focus event is sent to an element when it receives the focus. Once an element has the focus, keyboard events are sent to it. The focus can be changed by clicking on an element or by pressing TAB to switch to the next element is sequence. |
onkeydown | false | true | java.lang.String | The keydown event is sent to an element that has the focus and a key is pressed but not released. |
onkeypress | false | true | java.lang.String | The keypress event is sent to an element that has the focus and a key is pressed and released. When the user presses a key, the keydown event is first sent, followed by the keypress event and then the keyup event. In a textbox, a user normally can hold down a key to repeat a character In this case, multiple sets of key events are sent as if the user rapidly pressed the same key repeatedly. |
onkeyup | false | true | java.lang.String | The keyup event is sent to an element that has the focus and a key is released. |
onmousedown | false | true | java.lang.String | This event is sent when the mouse is pressed on an element but not released. |
onmousemove | false | true | java.lang.String | This event is sent repeatedly as the mouse is moved over an element. |
onmouseout | false | true | java.lang.String | This mouseout event is sent to an element when the user moves the mouse outside the element. This event is the reverse of onmouseover. |
onmouseover | false | true | java.lang.String | This event is sent to an element when the mouse first moves over an element. You can use this event to provide feedback to the user. |
onmouseup | false | true | java.lang.String | This event is sent when the mouse is released on an element. |
onunderflow | false | true | java.lang.String | This event is sent to an element when there becomes enough space to display it at full size. This applies to boxes and other layout elements. |
ordinal | false | true | java.lang.String | An integer which specifies the position of the element within its parent. |
orient | false | true | java.lang.String | Used to specify whether the children of the element are oriented horizontally or vertically.(horizontal,vertical) |
pack | false | true | java.lang.String | The pack attribute specifies how child elements of the box are aligned, when the size of the box is larger than the total size of the children.(start,center,end) |
persist | false | true | java.lang.String | A space separated list of attributes that are maintained when the window is closed. |
popup | false | true | java.lang.String | Should be set to the value of the id of the popup element that should appear when the user clicks on the element. |
position | false | true | java.lang.String | When an element is in an overlay, the position is an index where the child is inserted. |
preferenceeditable | false | true | java.lang.String | If true, the element may be used as one that modifies a preference in a prefwindow. |
ref | false | true | java.lang.String | For template generated elements, this attribute is used to specify the root RDF node where content generation begins. |
removeelement | false | true | java.lang.String | When placed on an element in an overlay, it indicates that the element in the base file should be removed from the window. |
sortDirection | false | true | java.lang.String | Set this attribute to set the direction the column is sorted. The user may change the sort direction by clicking the column headers (ascending,descending, natural). |
sortResource | false | true | java.lang.String | For template-generated content, this specifies the sort key, if you would like the content to be sorted. |
sortResource2 | false | true | java.lang.String | A secondary key for sorted content. |
statustext | false | true | java.lang.String | Used to set the text that appears on the status bar when the user moves the mouse over the element. |
style | false | true | java.lang.String | The style. |
styleClass | false | true | java.lang.String | The style class. |
template | false | true | java.lang.String | For template generated elements, this attribute may optionally be placed on the root node (the element with the datasources attribute) to refer to a template that exists elsewhere in the XUL code. |
tooltip | false | true | java.lang.String | Should be set to the value of the id of the popup element that should be used as a tooltip window when the mouse hovers over the element for a moment. |
tooltiptext | false | true | java.lang.String | Used to set the text which appears in the tooltip when the user moves the mouse over the element. |
top | false | true | java.lang.String | For elements placed within a stack, specifies the position of the top edge of the element. |
updateSmoothly | false | true | java.lang.String | updateSmoothly to true adds a UpdateZoneCommand to the bridge for the associated component. other values are false or an EL expression returning a boolean value |
uri | false | true | java.lang.String | For template-generated content, the attribute should be placed on the element where content generation should begin. |
waitcursor | false | true | java.lang.String | Set this attribute to true to have the cursor switch to a waiting cursor while the mouse is hovering over it. |
width | false | true | java.lang.String | The width of the element in pixels. It is recommended that the CSS width property be used instead. |