From Documentation

Jump to: navigation, search

Thanks to the power of BeanShell, the implementation of Java classes can be done in zscript as follows.

    public class MyWindow extends Window {    
<window use="MyWindow"/>

And you can define methods in zscript

		public void sayHello(){
	<button label="Say Hello!" onClick="sayHello()" />

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.