Bandpopup"
From Documentation
Tmillsclare (talk | contribs) m (Created page with 'init') |
m ((via JWB)) |
||
(15 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{ZKComponentReferencePageHeader}} | |
+ | |||
+ | = Bandpopup = | ||
+ | |||
+ | *Demonstration: [http://www.zkoss.org/zkdemo/combobox/customizable_combobox Bandbox] | ||
+ | *Java API: <javadoc>org.zkoss.zul.Bandpopup</javadoc> | ||
+ | *JavaScript API: <javadoc directory="jsdoc">zul.inp.Bandpopup</javadoc> | ||
+ | *Style Guide: [[ZK_Style_Guide/XUL_Component_Specification/Bandpopup| Bandpopup]] | ||
+ | |||
+ | = Employment/Purpose = | ||
+ | The popup that belongs to a <code>Bandbox</code> instance. | ||
+ | |||
+ | Developers usually listen to the <code>onOpen</code> event that is sent to <code>Bandbox</code> and then creates proper components as children of this component. | ||
+ | |||
+ | = Example = | ||
+ | [[Image:ZKComRef_Bandbox_Example.png]] | ||
+ | |||
+ | <source lang="xml" > | ||
+ | |||
+ | <bandbox id="bd"> | ||
+ | <bandpopup> | ||
+ | <vbox> | ||
+ | <hbox> | ||
+ | Search | ||
+ | <textbox /> | ||
+ | </hbox> | ||
+ | <listbox width="200px" | ||
+ | onSelect="bd.value=self.selectedItem.label;bd.close();"> | ||
+ | <listhead> | ||
+ | <listheader label="Name" /> | ||
+ | <listheader label="Description" /> | ||
+ | </listhead> | ||
+ | <listitem> | ||
+ | <listcell label="John" /> | ||
+ | <listcell label="CEO" /> | ||
+ | </listitem> | ||
+ | <listitem> | ||
+ | <listcell label="Joe" /> | ||
+ | <listcell label="Engineer" /> | ||
+ | </listitem> | ||
+ | <listitem> | ||
+ | <listcell label="Mary" /> | ||
+ | <listcell label="Supervisor" /> | ||
+ | </listitem> | ||
+ | </listbox> | ||
+ | </vbox> | ||
+ | </bandpopup> | ||
+ | </bandbox> | ||
+ | </source> | ||
+ | |||
+ | =Supported Events= | ||
+ | |||
+ | {| class='wikitable' | width="100%" | ||
+ | ! <center>Name</center> | ||
+ | ! <center>Event Type</center> | ||
+ | |- | ||
+ | | None | ||
+ | | None | ||
+ | |} | ||
+ | *Inherited Supported Events: [[ZK_Component_Reference/Base_Components/XulElement#Supported_Events | XulElement]] | ||
+ | |||
+ | |||
+ | =Supported Children= | ||
+ | |||
+ | *All | ||
+ | |||
+ | =Use Cases= | ||
+ | |||
+ | {| class='wikitable' | width="100%" | ||
+ | ! Version !! Description !! Example Location | ||
+ | |- | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | |} | ||
+ | |||
+ | =Version History= | ||
+ | {{LastUpdated}} | ||
+ | {| class='wikitable' | width="100%" | ||
+ | ! Version !! Date !! Content | ||
+ | |- | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | |} | ||
+ | |||
+ | {{ZKComponentReferencePageFooter}} |
Latest revision as of 10:41, 12 January 2022
Bandpopup
Employment/Purpose
The popup that belongs to a Bandbox
instance.
Developers usually listen to the onOpen
event that is sent to Bandbox
and then creates proper components as children of this component.
Example
<bandbox id="bd">
<bandpopup>
<vbox>
<hbox>
Search
<textbox />
</hbox>
<listbox width="200px"
onSelect="bd.value=self.selectedItem.label;bd.close();">
<listhead>
<listheader label="Name" />
<listheader label="Description" />
</listhead>
<listitem>
<listcell label="John" />
<listcell label="CEO" />
</listitem>
<listitem>
<listcell label="Joe" />
<listcell label="Engineer" />
</listitem>
<listitem>
<listcell label="Mary" />
<listcell label="Supervisor" />
</listitem>
</listbox>
</vbox>
</bandpopup>
</bandbox>
Supported Events
None | None |
- Inherited Supported Events: XulElement
Supported Children
*All
Use Cases
Version | Description | Example Location |
---|---|---|
Version History
Version | Date | Content |
---|---|---|