/** * Handle input from some type of device-dependent input method. This could be input from * something such as T9, or a phonebook lookup, etc. * * @param str the text to handle as direct input * @return true if this window or one of its layers processed the event */ public boolean methodInput(String str) { CLayer layer; synchronized (layers) { for (CLayerElement le = layers.getTop(); le != null; le = le.getLower()) { layer = le.getLayer(); if (layer.visible && layer.supportsInput && layer.methodInput(str)) { return true; } } } // sync return false; }