org.rococoa.cocoa.appkit.protocols
Interface NSInputServiceProvider

All Superinterfaces:
ObjCObject
All Known Implementing Classes:
NSInputServer

public interface NSInputServiceProvider
extends ObjCObject

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_ _NSCLASS_
           
 
Method Summary
 void activeConversationChanged_toNewConversation(ObjCObject sender, NSInteger newConversation)
          Original signature : -(void)activeConversationChanged:(id) toNewConversation:(NSInteger)
native declaration : NSInputServer.h:51
 void activeConversationWillChange_fromOldConversation(ObjCObject sender, NSInteger 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(Selector aSelector, ObjCObject sender)
          Original signature : -(void)doCommandBySelector:(SEL) client:(id)
native declaration : NSInputServer.h:18
 void inputClientBecomeActive(ObjCObject 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(ObjCObject sender)
          Original signature : -(void)inputClientDisabled:(id)
native declaration : NSInputServer.h:46
 void inputClientEnabled(ObjCObject sender)
          These methods are sent by current input manger when it's enabled & the server returns YES to canBeDisabled.
 void inputClientResignActive(ObjCObject sender)
          Original signature : -(void)inputClientResignActive:(id)
native declaration : NSInputServer.h:41
 void insertText_client(ObjCObject aString, ObjCObject sender)
          Original signature : -(void)insertText:(id) client:(id)
native declaration : NSInputServer.h:17
 void markedTextAbandoned(ObjCObject sender)
          Original signature : -(void)markedTextAbandoned:(id)
native declaration : NSInputServer.h:19
 void terminate(ObjCObject sender)
          Original signature : -(void)terminate:(id)
native declaration : NSInputServer.h:21
 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
native declaration : NSInputServer.h:32
 boolean wantsToInterpretAllKeystrokes()
          Many existing input servers have built-in key bindings that affect what happens within the marked region.
 
Methods inherited from interface org.rococoa.ObjCObject
id
 

Field Detail

_NSCLASS_

static final NSInputServiceProvider._class_ _NSCLASS_
Method Detail

insertText_client

void insertText_client(ObjCObject aString,
                       ObjCObject sender)
Original signature : -(void)insertText:(id) client:(id)
native declaration : NSInputServer.h:17


doCommandBySelector_client

void doCommandBySelector_client(Selector aSelector,
                                ObjCObject sender)
Original signature : -(void)doCommandBySelector:(SEL) client:(id)
native declaration : NSInputServer.h:18


markedTextAbandoned

void markedTextAbandoned(ObjCObject sender)
Original signature : -(void)markedTextAbandoned:(id)
native declaration : NSInputServer.h:19


terminate

void terminate(ObjCObject sender)
Original signature : -(void)terminate:(id)
native declaration : NSInputServer.h:21


canBeDisabled

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


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
native declaration : NSInputServer.h:29


wantsToHandleMouseEvents

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


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
native declaration : NSInputServer.h:36


inputClientBecomeActive

void inputClientBecomeActive(ObjCObject 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)
native declaration : NSInputServer.h:40


inputClientResignActive

void inputClientResignActive(ObjCObject sender)
Original signature : -(void)inputClientResignActive:(id)
native declaration : NSInputServer.h:41


inputClientEnabled

void inputClientEnabled(ObjCObject 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)
native declaration : NSInputServer.h:45


inputClientDisabled

void inputClientDisabled(ObjCObject sender)
Original signature : -(void)inputClientDisabled:(id)
native declaration : NSInputServer.h:46


activeConversationWillChange_fromOldConversation

void activeConversationWillChange_fromOldConversation(ObjCObject sender,
                                                      NSInteger oldConversation)
These methods are sent by input manager when the conversation within a particular sender changes.
Original signature : -(void)activeConversationWillChange:(id) fromOldConversation:(NSInteger)
native declaration : NSInputServer.h:50


activeConversationChanged_toNewConversation

void activeConversationChanged_toNewConversation(ObjCObject sender,
                                                 NSInteger newConversation)
Original signature : -(void)activeConversationChanged:(id) toNewConversation:(NSInteger)
native declaration : NSInputServer.h:51



Copyright © 2009. All Rights Reserved.