JAL-1807 test
[jalviewjs.git] / bin / jalview / math / AlignmentDimension.js
1 Clazz.declarePackage ("jalview.math");
2 c$ = Clazz.decorateAsClass (function () {
3 this.width = 0;
4 this.height = 0;
5 Clazz.instantialize (this, arguments);
6 }, jalview.math, "AlignmentDimension");
7 Clazz.makeConstructor (c$, 
8 function (width, height) {
9 this.width = width;
10 this.height = height;
11 }, "~N,~N");
12 Clazz.defineMethod (c$, "getWidth", 
13 function () {
14 return this.width;
15 });
16 Clazz.defineMethod (c$, "setWidth", 
17 function (width) {
18 this.width = width;
19 }, "~N");
20 Clazz.defineMethod (c$, "getHeight", 
21 function () {
22 return this.height;
23 });
24 Clazz.defineMethod (c$, "setHeight", 
25 function (height) {
26 this.height = height;
27 }, "~N");