#include <scim_compose_key.h>
Inheritance diagram for scim::ComposeKeyInstance:
Public Member Functions | |
ComposeKeyInstance (ComposeKeyFactory *factory, const String &encoding, int id=-1) | |
virtual | ~ComposeKeyInstance () |
virtual bool | process_key_event (const KeyEvent &key) |
Process a key event. | |
virtual void | move_preedit_caret (unsigned int pos) |
Move the preedit caret in the preedit string. | |
virtual void | select_candidate (unsigned int index) |
Select a candidate in current lookup table. | |
virtual void | update_lookup_table_page_size (unsigned int page_size) |
Update the page size of current lookup table. | |
virtual void | lookup_table_page_up () |
Flip the lookup table to the previous page. | |
virtual void | lookup_table_page_down () |
Flip the lookup table to the next page. | |
virtual void | reset () |
Reset this engine instance. | |
virtual void | focus_in () |
Focus in this engine instance. | |
virtual void | focus_out () |
Focus out this engine instance. | |
virtual void | trigger_property (const String &property) |
Trigger a property. |
|
|
|
|
|
Process a key event.
Implements scim::IMEngineInstanceBase. |
|
Move the preedit caret in the preedit string.
Reimplemented from scim::IMEngineInstanceBase. |
|
Select a candidate in current lookup table. When user click a candidate directly, this method will be invoked by FrontEnd.
Reimplemented from scim::IMEngineInstanceBase. |
|
Update the page size of current lookup table. In the next time, the lookup table should page down by this size.
Reimplemented from scim::IMEngineInstanceBase. |
|
Flip the lookup table to the previous page. The method will be invoked by FrontEnd when user click the lookup table page up button. Reimplemented from scim::IMEngineInstanceBase. |
|
Flip the lookup table to the next page. The method will be invoked by FrontEnd when user click the lookup table page down button. Reimplemented from scim::IMEngineInstanceBase. |
|
Reset this engine instance. All status of this engine instance should be reset, including the working encoding. The client encoding may have been changed before calling this method, so if the IMEngine makes use of the client's encoding information, it should check whether the encoding has been changed. IMEngineInstance could call the get_encoding () method of base class to get the client encoding. Reimplemented from scim::IMEngineInstanceBase. |
|
Focus in this engine instance. This function should update/show/hide the status area, preedit area and lookup table, and update the full width punctuation/letter state. Reimplemented from scim::IMEngineInstanceBase. |
|
Focus out this engine instance.
Reimplemented from scim::IMEngineInstanceBase. |
|
Trigger a property. This function should do some action according to the triggered property. For example toggle the input mode, etc.
Reimplemented from scim::IMEngineInstanceBase. |