org.rococoa.cocoa.appkit
Class NSInputManager

java.lang.Object
  extended by org.rococoa.cocoa.foundation.NSObject
      extended by org.rococoa.cocoa.appkit.NSInputManager
All Implemented Interfaces:
NSTextInput, NSObject, ObjCObject

public abstract class NSInputManager
extends NSObject
implements ObjCObject, NSTextInput

NSInputManager is deprecated in Mac OS X 10.6. Use NSTextInputContext instead.
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 NSInputManager._class_
           
 
Nested classes/interfaces inherited from interface org.rococoa.cocoa.appkit.protocols.NSTextInput
NSTextInput._static_
 
Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject
NSObject._static_
 
Constructor Summary
NSInputManager()
           
 
Method Summary
static NSInputManager alloc()
           
static NSInputManager createWithName_host(NSString inputServerName, NSString hostName)
          Factory method
static NSInputManager currentInputManager()
          The "current input manager" is the one that is receiving input events at the time this method is called.
static void cycleToNextInputLanguage(ObjCObject sender)
          Cycle through list of input managers.
static void cycleToNextInputServerInLanguage(ObjCObject sender)
          Original signature : +(void)cycleToNextInputServerInLanguage:(id)
native declaration : NSInputManager.h:83
static NSInputManager._class_ getNSClass()
           
abstract  boolean handleMouseEvent(NSEvent theMouseEvent)
          Original signature : -(BOOL)handleMouseEvent:(NSEvent*)
native declaration : NSInputManager.h:109
abstract  NSImage image()
          Original signature : -(NSImage*)image
native declaration : NSInputManager.h:101
abstract  NSInputManager initWithName_host(NSString inputServerName, NSString hostName)
          Original signature : -(NSInputManager*)initWithName:(NSString*) host:(NSString*)
native declaration : NSInputManager.h:85
abstract  NSString language()
          Original signature : -(NSString*)language
native declaration : NSInputManager.h:99
abstract  NSString localizedInputManagerName()
          Original signature : -(NSString*)localizedInputManagerName
native declaration : NSInputManager.h:87
abstract  void markedTextAbandoned(ObjCObject cli)
          send after abandoning
Original signature : -(void)markedTextAbandoned:(id)
native declaration : NSInputManager.h:92
static NSInputManager new_()
           
abstract  NSInputServer server()
          Original signature : -(NSInputServer*)server
native declaration : NSInputManager.h:103
abstract  boolean wantsToDelayTextChangeNotifications()
          This should return YES when the input method (language) prefers to delay text change notification 'till the input is actually committed.
abstract  boolean wantsToHandleMouseEvents()
          If corresponding input server wants to handle mouse events within marked region, this should return YES.
abstract  boolean wantsToInterpretAllKeystrokes()
          This corresponds to a server method for input managers that demand to do their own interepretation of command keys as long as they're active.
 
Methods inherited from class org.rococoa.cocoa.foundation.NSObject
as_NSObject_NSAccessibility, as_NSObject_NSAccessibilityAdditions, as_NSObject_NSApplicationScriptingDelegation, as_NSObject_NSArchiverCallback, as_NSObject_NSClassDescriptionPrimitives, as_NSObject_NSCoderMethods, as_NSObject_NSColorPanelResponderMethod, as_NSObject_NSComparisonMethods, as_NSObject_NSControlSubclassNotifications, as_NSObject_NSCopyLinkMoveHandler, as_NSObject_NSDelayedPerforming, as_NSObject_NSDeprecatedKeyValueCoding, as_NSObject_NSDeprecatedKeyValueObservingCustomization, as_NSObject_NSDeprecatedMethods, as_NSObject_NSDictionaryControllerKeyValuePair, as_NSObject_NSDistributedObjects, as_NSObject_NSDraggingDestination, as_NSObject_NSDraggingSource, as_NSObject_NSDraggingSourceDeprecated, as_NSObject_NSEditor, as_NSObject_NSEditorRegistration, as_NSObject_NSErrorRecoveryAttempting, as_NSObject_NSFileManagerFileOperationAdditions, as_NSObject_NSFontManagerDelegate, as_NSObject_NSFontManagerResponderMethod, as_NSObject_NSFontPanelValidationAdditions, as_NSObject_NSKeyValueBindingCreation, as_NSObject_NSKeyValueCoding, as_NSObject_NSKeyValueObserverNotification, as_NSObject_NSKeyValueObserverRegistration, as_NSObject_NSKeyValueObserving, as_NSObject_NSKeyValueObservingCustomization, as_NSObject_NSMenuValidation, as_NSObject_NSNibAwaking, as_NSObject_NSPasteboardOwner, as_NSObject_NSPlaceholders, as_NSObject_NSScriptClassDescription, as_NSObject_NSScripting, as_NSObject_NSScriptingComparisonMethods, as_NSObject_NSScriptKeyValueCoding, as_NSObject_NSScriptObjectSpecifiers, as_NSObject_NSThreadPerformAdditions, as_NSObject_NSURLClient, as_NSObject_NSURLConnectionDelegate, as_NSObject_NSURLDownloadDelegate, copy, create, dealloc, description, doesNotRecognizeSelector, finalize, forwardingTargetForSelector, forwardInvocation, init, isKindOfClass, isKindOfClass, methodForSelector, methodSignatureForSelector, mutableCopy, release, retain, retainCount
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.rococoa.cocoa.appkit.protocols.NSTextInput
conversationIdentifier, doCommandBySelector, hasMarkedText, insertText, markedRange, selectedRange, unmarkText, validAttributesForMarkedText
 
Methods inherited from interface org.rococoa.ObjCObject
id
 
Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject
autorelease, class_, conformsToProtocol, hash, isEqual, isMemberOfClass, isProxy, performSelector_withObject_withObject, performSelector_withObject, performSelector, respondsToSelector, self, superclass, zone
 

Constructor Detail

NSInputManager

public NSInputManager()
Method Detail

currentInputManager

public static NSInputManager currentInputManager()
The "current input manager" is the one that is receiving input events at the time this method is called. It may change out from under you, so don't cache the return value.
Original signature : +(NSInputManager*)currentInputManager
native declaration : NSInputManager.h:78


cycleToNextInputLanguage

public static void cycleToNextInputLanguage(ObjCObject sender)
Cycle through list of input managers. Called from NSKeyBindingManager via doCommandBySelector:.
Original signature : +(void)cycleToNextInputLanguage:(id)
native declaration : NSInputManager.h:82


cycleToNextInputServerInLanguage

public static void cycleToNextInputServerInLanguage(ObjCObject sender)
Original signature : +(void)cycleToNextInputServerInLanguage:(id)
native declaration : NSInputManager.h:83


initWithName_host

public abstract NSInputManager initWithName_host(NSString inputServerName,
                                                 NSString hostName)
Original signature : -(NSInputManager*)initWithName:(NSString*) host:(NSString*)
native declaration : NSInputManager.h:85


createWithName_host

public static NSInputManager createWithName_host(NSString inputServerName,
                                                 NSString hostName)
Factory method

See Also:
initWithName_host(org.rococoa.cocoa.foundation.NSString, org.rococoa.cocoa.foundation.NSString)

localizedInputManagerName

public abstract NSString localizedInputManagerName()
Original signature : -(NSString*)localizedInputManagerName
native declaration : NSInputManager.h:87


markedTextAbandoned

public abstract void markedTextAbandoned(ObjCObject cli)
send after abandoning
Original signature : -(void)markedTextAbandoned:(id)
native declaration : NSInputManager.h:92


wantsToInterpretAllKeystrokes

public abstract boolean wantsToInterpretAllKeystrokes()
This corresponds to a server method for input managers that demand to do their own interepretation of command keys as long as they're active. This will typically be called by a key binder to find out whether it shouldn't just pass along strings.
Original signature : -(BOOL)wantsToInterpretAllKeystrokes
native declaration : NSInputManager.h:97


language

public abstract NSString language()
Original signature : -(NSString*)language
native declaration : NSInputManager.h:99


image

public abstract NSImage image()
Original signature : -(NSImage*)image
native declaration : NSInputManager.h:101


server

public abstract NSInputServer server()
Original signature : -(NSInputServer*)server
native declaration : NSInputManager.h:103


wantsToHandleMouseEvents

public abstract boolean wantsToHandleMouseEvents()
If corresponding input server wants to handle mouse events within marked region, this should return YES. In that case, handleMouseEvent is sent. Otherwiese, mouse events are handled by first responder.
Original signature : -(BOOL)wantsToHandleMouseEvents
native declaration : NSInputManager.h:107


handleMouseEvent

public abstract boolean handleMouseEvent(NSEvent theMouseEvent)
Original signature : -(BOOL)handleMouseEvent:(NSEvent*)
native declaration : NSInputManager.h:109


wantsToDelayTextChangeNotifications

public abstract 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 : NSInputManager.h:113


alloc

public static NSInputManager alloc()

new_

public static NSInputManager new_()

getNSClass

public static NSInputManager._class_ getNSClass()


Copyright © 2009. All Rights Reserved.