org.rococoa.cocoa.appkit
Class NSLayoutManager

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

public abstract class NSLayoutManager
extends NSObject
implements ObjCObject, NSCoding, NSGlyphStorage

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 NSLayoutManager.__lmFlags
           
static class NSLayoutManager._class_
           
 
Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSCoding
NSCoding._static_
 
Nested classes/interfaces inherited from interface org.rococoa.cocoa.appkit.protocols.NSGlyphStorage
NSGlyphStorage._static_
 
Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject
NSObject._static_
 
Constructor Summary
NSLayoutManager()
           
 
Method Summary
abstract  void addTemporaryAttribute_value_forCharacterRange(NSString attrName, ObjCObject value, NSRange.ByValue charRange)
          Original signature : -(void)addTemporaryAttribute:(NSString*) value:(id) forCharacterRange:(NSRange)
native declaration : NSLayoutManager.h:514
abstract  void addTemporaryAttributes_forCharacterRange(NSDictionary attrs, NSRange.ByValue charRange)
          Original signature : -(void)addTemporaryAttributes:(NSDictionary*) forCharacterRange:(NSRange)
native declaration : NSLayoutManager.h:506
abstract  void addTextContainer(NSTextContainer container)
          Original signature : -(void)addTextContainer:(NSTextContainer*)
native declaration : NSLayoutManager.h:220
static NSLayoutManager alloc()
           
abstract  boolean allowsNonContiguousLayout()
          Original signature : -(BOOL)allowsNonContiguousLayout
native declaration : NSLayoutManager.h:272
 NSTextViewSupport as_NSLayoutManager_NSTextViewSupport()
           
abstract  NSObject attachmentSizeForGlyphAtIndex(NSUInteger glyphIndex)
          Original signature : -(id)attachmentSizeForGlyphAtIndex:(NSUInteger)
native declaration : NSLayoutManager.h:441
abstract  NSAttributedString attributedString()
          Original signature : -(NSAttributedString*)attributedString
native declaration : NSLayoutManager.h:196
abstract  boolean backgroundLayoutEnabled()
          Original signature : -(BOOL)backgroundLayoutEnabled
native declaration : NSLayoutManager.h:236
abstract  NSRect.ByValue boundingRectForGlyphRange_inTextContainer(NSRange.ByValue glyphRange, NSTextContainer container)
          Original signature : -(NSRect)boundingRectForGlyphRange:(NSRange) inTextContainer:(NSTextContainer*)
native declaration : NSLayoutManager.h:480
abstract  NSRect.ByValue boundsRectForTextBlock_glyphRange(NSTextBlock block, NSRange.ByValue glyphRange)
          Original signature : -(NSRect)boundsRectForTextBlock:(NSTextBlock*) glyphRange:(NSRange)
native declaration : NSLayoutManager.h:450
abstract  NSUInteger characterIndexForGlyphAtIndex(NSUInteger glyphIndex)
          Original signature : -(NSUInteger)characterIndexForGlyphAtIndex:(NSUInteger)
native declaration : NSLayoutManager.h:347
abstract  NSUInteger characterIndexForPoint_inTextContainer_fractionOfDistanceBetweenInsertionPoints(NSPoint.ByValue point, NSTextContainer container, CGFloatByReference partialFraction)
          Original signature : -(NSUInteger)characterIndexForPoint:(NSPoint) inTextContainer:(NSTextContainer*) fractionOfDistanceBetweenInsertionPoints:(CGFloat*)
native declaration : NSLayoutManager.h:493
static NSLayoutManager create()
          Factory method
abstract  NSObject defaultAttachmentScaling()
          Original signature : -(id)defaultAttachmentScaling
native declaration : NSLayoutManager.h:256
abstract  org.rococoa.cocoa.CGFloat defaultBaselineOffsetForFont(NSFont theFont)
          Returns the default line height specified by the layout manager's typesetter behavior for the given font.
abstract  org.rococoa.cocoa.CGFloat defaultLineHeightForFont(NSFont theFont)
          Original signature : -(CGFloat)defaultLineHeightForFont:(NSFont*)
native declaration : NSLayoutManager.h:524
abstract  NSLayoutManagerDelegate delegate()
          Original signature : -(id)delegate
native declaration : NSLayoutManager.h:212
abstract  void deleteGlyphsInRange(NSRange.ByValue glyphRange)
          Original signature : -(void)deleteGlyphsInRange:(NSRange)
native declaration : NSLayoutManager.h:323
abstract  boolean drawsOutsideLineFragmentForGlyphAtIndex(NSUInteger glyphIndex)
          Original signature : -(BOOL)drawsOutsideLineFragmentForGlyphAtIndex:(NSUInteger)
native declaration : NSLayoutManager.h:438
abstract  void ensureGlyphsForCharacterRange(NSRange.ByValue charRange)
          Original signature : -(void)ensureGlyphsForCharacterRange:(NSRange)
native declaration : NSLayoutManager.h:299
abstract  void ensureGlyphsForGlyphRange(NSRange.ByValue glyphRange)
          Original signature : -(void)ensureGlyphsForGlyphRange:(NSRange)
native declaration : NSLayoutManager.h:300
abstract  void ensureLayoutForBoundingRect_inTextContainer(NSRect.ByValue bounds, NSTextContainer container)
          Original signature : -(void)ensureLayoutForBoundingRect:(NSRect) inTextContainer:(NSTextContainer*)
native declaration : NSLayoutManager.h:304
abstract  void ensureLayoutForCharacterRange(NSRange.ByValue charRange)
          Original signature : -(void)ensureLayoutForCharacterRange:(NSRange)
native declaration : NSLayoutManager.h:301
abstract  void ensureLayoutForGlyphRange(NSRange.ByValue glyphRange)
          Original signature : -(void)ensureLayoutForGlyphRange:(NSRange)
native declaration : NSLayoutManager.h:302
abstract  void ensureLayoutForTextContainer(NSTextContainer container)
          Original signature : -(void)ensureLayoutForTextContainer:(NSTextContainer*)
native declaration : NSLayoutManager.h:303
abstract  NSRect.ByValue extraLineFragmentRect()
          Original signature : -(NSRect)extraLineFragmentRect
native declaration : NSLayoutManager.h:427
abstract  NSTextContainer extraLineFragmentTextContainer()
          Original signature : -(NSTextContainer*)extraLineFragmentTextContainer
native declaration : NSLayoutManager.h:429
abstract  NSRect.ByValue extraLineFragmentUsedRect()
          Original signature : -(NSRect)extraLineFragmentUsedRect
native declaration : NSLayoutManager.h:428
abstract  NSUInteger firstUnlaidCharacterIndex()
          Original signature : -(NSUInteger)firstUnlaidCharacterIndex
native declaration : NSLayoutManager.h:402
abstract  NSUInteger firstUnlaidGlyphIndex()
          Original signature : -(NSUInteger)firstUnlaidGlyphIndex
native declaration : NSLayoutManager.h:403
abstract  org.rococoa.cocoa.CGFloat fractionOfDistanceThroughGlyphForPoint_inTextContainer(NSPoint.ByValue point, NSTextContainer container)
          Original signature : -(CGFloat)fractionOfDistanceThroughGlyphForPoint:(NSPoint) inTextContainer:(NSTextContainer*)
native declaration : NSLayoutManager.h:489
abstract  void getFirstUnlaidCharacterIndex_glyphIndex(NativeSizeByReference charIndex, NativeSizeByReference glyphIndex)
          Original signature : -(void)getFirstUnlaidCharacterIndex:(NSUInteger*) glyphIndex:(NSUInteger*)
native declaration : NSLayoutManager.h:401
abstract  NSUInteger getGlyphs_range(IntBuffer glyphArray, NSRange.ByValue glyphRange)
          Original signature : -(NSUInteger)getGlyphs:(NSGlyph*) range:(NSRange)
native declaration : NSLayoutManager.h:364
abstract  NSUInteger getGlyphs_range(IntByReference glyphArray, NSRange.ByValue glyphRange)
          Deprecated. use the safer methods getGlyphs_range(java.nio.IntBuffer, org.rococoa.cocoa.foundation.NSRange.ByValue) and getGlyphs_range(com.sun.jna.ptr.IntByReference, org.rococoa.cocoa.foundation.NSRange.ByValue) instead
abstract  NSUInteger getGlyphsInRange_glyphs_characterIndexes_glyphInscriptions_elasticBits_bidiLevels(NSRange.ByValue glyphRange, IntBuffer glyphBuffer, NativeSizeByReference charIndexBuffer, IntBuffer inscribeBuffer, boolean elasticBuffer, ByteBuffer bidiLevelBuffer)
          Original signature : -(NSUInteger)getGlyphsInRange:(NSRange) glyphs:(NSGlyph*) characterIndexes:(NSUInteger*) glyphInscriptions:(NSGlyphInscription*) elasticBits:(BOOL*) bidiLevels:(unsigned char*)
native declaration : NSLayoutManager.h:360
abstract  NSUInteger getGlyphsInRange_glyphs_characterIndexes_glyphInscriptions_elasticBits_bidiLevels(NSRange.ByValue glyphRange, IntByReference glyphBuffer, NativeSizeByReference charIndexBuffer, IntByReference inscribeBuffer, boolean elasticBuffer, Pointer bidiLevelBuffer)
          Deprecated. use the safer methods getGlyphsInRange_glyphs_characterIndexes_glyphInscriptions_elasticBits_bidiLevels(org.rococoa.cocoa.foundation.NSRange.ByValue, java.nio.IntBuffer, com.ochafik.lang.jnaerator.runtime.NativeSizeByReference, java.nio.IntBuffer, boolean, java.nio.ByteBuffer) and getGlyphsInRange_glyphs_characterIndexes_glyphInscriptions_elasticBits_bidiLevels(org.rococoa.cocoa.foundation.NSRange.ByValue, com.sun.jna.ptr.IntByReference, com.ochafik.lang.jnaerator.runtime.NativeSizeByReference, com.sun.jna.ptr.IntByReference, boolean, com.sun.jna.Pointer) instead
abstract  NSUInteger getGlyphsInRange_glyphs_characterIndexes_glyphInscriptions_elasticBits(NSRange.ByValue glyphRange, IntBuffer glyphBuffer, NativeSizeByReference charIndexBuffer, IntBuffer inscribeBuffer, boolean elasticBuffer)
          Original signature : -(NSUInteger)getGlyphsInRange:(NSRange) glyphs:(NSGlyph*) characterIndexes:(NSUInteger*) glyphInscriptions:(NSGlyphInscription*) elasticBits:(BOOL*)
native declaration : NSLayoutManager.h:358
abstract  NSUInteger getGlyphsInRange_glyphs_characterIndexes_glyphInscriptions_elasticBits(NSRange.ByValue glyphRange, IntByReference glyphBuffer, NativeSizeByReference charIndexBuffer, IntByReference inscribeBuffer, boolean elasticBuffer)
          Deprecated. use the safer methods getGlyphsInRange_glyphs_characterIndexes_glyphInscriptions_elasticBits(org.rococoa.cocoa.foundation.NSRange.ByValue, java.nio.IntBuffer, com.ochafik.lang.jnaerator.runtime.NativeSizeByReference, java.nio.IntBuffer, boolean) and getGlyphsInRange_glyphs_characterIndexes_glyphInscriptions_elasticBits(org.rococoa.cocoa.foundation.NSRange.ByValue, com.sun.jna.ptr.IntByReference, com.ochafik.lang.jnaerator.runtime.NativeSizeByReference, com.sun.jna.ptr.IntByReference, boolean) instead
abstract  NSUInteger getLineFragmentInsertionPointsForCharacterAtIndex_alternatePositions_inDisplayOrder_positions_characterIndexes(NSUInteger charIndex, boolean aFlag, boolean dFlag, CGFloatByReference positions, NativeSizeByReference charIndexes)
          Original signature : -(NSUInteger)getLineFragmentInsertionPointsForCharacterAtIndex:(NSUInteger) alternatePositions:(BOOL) inDisplayOrder:(BOOL) positions:(CGFloat*) characterIndexes:(NSUInteger*)
native declaration : NSLayoutManager.h:498
static NSLayoutManager._class_ getNSClass()
           
abstract  int glyphAtIndex_isValidIndex(NSUInteger glyphIndex, boolean isValidIndex)
          Original signature : -(NSGlyph)glyphAtIndex:(NSUInteger) isValidIndex:(BOOL*)
native declaration : NSLayoutManager.h:342
abstract  int glyphAtIndex(NSUInteger glyphIndex)
          Original signature : -(NSGlyph)glyphAtIndex:(NSUInteger)
native declaration : NSLayoutManager.h:343
abstract  NSGlyphGenerator glyphGenerator()
          Original signature : -(NSGlyphGenerator*)glyphGenerator
native declaration : NSLayoutManager.h:203
abstract  NSUInteger glyphIndexForCharacterAtIndex(NSUInteger charIndex)
          Original signature : -(NSUInteger)glyphIndexForCharacterAtIndex:(NSUInteger)
native declaration : NSLayoutManager.h:351
abstract  NSUInteger glyphIndexForPoint_inTextContainer_fractionOfDistanceThroughGlyph(NSPoint.ByValue point, NSTextContainer container, CGFloatByReference partialFraction)
          Original signature : -(NSUInteger)glyphIndexForPoint:(NSPoint) inTextContainer:(NSTextContainer*) fractionOfDistanceThroughGlyph:(CGFloat*)
native declaration : NSLayoutManager.h:487
abstract  NSUInteger glyphIndexForPoint_inTextContainer(NSPoint.ByValue point, NSTextContainer container)
          Original signature : -(NSUInteger)glyphIndexForPoint:(NSPoint) inTextContainer:(NSTextContainer*)
native declaration : NSLayoutManager.h:488
abstract  NSRange.ByValue glyphRangeForBoundingRect_inTextContainer(NSRect.ByValue bounds, NSTextContainer container)
          Original signature : -(NSRange)glyphRangeForBoundingRect:(NSRect) inTextContainer:(NSTextContainer*)
native declaration : NSLayoutManager.h:483
abstract  NSRange.ByValue glyphRangeForBoundingRectWithoutAdditionalLayout_inTextContainer(NSRect.ByValue bounds, NSTextContainer container)
          Original signature : -(NSRange)glyphRangeForBoundingRectWithoutAdditionalLayout:(NSRect) inTextContainer:(NSTextContainer*)
native declaration : NSLayoutManager.h:484
abstract  NSRange.ByValue glyphRangeForTextContainer(NSTextContainer container)
          Original signature : -(NSRange)glyphRangeForTextContainer:(NSTextContainer*)
native declaration : NSLayoutManager.h:469
abstract  boolean hasNonContiguousLayout()
          If YES, then the layout manager may perform glyph generation and layout for a given portion of the text, without having glyphs or layout for preceding portions.
abstract  float hyphenationFactor()
          Original signature : -(float)hyphenationFactor
native declaration : NSLayoutManager.h:252
abstract  NSLayoutManager init()
          Original signature : -(id)init
native declaration : NSLayoutManager.h:187
abstract  void insertGlyph_atGlyphIndex_characterIndex(int glyph, NSUInteger glyphIndex, NSUInteger charIndex)
          Original signature : -(void)insertGlyph:(NSGlyph) atGlyphIndex:(NSUInteger) characterIndex:(NSUInteger)
native declaration : NSLayoutManager.h:317
abstract  void insertGlyphs_length_forStartingGlyphAtIndex_characterIndex(IntBuffer glyphs, NSUInteger length, NSUInteger glyphIndex, NSUInteger charIndex)
          Original signature : -(void)insertGlyphs:(const NSGlyph*) length:(NSUInteger) forStartingGlyphAtIndex:(NSUInteger) characterIndex:(NSUInteger)
native declaration : NSLayoutManager.h:313
abstract  void insertGlyphs_length_forStartingGlyphAtIndex_characterIndex(IntByReference glyphs, NSUInteger length, NSUInteger glyphIndex, NSUInteger charIndex)
          Deprecated. use the safer methods insertGlyphs_length_forStartingGlyphAtIndex_characterIndex(java.nio.IntBuffer, org.rococoa.cocoa.foundation.NSUInteger, org.rococoa.cocoa.foundation.NSUInteger, org.rococoa.cocoa.foundation.NSUInteger) and insertGlyphs_length_forStartingGlyphAtIndex_characterIndex(com.sun.jna.ptr.IntByReference, org.rococoa.cocoa.foundation.NSUInteger, org.rococoa.cocoa.foundation.NSUInteger, org.rococoa.cocoa.foundation.NSUInteger) instead
abstract  void insertTextContainer_atIndex(NSTextContainer container, NSUInteger index)
          Add a container to the end of the array.
abstract  NSInteger intAttribute_forGlyphAtIndex(NSInteger attributeTag, NSUInteger glyphIndex)
          Original signature : -(NSInteger)intAttribute:(NSInteger) forGlyphAtIndex:(NSUInteger)
native declaration : NSLayoutManager.h:355
abstract  void invalidateDisplayForCharacterRange(NSRange.ByValue charRange)
          Original signature : -(void)invalidateDisplayForCharacterRange:(NSRange)
native declaration : NSLayoutManager.h:289
abstract  void invalidateDisplayForGlyphRange(NSRange.ByValue glyphRange)
          Original signature : -(void)invalidateDisplayForGlyphRange:(NSRange)
native declaration : NSLayoutManager.h:290
abstract  void invalidateGlyphsOnLayoutInvalidationForGlyphRange(NSRange.ByValue glyphRange)
          Original signature : -(void)invalidateGlyphsOnLayoutInvalidationForGlyphRange:(NSRange)
native declaration : NSLayoutManager.h:333
abstract  boolean isValidGlyphIndex(NSUInteger glyphIndex)
          Original signature : -(BOOL)isValidGlyphIndex:(NSUInteger)
native declaration : NSLayoutManager.h:344
abstract  NSUInteger layoutOptions()
          Original signature : -(NSUInteger)layoutOptions
native declaration : NSLayoutManager.h:266
abstract  NSRect.ByValue layoutRectForTextBlock_glyphRange(NSTextBlock block, NSRange.ByValue glyphRange)
          Original signature : -(NSRect)layoutRectForTextBlock:(NSTextBlock*) glyphRange:(NSRange)
native declaration : NSLayoutManager.h:449
abstract  NSPoint.ByValue locationForGlyphAtIndex(NSUInteger glyphIndex)
          Original signature : -(NSPoint)locationForGlyphAtIndex:(NSUInteger)
native declaration : NSLayoutManager.h:432
static NSLayoutManager new_()
           
abstract  boolean notShownAttributeForGlyphAtIndex(NSUInteger glyphIndex)
          Original signature : -(BOOL)notShownAttributeForGlyphAtIndex:(NSUInteger)
native declaration : NSLayoutManager.h:435
abstract  NSUInteger numberOfGlyphs()
          Original signature : -(NSUInteger)numberOfGlyphs
native declaration : NSLayoutManager.h:339
abstract  NSRange.ByValue rangeOfNominallySpacedGlyphsContainingIndex(NSUInteger glyphIndex)
          Original signature : -(NSRange)rangeOfNominallySpacedGlyphsContainingIndex:(NSUInteger)
native declaration : NSLayoutManager.h:472
abstract  NSObject rectArrayForCharacterRange_withinSelectedCharacterRange_inTextContainer_rectCount(NSRange.ByValue charRange, NSRange.ByValue selCharRange, NSTextContainer container, NativeSizeByReference rectCount)
          Original signature : -(id)rectArrayForCharacterRange:(NSRange) withinSelectedCharacterRange:(NSRange) inTextContainer:(NSTextContainer*) rectCount:(NSUInteger*)
native declaration : NSLayoutManager.h:475
abstract  NSObject rectArrayForGlyphRange_withinSelectedGlyphRange_inTextContainer_rectCount(NSRange.ByValue glyphRange, NSRange.ByValue selGlyphRange, NSTextContainer container, NativeSizeByReference rectCount)
          Original signature : -(id)rectArrayForGlyphRange:(NSRange) withinSelectedGlyphRange:(NSRange) inTextContainer:(NSTextContainer*) rectCount:(NSUInteger*)
native declaration : NSLayoutManager.h:476
abstract  void removeTemporaryAttribute_forCharacterRange(NSString attrName, NSRange.ByValue charRange)
          Original signature : -(void)removeTemporaryAttribute:(NSString*) forCharacterRange:(NSRange)
native declaration : NSLayoutManager.h:507
abstract  void removeTextContainerAtIndex(NSUInteger index)
          Insert a container into the array before the container at index.
abstract  void replaceGlyphAtIndex_withGlyph(NSUInteger glyphIndex, int newGlyph)
          Original signature : -(void)replaceGlyphAtIndex:(NSUInteger) withGlyph:(NSGlyph)
native declaration : NSLayoutManager.h:320
abstract  void replaceTextStorage(NSTextStorage newTextStorage)
          Original signature : -(void)replaceTextStorage:(NSTextStorage*)
native declaration : NSLayoutManager.h:199
abstract  void setAllowsNonContiguousLayout(boolean flag)
          Original signature : -(void)setAllowsNonContiguousLayout:(BOOL)
native declaration : NSLayoutManager.h:271
abstract  void setBackgroundLayoutEnabled(boolean flag)
          Original signature : -(void)setBackgroundLayoutEnabled:(BOOL)
native declaration : NSLayoutManager.h:235
abstract  void setBoundsRect_forTextBlock_glyphRange(NSRect.ByValue rect, NSTextBlock block, NSRange.ByValue glyphRange)
          Original signature : -(void)setBoundsRect:(NSRect) forTextBlock:(NSTextBlock*) glyphRange:(NSRange)
native declaration : NSLayoutManager.h:448
abstract  void setCharacterIndex_forGlyphAtIndex(NSUInteger charIndex, NSUInteger glyphIndex)
          Original signature : -(void)setCharacterIndex:(NSUInteger) forGlyphAtIndex:(NSUInteger)
native declaration : NSLayoutManager.h:326
abstract  void setDelegate(NSLayoutManagerDelegate delegate)
          Original signature : -(void)setDelegate:(id)
native declaration : NSLayoutManager.h:213
abstract  void setDrawsOutsideLineFragment_forGlyphAtIndex(boolean flag, NSUInteger glyphIndex)
          Original signature : -(void)setDrawsOutsideLineFragment:(BOOL) forGlyphAtIndex:(NSUInteger)
native declaration : NSLayoutManager.h:391
abstract  void setExtraLineFragmentRect_usedRect_textContainer(NSRect.ByValue fragmentRect, NSRect.ByValue usedRect, NSTextContainer container)
          Original signature : -(void)setExtraLineFragmentRect:(NSRect) usedRect:(NSRect) textContainer:(NSTextContainer*)
native declaration : NSLayoutManager.h:377
abstract  void setGlyphGenerator(NSGlyphGenerator glyphGenerator)
          Original signature : -(void)setGlyphGenerator:(NSGlyphGenerator*)
native declaration : NSLayoutManager.h:204
abstract  void setHyphenationFactor(float factor)
          Original signature : -(void)setHyphenationFactor:(float)
native declaration : NSLayoutManager.h:251
abstract  void setIntAttribute_value_forGlyphAtIndex(NSInteger attributeTag, NSInteger val, NSUInteger glyphIndex)
          Original signature : -(void)setIntAttribute:(NSInteger) value:(NSInteger) forGlyphAtIndex:(NSUInteger)
native declaration : NSLayoutManager.h:329
abstract  void setLayoutRect_forTextBlock_glyphRange(NSRect.ByValue rect, NSTextBlock block, NSRange.ByValue glyphRange)
          Original signature : -(void)setLayoutRect:(NSRect) forTextBlock:(NSTextBlock*) glyphRange:(NSRange)
native declaration : NSLayoutManager.h:447
abstract  void setLineFragmentRect_forGlyphRange_usedRect(NSRect.ByValue fragmentRect, NSRange.ByValue glyphRange, NSRect.ByValue usedRect)
          Original signature : -(void)setLineFragmentRect:(NSRect) forGlyphRange:(NSRange) usedRect:(NSRect)
native declaration : NSLayoutManager.h:374
abstract  void setLocation_forStartOfGlyphRange(NSPoint.ByValue location, NSRange.ByValue glyphRange)
          Original signature : -(void)setLocation:(NSPoint) forStartOfGlyphRange:(NSRange)
native declaration : NSLayoutManager.h:380
abstract  void setNotShownAttribute_forGlyphAtIndex(boolean flag, NSUInteger glyphIndex)
          Original signature : -(void)setNotShownAttribute:(BOOL) forGlyphAtIndex:(NSUInteger)
native declaration : NSLayoutManager.h:388
abstract  void setShowsControlCharacters(boolean flag)
          Original signature : -(void)setShowsControlCharacters:(BOOL)
native declaration : NSLayoutManager.h:247
abstract  void setShowsInvisibleCharacters(boolean flag)
          Original signature : -(void)setShowsInvisibleCharacters:(BOOL)
native declaration : NSLayoutManager.h:243
abstract  void setTemporaryAttributes_forCharacterRange(NSDictionary attrs, NSRange.ByValue charRange)
          Original signature : -(void)setTemporaryAttributes:(NSDictionary*) forCharacterRange:(NSRange)
native declaration : NSLayoutManager.h:505
abstract  void setTextContainer_forGlyphRange(NSTextContainer container, NSRange.ByValue glyphRange)
          Original signature : -(void)setTextContainer:(NSTextContainer*) forGlyphRange:(NSRange)
native declaration : NSLayoutManager.h:371
abstract  void setTextStorage(NSTextStorage textStorage)
          Original signature : -(void)setTextStorage:(NSTextStorage*)
native declaration : NSLayoutManager.h:193
abstract  void setTypesetter(NSTypesetter typesetter)
          Original signature : -(void)setTypesetter:(NSTypesetter*)
native declaration : NSLayoutManager.h:209
abstract  void setTypesetterBehavior(int theBehavior)
          Original signature : -(void)setTypesetterBehavior:(NSTypesetterBehavior)
native declaration : NSLayoutManager.h:260
abstract  void setUsesFontLeading(boolean flag)
          Original signature : -(void)setUsesFontLeading:(BOOL)
native declaration : NSLayoutManager.h:529
abstract  void setUsesScreenFonts(boolean flag)
          Original signature : -(void)setUsesScreenFonts:(BOOL)
native declaration : NSLayoutManager.h:239
abstract  boolean showsControlCharacters()
          Original signature : -(BOOL)showsControlCharacters
native declaration : NSLayoutManager.h:248
abstract  boolean showsInvisibleCharacters()
          Original signature : -(BOOL)showsInvisibleCharacters
native declaration : NSLayoutManager.h:244
abstract  NSFont substituteFontForFont(NSFont originalFont)
          Original signature : -(NSFont*)substituteFontForFont:(NSFont*)
native declaration : NSLayoutManager.h:520
abstract  void textContainerChangedGeometry(NSTextContainer container)
          Original signature : -(void)textContainerChangedGeometry:(NSTextContainer*)
native declaration : NSLayoutManager.h:227
abstract  void textContainerChangedTextView(NSTextContainer container)
          Original signature : -(void)textContainerChangedTextView:(NSTextContainer*)
native declaration : NSLayoutManager.h:230
abstract  NSArray textContainers()
          Original signature : -(NSArray*)textContainers
native declaration : NSLayoutManager.h:218
abstract  void textStorage_edited_range_changeInLength_invalidatedRange(NSTextStorage str, NSUInteger editedMask, NSRange.ByValue newCharRange, NSInteger delta, NSRange.ByValue invalidatedCharRange)
          Original signature : -(void)textStorage:(NSTextStorage*) edited:(NSUInteger) range:(NSRange) changeInLength:(NSInteger) invalidatedRange:(NSRange)
native declaration : NSLayoutManager.h:293
abstract  NSTextStorage textStorage()
          Original signature : -(NSTextStorage*)textStorage
native declaration : NSLayoutManager.h:192
abstract  NSTypesetter typesetter()
          Original signature : -(NSTypesetter*)typesetter
native declaration : NSLayoutManager.h:208
abstract  int typesetterBehavior()
          Original signature : -(NSTypesetterBehavior)typesetterBehavior
native declaration : NSLayoutManager.h:261
abstract  NSRect.ByValue usedRectForTextContainer(NSTextContainer container)
          Original signature : -(NSRect)usedRectForTextContainer:(NSTextContainer*)
native declaration : NSLayoutManager.h:411
abstract  boolean usesFontLeading()
          Returns the default baseline offset specified by the layout manager's typesetter behavior for the given font.
abstract  boolean usesScreenFonts()
          Original signature : -(BOOL)usesScreenFonts
native declaration : NSLayoutManager.h:240
 
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, dealloc, description, doesNotRecognizeSelector, finalize, forwardingTargetForSelector, forwardInvocation, 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.foundation.protocols.NSCoding
encodeWithCoder, initWithCoder
 
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

NSLayoutManager

public NSLayoutManager()
Method Detail

as_NSLayoutManager_NSTextViewSupport

public NSTextViewSupport as_NSLayoutManager_NSTextViewSupport()

init

public abstract NSLayoutManager init()
Original signature : -(id)init
native declaration : NSLayoutManager.h:187

Specified by:
init in class NSObject

create

public static NSLayoutManager create()
Factory method

See Also:
init()

textStorage

public abstract NSTextStorage textStorage()
Original signature : -(NSTextStorage*)textStorage
native declaration : NSLayoutManager.h:192


setTextStorage

public abstract void setTextStorage(NSTextStorage textStorage)
Original signature : -(void)setTextStorage:(NSTextStorage*)
native declaration : NSLayoutManager.h:193


attributedString

public abstract NSAttributedString attributedString()
Original signature : -(NSAttributedString*)attributedString
native declaration : NSLayoutManager.h:196

Specified by:
attributedString in interface NSGlyphStorage

replaceTextStorage

public abstract void replaceTextStorage(NSTextStorage newTextStorage)
Original signature : -(void)replaceTextStorage:(NSTextStorage*)
native declaration : NSLayoutManager.h:199


glyphGenerator

public abstract NSGlyphGenerator glyphGenerator()
Original signature : -(NSGlyphGenerator*)glyphGenerator
native declaration : NSLayoutManager.h:203


setGlyphGenerator

public abstract void setGlyphGenerator(NSGlyphGenerator glyphGenerator)
Original signature : -(void)setGlyphGenerator:(NSGlyphGenerator*)
native declaration : NSLayoutManager.h:204


typesetter

public abstract NSTypesetter typesetter()
Original signature : -(NSTypesetter*)typesetter
native declaration : NSLayoutManager.h:208


setTypesetter

public abstract void setTypesetter(NSTypesetter typesetter)
Original signature : -(void)setTypesetter:(NSTypesetter*)
native declaration : NSLayoutManager.h:209


delegate

public abstract NSLayoutManagerDelegate delegate()
Original signature : -(id)delegate
native declaration : NSLayoutManager.h:212


setDelegate

public abstract void setDelegate(NSLayoutManagerDelegate delegate)
Original signature : -(void)setDelegate:(id)
native declaration : NSLayoutManager.h:213


textContainers

public abstract NSArray textContainers()
Original signature : -(NSArray*)textContainers
native declaration : NSLayoutManager.h:218


addTextContainer

public abstract void addTextContainer(NSTextContainer container)
Original signature : -(void)addTextContainer:(NSTextContainer*)
native declaration : NSLayoutManager.h:220


insertTextContainer_atIndex

public abstract void insertTextContainer_atIndex(NSTextContainer container,
                                                 NSUInteger index)
Add a container to the end of the array. Must invalidate layout of all glyphs after the previous last container (i.e., glyphs that were not previously laid out because they would not fit anywhere).
Original signature : -(void)insertTextContainer:(NSTextContainer*) atIndex:(NSUInteger)
native declaration : NSLayoutManager.h:222


removeTextContainerAtIndex

public abstract void removeTextContainerAtIndex(NSUInteger index)
Insert a container into the array before the container at index. Must invalidate layout of all glyphs in the containers from the one previously at index to the last container.
Original signature : -(void)removeTextContainerAtIndex:(NSUInteger)
native declaration : NSLayoutManager.h:224


textContainerChangedGeometry

public abstract void textContainerChangedGeometry(NSTextContainer container)
Original signature : -(void)textContainerChangedGeometry:(NSTextContainer*)
native declaration : NSLayoutManager.h:227


textContainerChangedTextView

public abstract void textContainerChangedTextView(NSTextContainer container)
Original signature : -(void)textContainerChangedTextView:(NSTextContainer*)
native declaration : NSLayoutManager.h:230


setBackgroundLayoutEnabled

public abstract void setBackgroundLayoutEnabled(boolean flag)
Original signature : -(void)setBackgroundLayoutEnabled:(BOOL)
native declaration : NSLayoutManager.h:235


backgroundLayoutEnabled

public abstract boolean backgroundLayoutEnabled()
Original signature : -(BOOL)backgroundLayoutEnabled
native declaration : NSLayoutManager.h:236


setUsesScreenFonts

public abstract void setUsesScreenFonts(boolean flag)
Original signature : -(void)setUsesScreenFonts:(BOOL)
native declaration : NSLayoutManager.h:239


usesScreenFonts

public abstract boolean usesScreenFonts()
Original signature : -(BOOL)usesScreenFonts
native declaration : NSLayoutManager.h:240


setShowsInvisibleCharacters

public abstract void setShowsInvisibleCharacters(boolean flag)
Original signature : -(void)setShowsInvisibleCharacters:(BOOL)
native declaration : NSLayoutManager.h:243


showsInvisibleCharacters

public abstract boolean showsInvisibleCharacters()
Original signature : -(BOOL)showsInvisibleCharacters
native declaration : NSLayoutManager.h:244


setShowsControlCharacters

public abstract void setShowsControlCharacters(boolean flag)
Original signature : -(void)setShowsControlCharacters:(BOOL)
native declaration : NSLayoutManager.h:247


showsControlCharacters

public abstract boolean showsControlCharacters()
Original signature : -(BOOL)showsControlCharacters
native declaration : NSLayoutManager.h:248


setHyphenationFactor

public abstract void setHyphenationFactor(float factor)
Original signature : -(void)setHyphenationFactor:(float)
native declaration : NSLayoutManager.h:251


hyphenationFactor

public abstract float hyphenationFactor()
Original signature : -(float)hyphenationFactor
native declaration : NSLayoutManager.h:252


defaultAttachmentScaling

public abstract NSObject defaultAttachmentScaling()
Original signature : -(id)defaultAttachmentScaling
native declaration : NSLayoutManager.h:256


setTypesetterBehavior

public abstract void setTypesetterBehavior(int theBehavior)
Original signature : -(void)setTypesetterBehavior:(NSTypesetterBehavior)
native declaration : NSLayoutManager.h:260

Parameters:
theBehavior - @see org.rococoa.cocoa.appkit.AppKitLibrary#NSTypesetterBehavior

typesetterBehavior

public abstract int typesetterBehavior()
Original signature : -(NSTypesetterBehavior)typesetterBehavior
native declaration : NSLayoutManager.h:261


layoutOptions

public abstract NSUInteger layoutOptions()
Original signature : -(NSUInteger)layoutOptions
native declaration : NSLayoutManager.h:266

Specified by:
layoutOptions in interface NSGlyphStorage

setAllowsNonContiguousLayout

public abstract void setAllowsNonContiguousLayout(boolean flag)
Original signature : -(void)setAllowsNonContiguousLayout:(BOOL)
native declaration : NSLayoutManager.h:271


allowsNonContiguousLayout

public abstract boolean allowsNonContiguousLayout()
Original signature : -(BOOL)allowsNonContiguousLayout
native declaration : NSLayoutManager.h:272


hasNonContiguousLayout

public abstract boolean hasNonContiguousLayout()
If YES, then the layout manager may perform glyph generation and layout for a given portion of the text, without having glyphs or layout for preceding portions. The default is NO. Turning this setting on will significantly alter which portions of the text will have glyph generation or layout performed when a given generation-causing method is invoked. It also gives significant performance benefits, especially for large documents.
Original signature : -(BOOL)hasNonContiguousLayout
native declaration : NSLayoutManager.h:274


invalidateDisplayForCharacterRange

public abstract void invalidateDisplayForCharacterRange(NSRange.ByValue charRange)
Original signature : -(void)invalidateDisplayForCharacterRange:(NSRange)
native declaration : NSLayoutManager.h:289


invalidateDisplayForGlyphRange

public abstract void invalidateDisplayForGlyphRange(NSRange.ByValue glyphRange)
Original signature : -(void)invalidateDisplayForGlyphRange:(NSRange)
native declaration : NSLayoutManager.h:290


textStorage_edited_range_changeInLength_invalidatedRange

public abstract void textStorage_edited_range_changeInLength_invalidatedRange(NSTextStorage str,
                                                                              NSUInteger editedMask,
                                                                              NSRange.ByValue newCharRange,
                                                                              NSInteger delta,
                                                                              NSRange.ByValue invalidatedCharRange)
Original signature : -(void)textStorage:(NSTextStorage*) edited:(NSUInteger) range:(NSRange) changeInLength:(NSInteger) invalidatedRange:(NSRange)
native declaration : NSLayoutManager.h:293


ensureGlyphsForCharacterRange

public abstract void ensureGlyphsForCharacterRange(NSRange.ByValue charRange)
Original signature : -(void)ensureGlyphsForCharacterRange:(NSRange)
native declaration : NSLayoutManager.h:299


ensureGlyphsForGlyphRange

public abstract void ensureGlyphsForGlyphRange(NSRange.ByValue glyphRange)
Original signature : -(void)ensureGlyphsForGlyphRange:(NSRange)
native declaration : NSLayoutManager.h:300


ensureLayoutForCharacterRange

public abstract void ensureLayoutForCharacterRange(NSRange.ByValue charRange)
Original signature : -(void)ensureLayoutForCharacterRange:(NSRange)
native declaration : NSLayoutManager.h:301


ensureLayoutForGlyphRange

public abstract void ensureLayoutForGlyphRange(NSRange.ByValue glyphRange)
Original signature : -(void)ensureLayoutForGlyphRange:(NSRange)
native declaration : NSLayoutManager.h:302


ensureLayoutForTextContainer

public abstract void ensureLayoutForTextContainer(NSTextContainer container)
Original signature : -(void)ensureLayoutForTextContainer:(NSTextContainer*)
native declaration : NSLayoutManager.h:303


ensureLayoutForBoundingRect_inTextContainer

public abstract void ensureLayoutForBoundingRect_inTextContainer(NSRect.ByValue bounds,
                                                                 NSTextContainer container)
Original signature : -(void)ensureLayoutForBoundingRect:(NSRect) inTextContainer:(NSTextContainer*)
native declaration : NSLayoutManager.h:304


insertGlyphs_length_forStartingGlyphAtIndex_characterIndex

@Deprecated
public abstract void insertGlyphs_length_forStartingGlyphAtIndex_characterIndex(IntByReference glyphs,
                                                                                           NSUInteger length,
                                                                                           NSUInteger glyphIndex,
                                                                                           NSUInteger charIndex)
Deprecated. use the safer methods insertGlyphs_length_forStartingGlyphAtIndex_characterIndex(java.nio.IntBuffer, org.rococoa.cocoa.foundation.NSUInteger, org.rococoa.cocoa.foundation.NSUInteger, org.rococoa.cocoa.foundation.NSUInteger) and insertGlyphs_length_forStartingGlyphAtIndex_characterIndex(com.sun.jna.ptr.IntByReference, org.rococoa.cocoa.foundation.NSUInteger, org.rococoa.cocoa.foundation.NSUInteger, org.rococoa.cocoa.foundation.NSUInteger) instead

Original signature : -(void)insertGlyphs:(const NSGlyph*) length:(NSUInteger) forStartingGlyphAtIndex:(NSUInteger) characterIndex:(NSUInteger)
native declaration : NSLayoutManager.h:313

Specified by:
insertGlyphs_length_forStartingGlyphAtIndex_characterIndex in interface NSGlyphStorage

insertGlyphs_length_forStartingGlyphAtIndex_characterIndex

public abstract void insertGlyphs_length_forStartingGlyphAtIndex_characterIndex(IntBuffer glyphs,
                                                                                NSUInteger length,
                                                                                NSUInteger glyphIndex,
                                                                                NSUInteger charIndex)
Original signature : -(void)insertGlyphs:(const NSGlyph*) length:(NSUInteger) forStartingGlyphAtIndex:(NSUInteger) characterIndex:(NSUInteger)
native declaration : NSLayoutManager.h:313

Specified by:
insertGlyphs_length_forStartingGlyphAtIndex_characterIndex in interface NSGlyphStorage

insertGlyph_atGlyphIndex_characterIndex

public abstract void insertGlyph_atGlyphIndex_characterIndex(int glyph,
                                                             NSUInteger glyphIndex,
                                                             NSUInteger charIndex)
Original signature : -(void)insertGlyph:(NSGlyph) atGlyphIndex:(NSUInteger) characterIndex:(NSUInteger)
native declaration : NSLayoutManager.h:317


replaceGlyphAtIndex_withGlyph

public abstract void replaceGlyphAtIndex_withGlyph(NSUInteger glyphIndex,
                                                   int newGlyph)
Original signature : -(void)replaceGlyphAtIndex:(NSUInteger) withGlyph:(NSGlyph)
native declaration : NSLayoutManager.h:320


deleteGlyphsInRange

public abstract void deleteGlyphsInRange(NSRange.ByValue glyphRange)
Original signature : -(void)deleteGlyphsInRange:(NSRange)
native declaration : NSLayoutManager.h:323


setCharacterIndex_forGlyphAtIndex

public abstract void setCharacterIndex_forGlyphAtIndex(NSUInteger charIndex,
                                                       NSUInteger glyphIndex)
Original signature : -(void)setCharacterIndex:(NSUInteger) forGlyphAtIndex:(NSUInteger)
native declaration : NSLayoutManager.h:326


setIntAttribute_value_forGlyphAtIndex

public abstract void setIntAttribute_value_forGlyphAtIndex(NSInteger attributeTag,
                                                           NSInteger val,
                                                           NSUInteger glyphIndex)
Original signature : -(void)setIntAttribute:(NSInteger) value:(NSInteger) forGlyphAtIndex:(NSUInteger)
native declaration : NSLayoutManager.h:329

Specified by:
setIntAttribute_value_forGlyphAtIndex in interface NSGlyphStorage

invalidateGlyphsOnLayoutInvalidationForGlyphRange

public abstract void invalidateGlyphsOnLayoutInvalidationForGlyphRange(NSRange.ByValue glyphRange)
Original signature : -(void)invalidateGlyphsOnLayoutInvalidationForGlyphRange:(NSRange)
native declaration : NSLayoutManager.h:333


numberOfGlyphs

public abstract NSUInteger numberOfGlyphs()
Original signature : -(NSUInteger)numberOfGlyphs
native declaration : NSLayoutManager.h:339


glyphAtIndex_isValidIndex

public abstract int glyphAtIndex_isValidIndex(NSUInteger glyphIndex,
                                              boolean isValidIndex)
Original signature : -(NSGlyph)glyphAtIndex:(NSUInteger) isValidIndex:(BOOL*)
native declaration : NSLayoutManager.h:342


glyphAtIndex

public abstract int glyphAtIndex(NSUInteger glyphIndex)
Original signature : -(NSGlyph)glyphAtIndex:(NSUInteger)
native declaration : NSLayoutManager.h:343


isValidGlyphIndex

public abstract boolean isValidGlyphIndex(NSUInteger glyphIndex)
Original signature : -(BOOL)isValidGlyphIndex:(NSUInteger)
native declaration : NSLayoutManager.h:344


characterIndexForGlyphAtIndex

public abstract NSUInteger characterIndexForGlyphAtIndex(NSUInteger glyphIndex)
Original signature : -(NSUInteger)characterIndexForGlyphAtIndex:(NSUInteger)
native declaration : NSLayoutManager.h:347


glyphIndexForCharacterAtIndex

public abstract NSUInteger glyphIndexForCharacterAtIndex(NSUInteger charIndex)
Original signature : -(NSUInteger)glyphIndexForCharacterAtIndex:(NSUInteger)
native declaration : NSLayoutManager.h:351


intAttribute_forGlyphAtIndex

public abstract NSInteger intAttribute_forGlyphAtIndex(NSInteger attributeTag,
                                                       NSUInteger glyphIndex)
Original signature : -(NSInteger)intAttribute:(NSInteger) forGlyphAtIndex:(NSUInteger)
native declaration : NSLayoutManager.h:355


getGlyphsInRange_glyphs_characterIndexes_glyphInscriptions_elasticBits

@Deprecated
public abstract NSUInteger getGlyphsInRange_glyphs_characterIndexes_glyphInscriptions_elasticBits(NSRange.ByValue glyphRange,
                                                                                                             IntByReference glyphBuffer,
                                                                                                             NativeSizeByReference charIndexBuffer,
                                                                                                             IntByReference inscribeBuffer,
                                                                                                             boolean elasticBuffer)
Deprecated. use the safer methods getGlyphsInRange_glyphs_characterIndexes_glyphInscriptions_elasticBits(org.rococoa.cocoa.foundation.NSRange.ByValue, java.nio.IntBuffer, com.ochafik.lang.jnaerator.runtime.NativeSizeByReference, java.nio.IntBuffer, boolean) and getGlyphsInRange_glyphs_characterIndexes_glyphInscriptions_elasticBits(org.rococoa.cocoa.foundation.NSRange.ByValue, com.sun.jna.ptr.IntByReference, com.ochafik.lang.jnaerator.runtime.NativeSizeByReference, com.sun.jna.ptr.IntByReference, boolean) instead

Original signature : -(NSUInteger)getGlyphsInRange:(NSRange) glyphs:(NSGlyph*) characterIndexes:(NSUInteger*) glyphInscriptions:(NSGlyphInscription*) elasticBits:(BOOL*)
native declaration : NSLayoutManager.h:358

Parameters:
inscribeBuffer - @see org.rococoa.cocoa.appkit.AppKitLibrary#NSGlyphInscription

getGlyphsInRange_glyphs_characterIndexes_glyphInscriptions_elasticBits

public abstract NSUInteger getGlyphsInRange_glyphs_characterIndexes_glyphInscriptions_elasticBits(NSRange.ByValue glyphRange,
                                                                                                  IntBuffer glyphBuffer,
                                                                                                  NativeSizeByReference charIndexBuffer,
                                                                                                  IntBuffer inscribeBuffer,
                                                                                                  boolean elasticBuffer)
Original signature : -(NSUInteger)getGlyphsInRange:(NSRange) glyphs:(NSGlyph*) characterIndexes:(NSUInteger*) glyphInscriptions:(NSGlyphInscription*) elasticBits:(BOOL*)
native declaration : NSLayoutManager.h:358


getGlyphsInRange_glyphs_characterIndexes_glyphInscriptions_elasticBits_bidiLevels

@Deprecated
public abstract NSUInteger getGlyphsInRange_glyphs_characterIndexes_glyphInscriptions_elasticBits_bidiLevels(NSRange.ByValue glyphRange,
                                                                                                                        IntByReference glyphBuffer,
                                                                                                                        NativeSizeByReference charIndexBuffer,
                                                                                                                        IntByReference inscribeBuffer,
                                                                                                                        boolean elasticBuffer,
                                                                                                                        Pointer bidiLevelBuffer)
Deprecated. use the safer methods getGlyphsInRange_glyphs_characterIndexes_glyphInscriptions_elasticBits_bidiLevels(org.rococoa.cocoa.foundation.NSRange.ByValue, java.nio.IntBuffer, com.ochafik.lang.jnaerator.runtime.NativeSizeByReference, java.nio.IntBuffer, boolean, java.nio.ByteBuffer) and getGlyphsInRange_glyphs_characterIndexes_glyphInscriptions_elasticBits_bidiLevels(org.rococoa.cocoa.foundation.NSRange.ByValue, com.sun.jna.ptr.IntByReference, com.ochafik.lang.jnaerator.runtime.NativeSizeByReference, com.sun.jna.ptr.IntByReference, boolean, com.sun.jna.Pointer) instead

Original signature : -(NSUInteger)getGlyphsInRange:(NSRange) glyphs:(NSGlyph*) characterIndexes:(NSUInteger*) glyphInscriptions:(NSGlyphInscription*) elasticBits:(BOOL*) bidiLevels:(unsigned char*)
native declaration : NSLayoutManager.h:360

Parameters:
inscribeBuffer - @see org.rococoa.cocoa.appkit.AppKitLibrary#NSGlyphInscription

getGlyphsInRange_glyphs_characterIndexes_glyphInscriptions_elasticBits_bidiLevels

public abstract NSUInteger getGlyphsInRange_glyphs_characterIndexes_glyphInscriptions_elasticBits_bidiLevels(NSRange.ByValue glyphRange,
                                                                                                             IntBuffer glyphBuffer,
                                                                                                             NativeSizeByReference charIndexBuffer,
                                                                                                             IntBuffer inscribeBuffer,
                                                                                                             boolean elasticBuffer,
                                                                                                             ByteBuffer bidiLevelBuffer)
Original signature : -(NSUInteger)getGlyphsInRange:(NSRange) glyphs:(NSGlyph*) characterIndexes:(NSUInteger*) glyphInscriptions:(NSGlyphInscription*) elasticBits:(BOOL*) bidiLevels:(unsigned char*)
native declaration : NSLayoutManager.h:360


getGlyphs_range

@Deprecated
public abstract NSUInteger getGlyphs_range(IntByReference glyphArray,
                                                      NSRange.ByValue glyphRange)
Deprecated. use the safer methods getGlyphs_range(java.nio.IntBuffer, org.rococoa.cocoa.foundation.NSRange.ByValue) and getGlyphs_range(com.sun.jna.ptr.IntByReference, org.rococoa.cocoa.foundation.NSRange.ByValue) instead

Original signature : -(NSUInteger)getGlyphs:(NSGlyph*) range:(NSRange)
native declaration : NSLayoutManager.h:364


getGlyphs_range

public abstract NSUInteger getGlyphs_range(IntBuffer glyphArray,
                                           NSRange.ByValue glyphRange)
Original signature : -(NSUInteger)getGlyphs:(NSGlyph*) range:(NSRange)
native declaration : NSLayoutManager.h:364


setTextContainer_forGlyphRange

public abstract void setTextContainer_forGlyphRange(NSTextContainer container,
                                                    NSRange.ByValue glyphRange)
Original signature : -(void)setTextContainer:(NSTextContainer*) forGlyphRange:(NSRange)
native declaration : NSLayoutManager.h:371


setLineFragmentRect_forGlyphRange_usedRect

public abstract void setLineFragmentRect_forGlyphRange_usedRect(NSRect.ByValue fragmentRect,
                                                                NSRange.ByValue glyphRange,
                                                                NSRect.ByValue usedRect)
Original signature : -(void)setLineFragmentRect:(NSRect) forGlyphRange:(NSRange) usedRect:(NSRect)
native declaration : NSLayoutManager.h:374


setExtraLineFragmentRect_usedRect_textContainer

public abstract void setExtraLineFragmentRect_usedRect_textContainer(NSRect.ByValue fragmentRect,
                                                                     NSRect.ByValue usedRect,
                                                                     NSTextContainer container)
Original signature : -(void)setExtraLineFragmentRect:(NSRect) usedRect:(NSRect) textContainer:(NSTextContainer*)
native declaration : NSLayoutManager.h:377


setLocation_forStartOfGlyphRange

public abstract void setLocation_forStartOfGlyphRange(NSPoint.ByValue location,
                                                      NSRange.ByValue glyphRange)
Original signature : -(void)setLocation:(NSPoint) forStartOfGlyphRange:(NSRange)
native declaration : NSLayoutManager.h:380


setNotShownAttribute_forGlyphAtIndex

public abstract void setNotShownAttribute_forGlyphAtIndex(boolean flag,
                                                          NSUInteger glyphIndex)
Original signature : -(void)setNotShownAttribute:(BOOL) forGlyphAtIndex:(NSUInteger)
native declaration : NSLayoutManager.h:388


setDrawsOutsideLineFragment_forGlyphAtIndex

public abstract void setDrawsOutsideLineFragment_forGlyphAtIndex(boolean flag,
                                                                 NSUInteger glyphIndex)
Original signature : -(void)setDrawsOutsideLineFragment:(BOOL) forGlyphAtIndex:(NSUInteger)
native declaration : NSLayoutManager.h:391


getFirstUnlaidCharacterIndex_glyphIndex

public abstract void getFirstUnlaidCharacterIndex_glyphIndex(NativeSizeByReference charIndex,
                                                             NativeSizeByReference glyphIndex)
Original signature : -(void)getFirstUnlaidCharacterIndex:(NSUInteger*) glyphIndex:(NSUInteger*)
native declaration : NSLayoutManager.h:401


firstUnlaidCharacterIndex

public abstract NSUInteger firstUnlaidCharacterIndex()
Original signature : -(NSUInteger)firstUnlaidCharacterIndex
native declaration : NSLayoutManager.h:402


firstUnlaidGlyphIndex

public abstract NSUInteger firstUnlaidGlyphIndex()
Original signature : -(NSUInteger)firstUnlaidGlyphIndex
native declaration : NSLayoutManager.h:403


usedRectForTextContainer

public abstract NSRect.ByValue usedRectForTextContainer(NSTextContainer container)
Original signature : -(NSRect)usedRectForTextContainer:(NSTextContainer*)
native declaration : NSLayoutManager.h:411


extraLineFragmentRect

public abstract NSRect.ByValue extraLineFragmentRect()
Original signature : -(NSRect)extraLineFragmentRect
native declaration : NSLayoutManager.h:427


extraLineFragmentUsedRect

public abstract NSRect.ByValue extraLineFragmentUsedRect()
Original signature : -(NSRect)extraLineFragmentUsedRect
native declaration : NSLayoutManager.h:428


extraLineFragmentTextContainer

public abstract NSTextContainer extraLineFragmentTextContainer()
Original signature : -(NSTextContainer*)extraLineFragmentTextContainer
native declaration : NSLayoutManager.h:429


locationForGlyphAtIndex

public abstract NSPoint.ByValue locationForGlyphAtIndex(NSUInteger glyphIndex)
Original signature : -(NSPoint)locationForGlyphAtIndex:(NSUInteger)
native declaration : NSLayoutManager.h:432


notShownAttributeForGlyphAtIndex

public abstract boolean notShownAttributeForGlyphAtIndex(NSUInteger glyphIndex)
Original signature : -(BOOL)notShownAttributeForGlyphAtIndex:(NSUInteger)
native declaration : NSLayoutManager.h:435


drawsOutsideLineFragmentForGlyphAtIndex

public abstract boolean drawsOutsideLineFragmentForGlyphAtIndex(NSUInteger glyphIndex)
Original signature : -(BOOL)drawsOutsideLineFragmentForGlyphAtIndex:(NSUInteger)
native declaration : NSLayoutManager.h:438


attachmentSizeForGlyphAtIndex

public abstract NSObject attachmentSizeForGlyphAtIndex(NSUInteger glyphIndex)
Original signature : -(id)attachmentSizeForGlyphAtIndex:(NSUInteger)
native declaration : NSLayoutManager.h:441


setLayoutRect_forTextBlock_glyphRange

public abstract void setLayoutRect_forTextBlock_glyphRange(NSRect.ByValue rect,
                                                           NSTextBlock block,
                                                           NSRange.ByValue glyphRange)
Original signature : -(void)setLayoutRect:(NSRect) forTextBlock:(NSTextBlock*) glyphRange:(NSRange)
native declaration : NSLayoutManager.h:447


setBoundsRect_forTextBlock_glyphRange

public abstract void setBoundsRect_forTextBlock_glyphRange(NSRect.ByValue rect,
                                                           NSTextBlock block,
                                                           NSRange.ByValue glyphRange)
Original signature : -(void)setBoundsRect:(NSRect) forTextBlock:(NSTextBlock*) glyphRange:(NSRange)
native declaration : NSLayoutManager.h:448


layoutRectForTextBlock_glyphRange

public abstract NSRect.ByValue layoutRectForTextBlock_glyphRange(NSTextBlock block,
                                                                 NSRange.ByValue glyphRange)
Original signature : -(NSRect)layoutRectForTextBlock:(NSTextBlock*) glyphRange:(NSRange)
native declaration : NSLayoutManager.h:449


boundsRectForTextBlock_glyphRange

public abstract NSRect.ByValue boundsRectForTextBlock_glyphRange(NSTextBlock block,
                                                                 NSRange.ByValue glyphRange)
Original signature : -(NSRect)boundsRectForTextBlock:(NSTextBlock*) glyphRange:(NSRange)
native declaration : NSLayoutManager.h:450


glyphRangeForTextContainer

public abstract NSRange.ByValue glyphRangeForTextContainer(NSTextContainer container)
Original signature : -(NSRange)glyphRangeForTextContainer:(NSTextContainer*)
native declaration : NSLayoutManager.h:469


rangeOfNominallySpacedGlyphsContainingIndex

public abstract NSRange.ByValue rangeOfNominallySpacedGlyphsContainingIndex(NSUInteger glyphIndex)
Original signature : -(NSRange)rangeOfNominallySpacedGlyphsContainingIndex:(NSUInteger)
native declaration : NSLayoutManager.h:472


rectArrayForCharacterRange_withinSelectedCharacterRange_inTextContainer_rectCount

public abstract NSObject rectArrayForCharacterRange_withinSelectedCharacterRange_inTextContainer_rectCount(NSRange.ByValue charRange,
                                                                                                           NSRange.ByValue selCharRange,
                                                                                                           NSTextContainer container,
                                                                                                           NativeSizeByReference rectCount)
Original signature : -(id)rectArrayForCharacterRange:(NSRange) withinSelectedCharacterRange:(NSRange) inTextContainer:(NSTextContainer*) rectCount:(NSUInteger*)
native declaration : NSLayoutManager.h:475


rectArrayForGlyphRange_withinSelectedGlyphRange_inTextContainer_rectCount

public abstract NSObject rectArrayForGlyphRange_withinSelectedGlyphRange_inTextContainer_rectCount(NSRange.ByValue glyphRange,
                                                                                                   NSRange.ByValue selGlyphRange,
                                                                                                   NSTextContainer container,
                                                                                                   NativeSizeByReference rectCount)
Original signature : -(id)rectArrayForGlyphRange:(NSRange) withinSelectedGlyphRange:(NSRange) inTextContainer:(NSTextContainer*) rectCount:(NSUInteger*)
native declaration : NSLayoutManager.h:476


boundingRectForGlyphRange_inTextContainer

public abstract NSRect.ByValue boundingRectForGlyphRange_inTextContainer(NSRange.ByValue glyphRange,
                                                                         NSTextContainer container)
Original signature : -(NSRect)boundingRectForGlyphRange:(NSRange) inTextContainer:(NSTextContainer*)
native declaration : NSLayoutManager.h:480


glyphRangeForBoundingRect_inTextContainer

public abstract NSRange.ByValue glyphRangeForBoundingRect_inTextContainer(NSRect.ByValue bounds,
                                                                          NSTextContainer container)
Original signature : -(NSRange)glyphRangeForBoundingRect:(NSRect) inTextContainer:(NSTextContainer*)
native declaration : NSLayoutManager.h:483


glyphRangeForBoundingRectWithoutAdditionalLayout_inTextContainer

public abstract NSRange.ByValue glyphRangeForBoundingRectWithoutAdditionalLayout_inTextContainer(NSRect.ByValue bounds,
                                                                                                 NSTextContainer container)
Original signature : -(NSRange)glyphRangeForBoundingRectWithoutAdditionalLayout:(NSRect) inTextContainer:(NSTextContainer*)
native declaration : NSLayoutManager.h:484


glyphIndexForPoint_inTextContainer_fractionOfDistanceThroughGlyph

public abstract NSUInteger glyphIndexForPoint_inTextContainer_fractionOfDistanceThroughGlyph(NSPoint.ByValue point,
                                                                                             NSTextContainer container,
                                                                                             CGFloatByReference partialFraction)
Original signature : -(NSUInteger)glyphIndexForPoint:(NSPoint) inTextContainer:(NSTextContainer*) fractionOfDistanceThroughGlyph:(CGFloat*)
native declaration : NSLayoutManager.h:487


glyphIndexForPoint_inTextContainer

public abstract NSUInteger glyphIndexForPoint_inTextContainer(NSPoint.ByValue point,
                                                              NSTextContainer container)
Original signature : -(NSUInteger)glyphIndexForPoint:(NSPoint) inTextContainer:(NSTextContainer*)
native declaration : NSLayoutManager.h:488


fractionOfDistanceThroughGlyphForPoint_inTextContainer

public abstract org.rococoa.cocoa.CGFloat fractionOfDistanceThroughGlyphForPoint_inTextContainer(NSPoint.ByValue point,
                                                                                                 NSTextContainer container)
Original signature : -(CGFloat)fractionOfDistanceThroughGlyphForPoint:(NSPoint) inTextContainer:(NSTextContainer*)
native declaration : NSLayoutManager.h:489


characterIndexForPoint_inTextContainer_fractionOfDistanceBetweenInsertionPoints

public abstract NSUInteger characterIndexForPoint_inTextContainer_fractionOfDistanceBetweenInsertionPoints(NSPoint.ByValue point,
                                                                                                           NSTextContainer container,
                                                                                                           CGFloatByReference partialFraction)
Original signature : -(NSUInteger)characterIndexForPoint:(NSPoint) inTextContainer:(NSTextContainer*) fractionOfDistanceBetweenInsertionPoints:(CGFloat*)
native declaration : NSLayoutManager.h:493


getLineFragmentInsertionPointsForCharacterAtIndex_alternatePositions_inDisplayOrder_positions_characterIndexes

public abstract NSUInteger getLineFragmentInsertionPointsForCharacterAtIndex_alternatePositions_inDisplayOrder_positions_characterIndexes(NSUInteger charIndex,
                                                                                                                                          boolean aFlag,
                                                                                                                                          boolean dFlag,
                                                                                                                                          CGFloatByReference positions,
                                                                                                                                          NativeSizeByReference charIndexes)
Original signature : -(NSUInteger)getLineFragmentInsertionPointsForCharacterAtIndex:(NSUInteger) alternatePositions:(BOOL) inDisplayOrder:(BOOL) positions:(CGFloat*) characterIndexes:(NSUInteger*)
native declaration : NSLayoutManager.h:498


setTemporaryAttributes_forCharacterRange

public abstract void setTemporaryAttributes_forCharacterRange(NSDictionary attrs,
                                                              NSRange.ByValue charRange)
Original signature : -(void)setTemporaryAttributes:(NSDictionary*) forCharacterRange:(NSRange)
native declaration : NSLayoutManager.h:505


addTemporaryAttributes_forCharacterRange

public abstract void addTemporaryAttributes_forCharacterRange(NSDictionary attrs,
                                                              NSRange.ByValue charRange)
Original signature : -(void)addTemporaryAttributes:(NSDictionary*) forCharacterRange:(NSRange)
native declaration : NSLayoutManager.h:506


removeTemporaryAttribute_forCharacterRange

public abstract void removeTemporaryAttribute_forCharacterRange(NSString attrName,
                                                                NSRange.ByValue charRange)
Original signature : -(void)removeTemporaryAttribute:(NSString*) forCharacterRange:(NSRange)
native declaration : NSLayoutManager.h:507


addTemporaryAttribute_value_forCharacterRange

public abstract void addTemporaryAttribute_value_forCharacterRange(NSString attrName,
                                                                   ObjCObject value,
                                                                   NSRange.ByValue charRange)
Original signature : -(void)addTemporaryAttribute:(NSString*) value:(id) forCharacterRange:(NSRange)
native declaration : NSLayoutManager.h:514


substituteFontForFont

public abstract NSFont substituteFontForFont(NSFont originalFont)
Original signature : -(NSFont*)substituteFontForFont:(NSFont*)
native declaration : NSLayoutManager.h:520


defaultLineHeightForFont

public abstract org.rococoa.cocoa.CGFloat defaultLineHeightForFont(NSFont theFont)
Original signature : -(CGFloat)defaultLineHeightForFont:(NSFont*)
native declaration : NSLayoutManager.h:524


defaultBaselineOffsetForFont

public abstract org.rococoa.cocoa.CGFloat defaultBaselineOffsetForFont(NSFont theFont)
Returns the default line height specified by the layout manager's typesetter behavior for the given font.
Original signature : -(CGFloat)defaultBaselineOffsetForFont:(NSFont*)
native declaration : NSLayoutManager.h:526


usesFontLeading

public abstract boolean usesFontLeading()
Returns the default baseline offset specified by the layout manager's typesetter behavior for the given font.
Original signature : -(BOOL)usesFontLeading
native declaration : NSLayoutManager.h:528


setUsesFontLeading

public abstract void setUsesFontLeading(boolean flag)
Original signature : -(void)setUsesFontLeading:(BOOL)
native declaration : NSLayoutManager.h:529


alloc

public static NSLayoutManager alloc()

new_

public static NSLayoutManager new_()

getNSClass

public static NSLayoutManager._class_ getNSClass()


Copyright © 2009. All Rights Reserved.