Example #1
0
 void createWidget() {
   text = "";
   startOffset = -1;
   if (parent.getIME() == null) {
     parent.setIME(this);
   }
 }
Example #2
0
 void releaseParent() {
   super.releaseParent();
   if (this == parent.getIME()) parent.setIME(null);
 }