Merge branch 'master' of https://source.jalview.org/git/jalviewjs.git
[jalviewjs.git] / site / j2s / java / awt / event / InputMethodEvent.js
1 Clazz.declarePackage ("java.awt.event");
2 Clazz.load (["java.awt.AWTEvent"], "java.awt.event.InputMethodEvent", null, function () {
3 c$ = Clazz.decorateAsClass (function () {
4 this.when = 0;
5 this.text = null;
6 this.committedCharacterCount = 0;
7 Clazz.instantialize (this, arguments);
8 }, java.awt.event, "InputMethodEvent", java.awt.AWTEvent);
9 Clazz.defineMethod (c$, "getText", 
10 function () {
11 return this.text;
12 });
13 Clazz.defineMethod (c$, "getCommittedCharacterCount", 
14 function () {
15 return this.committedCharacterCount;
16 });
17 Clazz.defineMethod (c$, "getWhen", 
18 function () {
19 return this.when;
20 });
21 Clazz.defineStatics (c$,
22 "INPUT_METHOD_FIRST", 1100,
23 "INPUT_METHOD_TEXT_CHANGED", 1100,
24 "CARET_POSITION_CHANGED", 1101,
25 "INPUT_METHOD_LAST", 1101);
26 });