Represents the IME mode. You can also set the value.
When the layer is in focus, the IME switches to the mode specified here.
The values that can be set are as follows.
- Specifying imDisable disables the IME. IME cannot be used for input, and IME cannot be enabled by user operation.
- Specifying imClose disables the IME. Unlike imDisable, IME can be enabled by user operation.
- If you specify imOpen, IME is enabled.
- If imDontCare is specified, the enabled / disabled state of the IME inherits the previous state. You can enable or disable the IME by user interaction. In Japanese input, this is a general mode for allowing the user to freely enter half-width / full-width characters.
- If imSAlpha is specified, IME will be enabled and the half-width alphabet input mode will be set.
- If you specify imAlpha, IME is enabled and you are in full-width alphabet input mode.
- If you specify imHira, IME is enabled and you are in hiragana input mode.
- If imSKata is specified, IME will be enabled and the half-width katakana input mode will be set.
- If imKata is specified, IME will be enabled and the full-width Katakana input mode will be set.
- If imChinese is specified, IME will be enabled and the mode will accept double-byte Chinese input. It cannot be used in a Japanese environment.
- If imSHanguel is specified, the IME will be enabled and the mode will accept 1-byte Korean input. It cannot be used in a Japanese environment.
- If imHanguel is specified, the IME will be enabled and the mode will accept 2-byte Korean input. It cannot be used in a Japanese environment.
If not specified, imDisable will be set.