void createWidget() { text = ""; startOffset = -1; if (parent.getIME() == null) { parent.setIME(this); } }
void releaseParent() { super.releaseParent(); if (this == parent.getIME()) parent.setIME(null); }
int /*long*/ imHandle() { return parent.imHandle(); }