Merge branch 'master' of https://source.jalview.org/git/jalviewjs.git
[jalviewjs.git] / site / j2s / java / awt / Image.js
1 Clazz.declarePackage ("java.awt");
2 c$ = Clazz.decorateAsClass (function () {
3 this.accelerationPriority = .5;
4 Clazz.instantialize (this, arguments);
5 }, java.awt, "Image");
6 Clazz.defineMethod (c$, "getScaledInstance", 
7 function (width, height, hints) {
8 return null;
9 }, "~N,~N,~N");
10 Clazz.defineMethod (c$, "flush", 
11 function () {
12 });
13 Clazz.defineMethod (c$, "setAccelerationPriority", 
14 function (priority) {
15 }, "~N");
16 Clazz.defineMethod (c$, "getAccelerationPriority", 
17 function () {
18 return this.accelerationPriority;
19 });
20 c$.UndefinedProperty = c$.prototype.UndefinedProperty =  new Clazz._O ();
21 Clazz.defineStatics (c$,
22 "SCALE_DEFAULT", 1,
23 "SCALE_FAST", 2,
24 "SCALE_SMOOTH", 4,
25 "SCALE_REPLICATE", 8,
26 "SCALE_AREA_AVERAGING", 16);