org.rococoa.cocoa.appkit.protocols
Interface NSInputServiceProvider

All Known Implementing Classes:
NSInputServer

public interface NSInputServiceProvider

These methods must be implemented by the delegate.
This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java, Rococoa, or JNA.


Nested Class Summary
static class NSInputServiceProvider._class_
           
static interface NSInputServiceProvider._static_
           
 
Field Summary
static NSInputServiceProvider._class_ _CLASS_
           
 
Method Summary
 void activeConversationChanged_toNewConversation(org.rococoa.ID sender, int newConversation)
           
 void activeConversationWillChange_fromOldConversation(org.rococoa.ID sender, int oldConversation)
          These methods are sent by input manager when the conversation within a particular sender changes.
 boolean canBeDisabled()
          Normally canBeDisabled returns YES and is implemented that way in the abstract NSInputServer class.
 void doCommandBySelector_client(org.rococoa.Selector aSelector, org.rococoa.ID sender)
           
 void inputClientBecomeActive(org.rococoa.ID sender)
          These methods are sent by current input manager when the application changes state so that the server can update its concept of who's current.
 void inputClientDisabled(org.rococoa.ID sender)
           
 void inputClientEnabled(org.rococoa.ID sender)
          These methods are sent by current input manger when it's enabled & the server returns YES to canBeDisabled.
 void inputClientResignActive(org.rococoa.ID sender)
           
 void insertText_client(org.rococoa.ID aString, org.rococoa.ID sender)
           
 void markedTextAbandoned(org.rococoa.ID sender)
           
 void terminate(org.rococoa.ID sender)
           
 boolean wantsToDelayTextChangeNotifications()
          This should return YES when the input method (language) prefers to delay text change notification 'till the input is actually committed.
 boolean wantsToHandleMouseEvents()
          Input servers that wants to receive mouse notifications should return YES & implement NSInputServerMouseTrackers protocol
Original signature : -(BOOL)wantsToHandleMouseEvents
 boolean wantsToInterpretAllKeystrokes()
          Many existing input servers have built-in key bindings that affect what happens within the marked region.
 

Field Detail

_CLASS_

static final NSInputServiceProvider._class_ _CLASS_
Method Detail

insertText_client

void insertText_client(org.rococoa.ID aString,
                       org.rococoa.ID sender)

doCommandBySelector_client

void doCommandBySelector_client(org.rococoa.Selector aSelector,
                                org.rococoa.ID sender)

markedTextAbandoned

void markedTextAbandoned(org.rococoa.ID sender)

terminate

void terminate(org.rococoa.ID sender)

canBeDisabled

boolean canBeDisabled()
Normally canBeDisabled returns YES and is implemented that way in the abstract NSInputServer class.
Original signature : -(BOOL)canBeDisabled


wantsToInterpretAllKeystrokes

boolean wantsToInterpretAllKeystrokes()
Many existing input servers have built-in key bindings that affect what happens within the marked region. If such an input server wants to handle ALL key events through insertText:client:conversation: and never receive doCommandBySelector:client:conversation:, then it should respond (consistently) YES to this method. The default is NO. The processing of incoming events looks at this flag as reflected in the corresponding NSInputManager, before deciding how to deal with events. A module which responds YES to this method must be prepared to deal with arbitrary strings of Unicode characters under all circumstances whenever it is active.
Original signature : -(BOOL)wantsToInterpretAllKeystrokes


wantsToHandleMouseEvents

boolean wantsToHandleMouseEvents()
Input servers that wants to receive mouse notifications should return YES & implement NSInputServerMouseTrackers protocol
Original signature : -(BOOL)wantsToHandleMouseEvents


wantsToDelayTextChangeNotifications

boolean wantsToDelayTextChangeNotifications()
This should return YES when the input method (language) prefers to delay text change notification 'till the input is actually committed.
Original signature : -(BOOL)wantsToDelayTextChangeNotifications


inputClientBecomeActive

void inputClientBecomeActive(org.rococoa.ID sender)
These methods are sent by current input manager when the application changes state so that the server can update its concept of who's current. The actually "active" sender is the last one to have sent a senderDidBecomeActive: message. They may not arrive in the expected order.
Original signature : -(void)inputClientBecomeActive:(id)


inputClientResignActive

void inputClientResignActive(org.rococoa.ID sender)

inputClientEnabled

void inputClientEnabled(org.rococoa.ID sender)
These methods are sent by current input manger when it's enabled & the server returns YES to canBeDisabled. When disabled, the server is expected to send only insertText: or doCommandBySelector:.
Original signature : -(void)inputClientEnabled:(id)


inputClientDisabled

void inputClientDisabled(org.rococoa.ID sender)

activeConversationWillChange_fromOldConversation

void activeConversationWillChange_fromOldConversation(org.rococoa.ID sender,
                                                      int oldConversation)
These methods are sent by input manager when the conversation within a particular sender changes.
Original signature : -(void)activeConversationWillChange:(id) fromOldConversation:(NSInteger)


activeConversationChanged_toNewConversation

void activeConversationChanged_toNewConversation(org.rococoa.ID sender,
                                                 int newConversation)