Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

scim::DummyServerInstance Class Reference
[Server]

#include <scim_server.h>

Inheritance diagram for scim::DummyServerInstance:

Inheritance graph
[legend]
Collaboration diagram for scim::DummyServerInstance:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 DummyServerInstance (DummyServerFactory *factory, const String &encoding, int id=-1)
virtual ~DummyServerInstance ()
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_lookup_table (unsigned int item)
 Select the item 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 reset ()
 Reset this server instance.

virtual void focus_in ()
 Focus in this server instance.

virtual void focus_out ()
 Focus out this server instance.

virtual void toggle_full_width_punctuation ()
 Toggle full/half width punctuation state.

virtual void toggle_full_width_letter ()
 Toggle full/half width letter state.

virtual void toggle_input_status ()
 Toggle the current input status of this server instance.


Constructor & Destructor Documentation

scim::DummyServerInstance::DummyServerInstance DummyServerFactory factory,
const String encoding,
int  id = -1
 

virtual scim::DummyServerInstance::~DummyServerInstance  )  [virtual]
 


Member Function Documentation

virtual bool scim::DummyServerInstance::process_key_event const KeyEvent key  )  [virtual]
 

Process a key event.

Parameters:
key - the key event to be processed.
Returns:
true if the event is processed, otherwise the event is not processed and should be forward to client application.

Implements scim::ServerInstanceBase.

virtual void scim::DummyServerInstance::move_preedit_caret unsigned int  pos  )  [virtual]
 

Move the preedit caret in the preedit string.

Parameters:
pos - the new position that user requested.

Implements scim::ServerInstanceBase.

virtual void scim::DummyServerInstance::select_lookup_table unsigned int  item  )  [virtual]
 

Select the item in current lookup table.

Parameters:
item - the item to be selected in current page.

Implements scim::ServerInstanceBase.

virtual void scim::DummyServerInstance::update_lookup_table_page_size unsigned int  page_size  )  [virtual]
 

Update the page size of current lookup table.

In the next time, the lookup table should page down by this size.

Parameters:
page_size - the new size of current page.

Implements scim::ServerInstanceBase.

virtual void scim::DummyServerInstance::reset  )  [virtual]
 

Reset this server instance.

All status of this server instance should be reset, including the working encoding.

Implements scim::ServerInstanceBase.

virtual void scim::DummyServerInstance::focus_in  )  [virtual]
 

Focus in this server instance.

This function should update/show/hide the status area, preedit area and lookup table, and update the full width punctuation/letter state.

Implements scim::ServerInstanceBase.

virtual void scim::DummyServerInstance::focus_out  )  [virtual]
 

Focus out this server instance.

Implements scim::ServerInstanceBase.

virtual void scim::DummyServerInstance::toggle_full_width_punctuation  )  [virtual]
 

Toggle full/half width punctuation state.

Implements scim::ServerInstanceBase.

virtual void scim::DummyServerInstance::toggle_full_width_letter  )  [virtual]
 

Toggle full/half width letter state.

Implements scim::ServerInstanceBase.

virtual void scim::DummyServerInstance::toggle_input_status  )  [virtual]
 

Toggle the current input status of this server instance.

This action will be called when the status button is pressed by user. It indicates that user want to switch among the input modes, eg. Chinese/English etc.

Implements scim::ServerInstanceBase.


The documentation for this class was generated from the following file:
Generated on Fri May 7 17:27:29 2004 for scim by doxygen 1.3.6