combobox.zul
来自「非常接近C/S操作方式的Java Ajax框架-ZK 用ZK框架使你的B/S应」· ZUL 代码 · 共 77 行
ZUL
77 行
<?xml version="1.0" encoding="UTF-8"?><!--combobox.zul{{IS_NOTE Purpose: Description: History: Mon Dec 19 20:54:43 2005, Created by tomyeh}}IS_NOTECopyright (C) 2005 Potix Corporation. All Rights Reserved.{{IS_RIGHT}}IS_RIGHT--><window id="demo"> <vbox width="100%"> <html> <attribute name="content"><![CDATA[ <h4>Comboboxes</h4> <p>Combobox is a special text box that allows user to select the text from a list of combobox items. Press Alt+DOWN to drop the list, then use UP and DOWN to select an item.</p> ]]></attribute> </html> <groupbox mold="3d" width="100%"> <caption label="View"><button label="Reload" height="18px" use="org.zkoss.zkdemo.userguide.ReloadButton"/></caption> <window id="view"> </window> </groupbox> <groupbox id="tryView" mold="3d" open="false" width="100%"> <caption label="Source"><button label="Try me!" use="org.zkoss.zkdemo.userguide.TryMeButton"/></caption> <textbox id="codeView" use="org.zkoss.zkdemo.userguide.CodeView" class="code" rows="20" width="100%"> <attribute name="value"><![CDATA[<window title="checkbox demo" border="normal"> Combobox: <vbox> <combobox> <comboitem label="Simple and Rich"/> <comboitem label="Cool!"/> <comboitem label="Thumbs Up!"/> </combobox> <combobox> <comboitem label="Simple and Rich" description="The simplest way to make Web applications rich"/> <comboitem label="Cool!" description="The coolest technology"/> <comboitem label="Ajax and RIA" description="Rich Internet Application by Ajax"/> </combobox> <combobox> <comboitem label="Simple and Rich" image="/img/coffee.gif" description="The simplest way to make Web applications rich"/> <comboitem label="Cool!" image="/img/corner.gif" description="The coolest technology"/> <comboitem label="Ajax and RIA" image="/img/cubfirs.gif" description="Rich Internet Application by Ajax"/> </combobox> <separator bar="true"/> Auto-complete: <combobox id="combo" autodrop="true" use="org.zkoss.zkdemo.userguide.AutoComplete"/> <hbox> <checkbox checked="true" onCheck="combo.autodrop = self.checked" label="auto drop popup when typing"/> <checkbox checked="true" onCheck="combo.buttonVisible = self.checked" label="button visible"/> </hbox> </vbox></window> ]]></attribute> </textbox> </groupbox> </vbox></window>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?