Visit Mozilla.org

XUL:tabbox

Aus MDC

« XUL Referenz Startseite    [ Beispiele | Attribute | Eigenschaften | Methoden | Verwandte Themen ]

Ein Behälter für die Anzeige von Karteikarten ähnlichen Seiten. Das Element tabbox sollte zwei Kindelemente enthalten. Als erstes ein tabs-Element, welches je Reiter ein tab-Element enthält und als zweites ein tabpanels-Element, welches den Inhalt der Seiten aufnimmt. Diese Art von Box hat ohne weitere Angabe eine vertikale Ausrichtung.

Mehr Information in XUL Tutorial.

Attribute
eventnode, handleCtrlPageUpDown, handleCtrlTab
Eigenschaften
accessibleType, eventNode, handleCtrlPageUpDown, handleCtrlTab, selectedIndex, selectedPanel, selectedTab, tabs, tabpanels

[bearbeiten] Beispiele

<tabbox id="myTabList" selectedIndex="2">
  <tabs>
    <tab label="Erster Reiter"/>
    <tab label="Zweiter Reiter"/>
    <tab label="Weiterer Reiter"/>
    <tab label="Letzter Reiter"/>
  </tabs>
  <tabpanels>
    <tabpanel><!-- tabpanel Erste Elemente hierher --></tabpanel>
    <tabpanel><!-- tabpanel Zweite Elemente hierher --></tabpanel>
    <tabpanel><button label="Klick mich"/></tabpanel>
    <tabpanel><!-- tabpanel Vierte Elemente hierher --></tabpanel>
  </tabpanels>
</tabbox>

Bild:XUL REF tabboxes.gif

[bearbeiten] Attribute

Geerbt von XUL-Element
align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref, removeelement, sortDirection, sortResource, sortResource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width

XUL:Attribute:eventnode XUL:Attribute:handleCtrlPageUpDown XUL:Attribute:handleCtrlTab

[bearbeiten] Eigenschaften

Geerbt von XUL-Element
align, allowEvents, boxObject, builder, className, collapsed, contextMenu, controllers, currentItem, database, datasources, dir, flex, height, hidden, id, left, listBoxObject, maxHeight, maxWidth, menu, minHeight, minWidth, observes, ordinal, orient, pack, persist, ref, resource, statusText, style, tooltip, tooltipText, top, value, width

Geerbt von DOM-Element
attributes, childNodes, cloneNode, firstChild, lastChild, localName, namespaceURI, nextSibling, nodeName, nodeType, nodeValue, ownerDocument, parentNode, prefix, previousSibling, tagName

XUL:Property:accessibleType XUL:Property:eventNode XUL:Property:handleCtrlPageUpDown XUL:Property:handleCtrlTab XUL:Property:selectedIndex XUL:Property:selectedPanel XUL:Property:selectedTab XUL:Property:tabbox.tabs XUL:Property:tabpanels

[bearbeiten] Methoden

Geerbt von XUL-Element
blur, click, doCommand, focus, getElementsByAttribute

Geerbt von DOM-Element
addEventListener, appendChild, dispatchEvent, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, hasAttribute, hasAttributeNS, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeAttribute, removeAttributeNode, removeAttributeNS, removeChild, removeEventListener, replaceChild, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS

[bearbeiten] Verwandte Themen

Elemente
tabs, tab, tabpanels, tabpanel.