|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NSTokenFieldDelegate
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 interface |
NSTokenFieldDelegate._static_
|
Method Summary | |
---|---|
NSArray |
tokenField_completionsForSubstring_indexOfToken_indexOfSelectedItem(NSTokenField tokenField,
NSString substring,
int tokenIndex,
IntBuffer selectedIndex)
The default behavior is not to have any completions. |
NSArray |
tokenField_completionsForSubstring_indexOfToken_indexOfSelectedItem(NSTokenField tokenField,
NSString substring,
int tokenIndex,
IntByReference selectedIndex)
Deprecated. use the safer method tokenField_completionsForSubstring_indexOfToken_indexOfSelectedItem(org.rococoa.cocoa.appkit.NSTokenField, org.rococoa.cocoa.foundation.NSString, int, java.nio.IntBuffer) instead |
NSString |
tokenField_displayStringForRepresentedObject(NSTokenField tokenField,
org.rococoa.ID representedObject)
editing string = display string = represented object Original signature : -(NSString*)tokenField:(NSTokenField*) displayStringForRepresentedObject:(id) |
NSString |
tokenField_editingStringForRepresentedObject(NSTokenField tokenField,
org.rococoa.ID representedObject)
|
boolean |
tokenField_hasMenuForRepresentedObject(NSTokenField tokenField,
org.rococoa.ID representedObject)
|
NSMenu |
tokenField_menuForRepresentedObject(NSTokenField tokenField,
org.rococoa.ID representedObject)
By default the tokens have no menu. |
NSArray |
tokenField_readFromPasteboard(NSTokenField tokenField,
NSPasteboard pboard)
Return an array of represented objects to add to the token field. |
NSObject |
tokenField_representedObjectForEditingString(NSTokenField tokenField,
NSString editingString)
|
NSArray |
tokenField_shouldAddObjects_atIndex(NSTokenField tokenField,
NSArray tokens,
int index)
returning nil will cause an error. |
NSObject |
tokenField_styleForRepresentedObject(NSTokenField tokenField,
org.rococoa.ID representedObject)
This method allows you to change the style for individual tokens as well as have mixed text and tokens. |
boolean |
tokenField_writeRepresentedObjects_toPasteboard(NSTokenField tokenField,
NSArray objects,
NSPasteboard pboard)
By default, we write the NSStringPboardType as well as an array of NSStrings. |
Method Detail |
---|
@Deprecated NSArray tokenField_completionsForSubstring_indexOfToken_indexOfSelectedItem(NSTokenField tokenField, NSString substring, int tokenIndex, IntByReference selectedIndex)
tokenField_completionsForSubstring_indexOfToken_indexOfSelectedItem(org.rococoa.cocoa.appkit.NSTokenField, org.rococoa.cocoa.foundation.NSString, int, java.nio.IntBuffer)
instead
-(NSArray*)tokenField:(NSTokenField*) completionsForSubstring:(NSString*) indexOfToken:(NSInteger) indexOfSelectedItem:(NSInteger*)
NSArray tokenField_completionsForSubstring_indexOfToken_indexOfSelectedItem(NSTokenField tokenField, NSString substring, int tokenIndex, IntBuffer selectedIndex)
-(NSArray*)tokenField:(NSTokenField*) completionsForSubstring:(NSString*) indexOfToken:(NSInteger) indexOfSelectedItem:(NSInteger*)
NSArray tokenField_shouldAddObjects_atIndex(NSTokenField tokenField, NSArray tokens, int index)
-(NSArray*)tokenField:(NSTokenField*) shouldAddObjects:(NSArray*) atIndex:(NSUInteger)
NSString tokenField_displayStringForRepresentedObject(NSTokenField tokenField, org.rococoa.ID representedObject)
-(NSString*)tokenField:(NSTokenField*) displayStringForRepresentedObject:(id)
NSString tokenField_editingStringForRepresentedObject(NSTokenField tokenField, org.rococoa.ID representedObject)
NSObject tokenField_representedObjectForEditingString(NSTokenField tokenField, NSString editingString)
boolean tokenField_writeRepresentedObjects_toPasteboard(NSTokenField tokenField, NSArray objects, NSPasteboard pboard)
-(BOOL)tokenField:(NSTokenField*) writeRepresentedObjects:(NSArray*) toPasteboard:(NSPasteboard*)
NSArray tokenField_readFromPasteboard(NSTokenField tokenField, NSPasteboard pboard)
-(NSArray*)tokenField:(NSTokenField*) readFromPasteboard:(NSPasteboard*)
NSMenu tokenField_menuForRepresentedObject(NSTokenField tokenField, org.rococoa.ID representedObject)
-(NSMenu*)tokenField:(NSTokenField*) menuForRepresentedObject:(id)
boolean tokenField_hasMenuForRepresentedObject(NSTokenField tokenField, org.rococoa.ID representedObject)
NSObject tokenField_styleForRepresentedObject(NSTokenField tokenField, org.rococoa.ID representedObject)
-(id)tokenField:(NSTokenField*) styleForRepresentedObject:(id)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |