?? comps.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 + -