?? usemacro2.zul
字號:
<?xml version="1.0" encoding="UTF-8"?><?component name="username" macroURI="macro.zul"?><!--usemacro.zul{{IS_NOTE Purpose: Description: History: Mon May 22 18:02:40 2006, Created by tomyeh}}IS_NOTECopyright (C) 2006 Potix Corporation. All Rights Reserved.{{IS_RIGHT}}IS_RIGHT--><window id="wnd"> <username id="ua"/> <username label="Account"/> <button label="Create Manullay by Definition"> <attribute name="onClick">{ Component ua = page.getComponentDefinition("username", false).newInstance(page, null); ua.setParent(wnd); ua.applyProperties(); ua.afterCompose(); }</attribute> </button> <button label="Serialize Current Desktop"> <attribute name="onClick">{ import java.io.*; ByteArrayOutputStream boa = new ByteArrayOutputStream(); new ObjectOutputStream(boa).writeObject(desktop); new Label(boa.toByteArray().length+" bytes copied").setParent(vb); }</attribute> </button> <vbox id="vb"/></window>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -