In this section, you will learn how to browse VJET elements within the VJETProject project.
vjo.ctype("test.Test")
.props({
//> public boolean isOpenAccount
isOpenAccount: function() {
var acc = true; //< boolean
return acc;
}
})
.protos({
open: true, //< private boolean
balance: undefined, //< private double
//> public boolean
isOpen: function() {
return this.open ;
},
//> public void setOpen(boolean open)
setOpen: function(open) {
this.open = open ;
},
//> public void constructs(boolean open, double balance)
constructs: function(open, balance) {
this.setOpen(open) ;
this.balance = balance ;
}
})
.endType();
Test.js.
The picture below shows the example of the Script Explorer:

Note: Script Explorer shows the elements of the source code file. The public type and its members (fields and methods) appear in the tree.
