org.rococoa.cocoa.appkit
Class NSSpellChecker

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

public abstract class NSSpellChecker
extends NSObject
implements ObjCObject

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 NSSpellChecker.__scFlags
          native declaration : NSSpellChecker.h:95
Conversion Error : /**
* Provides a menu containing contextual menu items suitable for certain kinds of detected results (notably date/time/address results).
static class NSSpellChecker._class_
           
 
Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject
NSObject._static_
 
Constructor Summary
NSSpellChecker()
           
 
Method Summary
static NSSpellChecker alloc()
           
abstract  NSObject checkGrammarOfString_startingAt_language_wrap_inSpellDocumentWithTag_details(NSString stringToCheck, NSInteger startingOffset, NSString language, boolean wrapFlag, NSInteger tag, PointerByReference details)
          Initiates a grammar-check of a string.
abstract  NSObject checkSpellingOfString_startingAt_language_wrap_inSpellDocumentWithTag_wordCount(NSString stringToCheck, NSInteger startingOffset, NSString language, boolean wrapFlag, NSInteger tag, NativeSizeByReference wordCount)
          Initiates a spell-check of a string.
abstract  NSObject checkSpellingOfString_startingAt(NSString stringToCheck, NSInteger startingOffset)
          Original signature : -(id)checkSpellingOfString:(NSString*) startingAt:(NSInteger)
native declaration : NSSpellChecker.h:77
abstract  NSInteger countWordsInString_language(NSString stringToCount, NSString language)
          Just counts the words without checking spelling.
static NSSpellChecker._class_ getNSClass()
           
static NSSpellChecker new_()
           
static NSSpellChecker sharedSpellChecker()
          Only one per application.
static boolean sharedSpellCheckerExists()
          Original signature : +(BOOL)sharedSpellCheckerExists
native declaration : NSSpellChecker.h:69
static NSInteger uniqueSpellDocumentTag()
          Returns a guaranteed unique tag to use as the spell document tag for a document.
 
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.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

NSSpellChecker

public NSSpellChecker()
Method Detail

sharedSpellChecker

public static NSSpellChecker sharedSpellChecker()
Only one per application.
Original signature : +(NSSpellChecker*)sharedSpellChecker
native declaration : NSSpellChecker.h:68


sharedSpellCheckerExists

public static boolean sharedSpellCheckerExists()
Original signature : +(BOOL)sharedSpellCheckerExists
native declaration : NSSpellChecker.h:69


uniqueSpellDocumentTag

public static NSInteger uniqueSpellDocumentTag()
Returns a guaranteed unique tag to use as the spell document tag for a document. You should use this method to generate tags, if possible, to avoid collisions with other objects that can be spell checked.
Original signature : +(NSInteger)uniqueSpellDocumentTag
native declaration : NSSpellChecker.h:72


checkSpellingOfString_startingAt_language_wrap_inSpellDocumentWithTag_wordCount

public abstract NSObject checkSpellingOfString_startingAt_language_wrap_inSpellDocumentWithTag_wordCount(NSString stringToCheck,
                                                                                                         NSInteger startingOffset,
                                                                                                         NSString language,
                                                                                                         boolean wrapFlag,
                                                                                                         NSInteger tag,
                                                                                                         NativeSizeByReference wordCount)
Initiates a spell-check of a string. Returns the range of the first misspelled word (and optionally the wordCount by reference).
Original signature : -(id)checkSpellingOfString:(NSString*) startingAt:(NSInteger) language:(NSString*) wrap:(BOOL) inSpellDocumentWithTag:(NSInteger) wordCount:(NSInteger*)
native declaration : NSSpellChecker.h:75


checkSpellingOfString_startingAt

public abstract NSObject checkSpellingOfString_startingAt(NSString stringToCheck,
                                                          NSInteger startingOffset)
Original signature : -(id)checkSpellingOfString:(NSString*) startingAt:(NSInteger)
native declaration : NSSpellChecker.h:77


countWordsInString_language

public abstract NSInteger countWordsInString_language(NSString stringToCount,
                                                      NSString language)
Just counts the words without checking spelling. Returns -1 if counting words isn't supported by the spell server selected.
Original signature : -(NSInteger)countWordsInString:(NSString*) language:(NSString*)
native declaration : NSSpellChecker.h:80


checkGrammarOfString_startingAt_language_wrap_inSpellDocumentWithTag_details

public abstract NSObject checkGrammarOfString_startingAt_language_wrap_inSpellDocumentWithTag_details(NSString stringToCheck,
                                                                                                      NSInteger startingOffset,
                                                                                                      NSString language,
                                                                                                      boolean wrapFlag,
                                                                                                      NSInteger tag,
                                                                                                      PointerByReference details)
Initiates a grammar-check of a string. Returns the range of the first flagged sentence (or similar grammatical unit), and optionally an array of dictionaries describing details within this sentence. Keys in the details dictionaries are described in Foundation/NSSpellServer.h.
Original signature : -(id)checkGrammarOfString:(NSString*) startingAt:(NSInteger) language:(NSString*) wrap:(BOOL) inSpellDocumentWithTag:(NSInteger) details:(NSArray**)
native declaration : NSSpellChecker.h:83


alloc

public static NSSpellChecker alloc()

new_

public static NSSpellChecker new_()

getNSClass

public static NSSpellChecker._class_ getNSClass()


Copyright © 2009. All Rights Reserved.