Bandpopup"

From Documentation
Line 3: Line 3:
 
= Bandpopup =
 
= Bandpopup =
  
*Demonstration: [http://www.zkoss.org/zkdemo/userguide/#f6 Bandpopup]
+
*Demonstration: [http://www.zkoss.org/zkdemo/combobox/customizable_combobox Bandbox]
 
*Java API: <javadoc>org.zkoss.zul.Bandpopup</javadoc>
 
*Java API: <javadoc>org.zkoss.zul.Bandpopup</javadoc>
 
*JavaScript API: <javadoc directory="jsdoc">zul.inp.Bandpopup</javadoc>
 
*JavaScript API: <javadoc directory="jsdoc">zul.inp.Bandpopup</javadoc>
 +
*Style Guide: [http://books.zkoss.org/wiki/ZK_Style_Guide/XUL_Component_Specification/Bandpopup Bandpopup]
  
 
= Employment/Purpose =
 
= Employment/Purpose =
Line 48: Line 49:
 
</source>
 
</source>
  
=Supported events=
+
=Supported Events=
  
 
{| border="1" | width="100%"
 
{| border="1" | width="100%"
Line 57: Line 58:
 
| None
 
| None
 
|}
 
|}
 +
*Inherited Supported Events: [[ZK_Component_Reference/Base_Components/XulElement#Supported_Events | XulElement]]
 +
  
 
=Supported Children=
 
=Supported Children=
  
  *NONE
+
  *All
  
=Use cases=
+
=Use Cases=
  
 
{| border='1px' | width="100%"
 
{| border='1px' | width="100%"

Revision as of 08:00, 16 November 2010

Bandpopup

Employment/Purpose

The popup that belongs to a Bandbox instance.

Developer usually listen to the onOpen event that is sent to Bandbox and then creates proper components as children of this component.

Example

ZKComRef Bandbox Example.png

   
<bandbox id="bd">
	<bandpopup>
		<vbox>
			<hbox>
				Search
				<textbox />
			</hbox>
			<listbox width="200px"
				onSelect="bd.value=self.selectedItem.label;    bd.closeDropdown();">
				<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

Name
Event Type
None None


Supported Children

*All

Use Cases

Version Description Example Location
     

Version History

Version Date Content
     



Last Update : 2010/11/16

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.