org.rococoa.cocoa.appkit.categories
Interface NSSharing

All Known Implementing Classes:
NSTextView

public interface NSSharing

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 NSSharing._static_
           
 
Method Summary
 boolean acceptsGlyphInfo()
           
 NSArray allowedInputSourceLocales()
          Returns an array of locale identifiers representing input sources allowed to be enabled when the receiver has the keyboard focus.
 boolean allowsDocumentBackgroundColorChange()
           
 boolean allowsImageEditing()
           
 boolean allowsUndo()
           
 NSColor backgroundColor()
           
 void breakUndoCoalescing()
           
 NSParagraphStyle defaultParagraphStyle()
           
 NSObject delegate()
           
 void didChangeText()
           
 boolean displaysLinkToolTips()
           
 boolean drawsBackground()
           
 boolean importsGraphics()
           
 NSColor insertionPointColor()
           
 boolean isAutomaticLinkDetectionEnabled()
           
 boolean isAutomaticQuoteSubstitutionEnabled()
           
 boolean isContinuousSpellCheckingEnabled()
           
 boolean isEditable()
           
 boolean isFieldEditor()
           
 boolean isGrammarCheckingEnabled()
           
 boolean isRichText()
           
 boolean isRulerVisible()
           
 boolean isSelectable()
           
 NSDictionary linkTextAttributes()
           
 NSDictionary markedTextAttributes()
           
 NSObject rangeForUserCharacterAttributeChange()
           
 NSObject rangeForUserParagraphAttributeChange()
           
 NSObject rangeForUserTextChange()
           
 NSArray rangesForUserCharacterAttributeChange()
           
 NSArray rangesForUserParagraphAttributeChange()
           
 NSArray rangesForUserTextChange()
           
 NSArray selectedRanges()
           
 NSDictionary selectedTextAttributes()
           
 int selectionAffinity()
           
 int selectionGranularity()
           
 void setAcceptsGlyphInfo(boolean flag)
           
 void setAllowedInputSourceLocales(NSArray localeIdentifiers)
           
 void setAllowsDocumentBackgroundColorChange(boolean flag)
           
 void setAllowsImageEditing(boolean flag)
           
 void setAllowsUndo(boolean flag)
           
 void setAutomaticLinkDetectionEnabled(boolean flag)
           
 void setAutomaticQuoteSubstitutionEnabled(boolean flag)
           
 void setBackgroundColor(NSColor color)
           
 void setContinuousSpellCheckingEnabled(boolean flag)
           
 void setDefaultParagraphStyle(NSParagraphStyle paragraphStyle)
           
 void setDelegate(org.rococoa.ID anObject)
           
 void setDisplaysLinkToolTips(boolean flag)
           
 void setDrawsBackground(boolean flag)
           
 void setEditable(boolean flag)
           
 void setFieldEditor(boolean flag)
           
 void setGrammarCheckingEnabled(boolean flag)
           
 void setImportsGraphics(boolean flag)
           
 void setInsertionPointColor(NSColor color)
           
 void setLinkTextAttributes(NSDictionary attributeDictionary)
           
 void setMarkedTextAttributes(NSDictionary attributeDictionary)
           
 void setRichText(boolean flag)
           
 void setRulerVisible(boolean flag)
           
 void setSelectable(boolean flag)
           
 void setSelectedRanges_affinity_stillSelecting(NSArray ranges, int affinity, boolean stillSelectingFlag)
          Original signature : -(void)setSelectedRanges:(NSArray*) affinity:(NSSelectionAffinity) stillSelecting:(BOOL)
 void setSelectedRanges(NSArray ranges)
           
 void setSelectedTextAttributes(NSDictionary attributeDictionary)
           
 void setSelectionGranularity(int granularity)
          Original signature : -(void)setSelectionGranularity:(NSSelectionGranularity)
 void setSmartInsertDeleteEnabled(boolean flag)
           
 void setTypingAttributes(NSDictionary attrs)
           
 void setUsesFindPanel(boolean flag)
           
 void setUsesFontPanel(boolean flag)
           
 void setUsesRuler(boolean flag)
           
 boolean shouldChangeTextInRanges_replacementStrings(NSArray affectedRanges, NSArray replacementStrings)
          These multiple-range methods supersede the corresponding single-range methods.
 boolean smartInsertDeleteEnabled()
           
 int spellCheckerDocumentTag()
           
 void toggleAutomaticLinkDetection(org.rococoa.ID sender)
           
 void toggleAutomaticQuoteSubstitution(org.rococoa.ID sender)
           
 void toggleContinuousSpellChecking(org.rococoa.ID sender)
           
 void toggleGrammarChecking(org.rococoa.ID sender)
           
 void toggleSmartInsertDelete(org.rococoa.ID sender)
           
 NSDictionary typingAttributes()
           
 void updateInsertionPointStateAndRestartTimer(boolean restartFlag)
           
 boolean usesFindPanel()
           
 boolean usesFontPanel()
           
 boolean usesRuler()
           
 

Method Detail

selectedRanges

NSArray selectedRanges()

setSelectedRanges_affinity_stillSelecting

void setSelectedRanges_affinity_stillSelecting(NSArray ranges,
                                               int affinity,
                                               boolean stillSelectingFlag)
Original signature : -(void)setSelectedRanges:(NSArray*) affinity:(NSSelectionAffinity) stillSelecting:(BOOL)

Parameters:
affinity - @see org.rococoa.cocoa.appkit.AppKitLibrary#NSSelectionAffinity

setSelectedRanges

void setSelectedRanges(NSArray ranges)

selectionAffinity

int selectionAffinity()
See Also:
org.rococoa.cocoa.appkit.AppKitLibrary#NSSelectionAffinity

selectionGranularity

int selectionGranularity()
See Also:
org.rococoa.cocoa.appkit.AppKitLibrary#NSSelectionGranularity

setSelectionGranularity

void setSelectionGranularity(int granularity)
Original signature : -(void)setSelectionGranularity:(NSSelectionGranularity)

Parameters:
granularity - @see org.rococoa.cocoa.appkit.AppKitLibrary#NSSelectionGranularity

setSelectedTextAttributes

void setSelectedTextAttributes(NSDictionary attributeDictionary)

selectedTextAttributes

NSDictionary selectedTextAttributes()

setInsertionPointColor

void setInsertionPointColor(NSColor color)

insertionPointColor

NSColor insertionPointColor()

updateInsertionPointStateAndRestartTimer

void updateInsertionPointStateAndRestartTimer(boolean restartFlag)

setMarkedTextAttributes

void setMarkedTextAttributes(NSDictionary attributeDictionary)

markedTextAttributes

NSDictionary markedTextAttributes()

setLinkTextAttributes

void setLinkTextAttributes(NSDictionary attributeDictionary)

linkTextAttributes

NSDictionary linkTextAttributes()

displaysLinkToolTips

boolean displaysLinkToolTips()

setDisplaysLinkToolTips

void setDisplaysLinkToolTips(boolean flag)

acceptsGlyphInfo

boolean acceptsGlyphInfo()

setAcceptsGlyphInfo

void setAcceptsGlyphInfo(boolean flag)

setRulerVisible

void setRulerVisible(boolean flag)

usesRuler

boolean usesRuler()

setUsesRuler

void setUsesRuler(boolean flag)

setContinuousSpellCheckingEnabled

void setContinuousSpellCheckingEnabled(boolean flag)

isContinuousSpellCheckingEnabled

boolean isContinuousSpellCheckingEnabled()

toggleContinuousSpellChecking

void toggleContinuousSpellChecking(org.rococoa.ID sender)

spellCheckerDocumentTag

int spellCheckerDocumentTag()

setGrammarCheckingEnabled

void setGrammarCheckingEnabled(boolean flag)

isGrammarCheckingEnabled

boolean isGrammarCheckingEnabled()

toggleGrammarChecking

void toggleGrammarChecking(org.rococoa.ID sender)

typingAttributes

NSDictionary typingAttributes()

setTypingAttributes

void setTypingAttributes(NSDictionary attrs)

shouldChangeTextInRanges_replacementStrings

boolean shouldChangeTextInRanges_replacementStrings(NSArray affectedRanges,
                                                    NSArray replacementStrings)
These multiple-range methods supersede the corresponding single-range methods. For the first method, the affectedRanges argument obeys the same restrictions as the argument to setSelectedRanges:, and the replacementStrings array should either be nil (for attribute-only changes) or have the same number of elements as affectedRanges. For the remaining three methods, the return values obey the same restrictions as that for selectedRanges, except that they will be nil if the corresponding change is not permitted, where the corresponding single-range methods return (NSNotFound, 0).
Original signature : -(BOOL)shouldChangeTextInRanges:(NSArray*) replacementStrings:(NSArray*)


rangesForUserTextChange

NSArray rangesForUserTextChange()

rangesForUserCharacterAttributeChange

NSArray rangesForUserCharacterAttributeChange()

rangesForUserParagraphAttributeChange

NSArray rangesForUserParagraphAttributeChange()

didChangeText

void didChangeText()

rangeForUserTextChange

NSObject rangeForUserTextChange()

rangeForUserCharacterAttributeChange

NSObject rangeForUserCharacterAttributeChange()

rangeForUserParagraphAttributeChange

NSObject rangeForUserParagraphAttributeChange()

setUsesFindPanel

void setUsesFindPanel(boolean flag)

usesFindPanel

boolean usesFindPanel()

setAllowsDocumentBackgroundColorChange

void setAllowsDocumentBackgroundColorChange(boolean flag)

allowsDocumentBackgroundColorChange

boolean allowsDocumentBackgroundColorChange()

setDefaultParagraphStyle

void setDefaultParagraphStyle(NSParagraphStyle paragraphStyle)

defaultParagraphStyle

NSParagraphStyle defaultParagraphStyle()

setAllowsUndo

void setAllowsUndo(boolean flag)

allowsUndo

boolean allowsUndo()

breakUndoCoalescing

void breakUndoCoalescing()

allowsImageEditing

boolean allowsImageEditing()

setAllowsImageEditing

void setAllowsImageEditing(boolean flag)

delegate

NSObject delegate()

setDelegate

void setDelegate(org.rococoa.ID anObject)

isEditable

boolean isEditable()

setEditable

void setEditable(boolean flag)

isSelectable

boolean isSelectable()

setSelectable

void setSelectable(boolean flag)

isRichText

boolean isRichText()

setRichText

void setRichText(boolean flag)

importsGraphics

boolean importsGraphics()

setImportsGraphics

void setImportsGraphics(boolean flag)

drawsBackground

boolean drawsBackground()

setDrawsBackground

void setDrawsBackground(boolean flag)

backgroundColor

NSColor backgroundColor()

setBackgroundColor

void setBackgroundColor(NSColor color)

isFieldEditor

boolean isFieldEditor()

setFieldEditor

void setFieldEditor(boolean flag)

usesFontPanel

boolean usesFontPanel()

setUsesFontPanel

void setUsesFontPanel(boolean flag)

isRulerVisible

boolean isRulerVisible()

smartInsertDeleteEnabled

boolean smartInsertDeleteEnabled()

setSmartInsertDeleteEnabled

void setSmartInsertDeleteEnabled(boolean flag)

toggleSmartInsertDelete

void toggleSmartInsertDelete(org.rococoa.ID sender)

setAutomaticQuoteSubstitutionEnabled

void setAutomaticQuoteSubstitutionEnabled(boolean flag)

isAutomaticQuoteSubstitutionEnabled

boolean isAutomaticQuoteSubstitutionEnabled()

toggleAutomaticQuoteSubstitution

void toggleAutomaticQuoteSubstitution(org.rococoa.ID sender)

setAutomaticLinkDetectionEnabled

void setAutomaticLinkDetectionEnabled(boolean flag)

isAutomaticLinkDetectionEnabled

boolean isAutomaticLinkDetectionEnabled()

toggleAutomaticLinkDetection

void toggleAutomaticLinkDetection(org.rococoa.ID sender)

allowedInputSourceLocales

NSArray allowedInputSourceLocales()
Returns an array of locale identifiers representing input sources allowed to be enabled when the receiver has the keyboard focus.
Original signature : -(NSArray*)allowedInputSourceLocales


setAllowedInputSourceLocales

void setAllowedInputSourceLocales(NSArray localeIdentifiers)