- 授权协议: 未知
- 开发语言: Java
- 操作系统: 跨平台
- 软件首页: http://koalagml.sourceforge.net/
软件介绍
koalaGML用类似于jsp的xml语法来允许开发人员从XML文档(这一文档定义了界面布局与内容)中快速生成功能丰富的图形用户界面。
实现上面这个界面的代码是:
<!--
Document : combobox2.xml
Created on : October 28, 2002, 9:56 AM
Author : Ricardo Zuasti
Description:
Combobox usage example II.
-->
<form language="java" width="230" height="200" locationx="0" locationy="0" resizable="yes">
<head>
<title>
koaLaGML comboBox example
</title>
</head>
<body>
<space height="10" />
<combobox id="combo1" selected="2" width="150" height="25" enable="yes">
<option value="1" caption="bird" />
<option value="2" caption="pig" />
</combobox>
<space height="10" />
<inputtext id="txtCaption" width="150" height="25" text="caption" enable="yes" />
<inputtext id="txtValue" width="150" height="25" text="value" enable="yes" />
<space height="10" />
<button caption="add" enable="yes" fork="no">
<scriptlet type="onclick" language="java">
form.getComboBox("combo1").addItem(
form.getInputText("txtCaption").getText(),
form.getInputText("txtValue").getText());
</scriptlet>
</button>
<space height="10" />
<button caption="show" enable="yes" fork="no">
<scriptlet type="onclick" language="java">
form.getLabel("label1").setCaption(
form.getComboBox("combo1").getCaption() + " - " +
form.getComboBox("combo1").getValue());
</scriptlet>
</button>
<space height="10" />
<label id="label1" caption="make a choice and enjoy it" />
<space height="10" />
</body>
</form>
Web开发秘方
Brian P. Hogan、Chris Warren、Mike Weber、Chris Johnson、Aaron Godin / 七印部落 / 华中科技大学出版社 / 2013-7-10 / 66.00元
猜猜硅谷的前端工程师怎么折腾JS的?想知道无限下拉的列表怎么做吗?你知道DropBox可以当Web服务器用吗?你知道怎么做出跨平台的幻灯片效果吗?不借助插件,怎样在移动设备上实现动画效果?怎样快速搭建和测试HTML电子邮箱?怎样制作跨PC和移动设备显示的应用界面?怎样利用最新的JavaScript框架(Backbone和Knockout)提高应用的响应速度?怎样有效利用CoffeeScript和S......一起来看看 《Web开发秘方》 这本书的介绍吧!
