git://source.jalview.org
/
jalviewjs.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
JAL-1807 test
[jalviewjs.git]
/
bin
/
javajs
/
awt
/
Dimension.js
1
Clazz.declarePackage ("javajs.awt");
2
c$ = Clazz.decorateAsClass (function () {
3
this.width = 0;
4
this.height = 0;
5
Clazz.instantialize (this, arguments);
6
}, javajs.awt, "Dimension");
7
Clazz.makeConstructor (c$,
8
function (w, h) {
9
this.set (w, h);
10
}, "~N,~N");
11
Clazz.defineMethod (c$, "set",
12
function (w, h) {
13
this.width = w;
14
this.height = h;
15
return this;
16
}, "~N,~N");