Package org.zkoss.zul

Class Combobutton

All Implemented Interfaces:
Serializable, Cloneable, Component, Disable, Scope, Uploadable, ComponentCtrl

public class Combobutton extends Button
A combo button. A combo button consists of a button Combobutton and a popup window Popup. It is similar to Bandbox except the input box is changed to button.

Default getZclass(): z-combobutton. If AbstractComponent.getMold() is toolbar, "z-combobutton-toolbar" is assumed.(since 6.5.0)

Events: onClick
Developers can listen to the onClick event.

Events: onOpen
Developers can listen to the onOpen event and initializes it when OpenEvent.isOpen() is true, and/or clean up if false.

Note: to have better performance, onOpen is sent only if a non-deferrable event listener is registered (see Deferrable).

Since:
6.0.0
Author:
benbai
See Also: