⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 comps.zul

📁 ZK是一个Ajax Java Web框架
💻 ZUL
字号:
<?xml version="1.0" encoding="UTF-8"?><!--comps.zul{{IS_NOTE	Purpose:			Description:			History:		Thu Oct  9 17:52:48     2008, Created by jumperchen}}IS_NOTECopyright (C) 2008 Potix Corporation. All Rights Reserved.{{IS_RIGHT}}IS_RIGHT--><window id="win" title="Show ZUL Components" border="normal"
	width="200px" height="400px" contentStyle="overflow:auto;">
	<button label="Show ME">
		<attribute name="onClick">
		import org.zkoss.zk.ui.metainfo.*;
		import java.util.*;
		
		new Separator().setParent(win);
		LanguageDefinition ld = this.page.getLanguageDefinition();
		ComponentDefinitionMap map = ld.getComponentDefinitionMap();
		ArrayList al = new ArrayList();
		al.addAll(map.getNames());
		Collections.sort(al);
		for(Iterator it = al.iterator(); it.hasNext();) {
			new Label(it.next()).setParent(win);
			new Separator().setParent(win);
		}
		new Label("Total Size: " + map.getNames().size()).setPage(win.getPage());
		self.detach();
		</attribute>
	</button>
</window>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -