Package org.eclipse.swt.internal.cocoa
Class NSLayoutManager
java.lang.Object
org.eclipse.swt.internal.cocoa.id
org.eclipse.swt.internal.cocoa.NSObject
org.eclipse.swt.internal.cocoa.NSLayoutManager
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addTemporaryAttribute
(NSString attrName, id value, NSRange charRange) void
addTextContainer
(NSTextContainer container) boundingRectForGlyphRange
(NSRange glyphRange, NSTextContainer container) long
characterIndexForGlyphAtIndex
(long glyphIndex) double
defaultBaselineOffsetForFont
(NSFont theFont) double
defaultLineHeightForFont
(NSFont theFont) void
drawBackgroundForGlyphRange
(NSRange glyphsToShow, NSPoint origin) void
drawGlyphsForGlyphRange
(NSRange glyphsToShow, NSPoint origin) long
long
getGlyphsInRange
(NSRange glyphRange, long glyphBuffer, long charIndexBuffer, long inscribeBuffer, long elasticBuffer, byte[] bidiLevelBuffer) long
glyphIndexForCharacterAtIndex
(long charIndex) long
glyphIndexForPoint
(NSPoint point, NSTextContainer container, double[] partialFraction) glyphRangeForCharacterRange
(NSRange charRange, long actualCharRange) glyphRangeForTextContainer
(NSTextContainer container) lineFragmentUsedRectForGlyphAtIndex
(long glyphIndex, long effectiveGlyphRange) lineFragmentUsedRectForGlyphAtIndex
(long glyphIndex, long effectiveGlyphRange, boolean flag) locationForGlyphAtIndex
(long glyphIndex) long
long
rectArrayForCharacterRange
(NSRange charRange, NSRange selCharRange, NSTextContainer container, long[] rectCount) long
rectArrayForGlyphRange
(NSRange glyphRange, NSRange selGlyphRange, NSTextContainer container, long[] rectCount) void
removeTemporaryAttribute
(NSString attrName, NSRange charRange) void
setBackgroundLayoutEnabled
(boolean backgroundLayoutEnabled) void
setLineFragmentRect
(NSRect fragmentRect, NSRange glyphRange, NSRect usedRect) void
setTextStorage
(NSTextStorage textStorage) void
setUsesScreenFonts
(boolean usesScreenFonts) usedRectForTextContainer
(NSTextContainer container) Methods inherited from class org.eclipse.swt.internal.cocoa.NSObject
accessibilityAttributeValue, accessibilitySetOverrideValue, addEventListener, alloc, autorelease, cancelAuthenticationChallenge, className, conformsToProtocol, copy, description, draggedImage, draggingDestinationWindow, draggingLocation, draggingPasteboard, draggingSourceOperationMask, handleEvent, init, isEqual, isEqualTo, isKindOfClass, mutableCopy, outlineView, outlineView, outlineView, outlineView, performSelector, performSelectorOnMainThread, readSelectionFromPasteboard, release, respondsToSelector, retain, retainCount, setValue, superclass, tableView, tableView, tableView, useCredential, valueForKey, writeSelectionToPasteboard
Methods inherited from class org.eclipse.swt.internal.cocoa.id
equals, hashCode, objc_getClass, toString
-
Constructor Details
-
NSLayoutManager
public NSLayoutManager() -
NSLayoutManager
public NSLayoutManager(long id) -
NSLayoutManager
-
-
Method Details
-
addTemporaryAttribute
-
addTextContainer
-
boundingRectForGlyphRange
-
characterIndexForGlyphAtIndex
public long characterIndexForGlyphAtIndex(long glyphIndex) -
defaultBaselineOffsetForFont
-
defaultLineHeightForFont
-
drawBackgroundForGlyphRange
-
drawGlyphsForGlyphRange
-
getGlyphs
-
getGlyphsInRange
public long getGlyphsInRange(NSRange glyphRange, long glyphBuffer, long charIndexBuffer, long inscribeBuffer, long elasticBuffer, byte[] bidiLevelBuffer) -
glyphIndexForCharacterAtIndex
public long glyphIndexForCharacterAtIndex(long charIndex) -
glyphIndexForPoint
-
glyphRangeForCharacterRange
-
glyphRangeForTextContainer
-
lineFragmentUsedRectForGlyphAtIndex
-
lineFragmentUsedRectForGlyphAtIndex
public NSRect lineFragmentUsedRectForGlyphAtIndex(long glyphIndex, long effectiveGlyphRange, boolean flag) -
locationForGlyphAtIndex
-
numberOfGlyphs
public long numberOfGlyphs() -
rectArrayForCharacterRange
public long rectArrayForCharacterRange(NSRange charRange, NSRange selCharRange, NSTextContainer container, long[] rectCount) -
rectArrayForGlyphRange
public long rectArrayForGlyphRange(NSRange glyphRange, NSRange selGlyphRange, NSTextContainer container, long[] rectCount) -
removeTemporaryAttribute
-
setBackgroundLayoutEnabled
public void setBackgroundLayoutEnabled(boolean backgroundLayoutEnabled) -
setLineFragmentRect
-
setTextStorage
-
setUsesScreenFonts
public void setUsesScreenFonts(boolean usesScreenFonts) -
typesetter
-
usedRectForTextContainer
-