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
-
public class NSLayoutManager extends NSObject
-
-
Constructor Summary
Constructors Constructor Description NSLayoutManager()NSLayoutManager(long id)NSLayoutManager(id id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddTemporaryAttribute(NSString attrName, id value, NSRange charRange)voidaddTextContainer(NSTextContainer container)NSRectboundingRectForGlyphRange(NSRange glyphRange, NSTextContainer container)longcharacterIndexForGlyphAtIndex(long glyphIndex)doubledefaultBaselineOffsetForFont(NSFont theFont)doubledefaultLineHeightForFont(NSFont theFont)voiddrawBackgroundForGlyphRange(NSRange glyphsToShow, NSPoint origin)voiddrawGlyphsForGlyphRange(NSRange glyphsToShow, NSPoint origin)longgetGlyphs(long glyphArray, NSRange glyphRange)longgetGlyphsInRange(NSRange glyphRange, long glyphBuffer, long charIndexBuffer, long inscribeBuffer, long elasticBuffer, byte[] bidiLevelBuffer)longglyphIndexForCharacterAtIndex(long charIndex)longglyphIndexForPoint(NSPoint point, NSTextContainer container, double[] partialFraction)NSRangeglyphRangeForCharacterRange(NSRange charRange, long actualCharRange)NSRangeglyphRangeForTextContainer(NSTextContainer container)NSRectlineFragmentUsedRectForGlyphAtIndex(long glyphIndex, long effectiveGlyphRange)NSRectlineFragmentUsedRectForGlyphAtIndex(long glyphIndex, long effectiveGlyphRange, boolean flag)NSPointlocationForGlyphAtIndex(long glyphIndex)longnumberOfGlyphs()longrectArrayForCharacterRange(NSRange charRange, NSRange selCharRange, NSTextContainer container, long[] rectCount)longrectArrayForGlyphRange(NSRange glyphRange, NSRange selGlyphRange, NSTextContainer container, long[] rectCount)voidremoveTemporaryAttribute(NSString attrName, NSRange charRange)voidsetBackgroundLayoutEnabled(boolean backgroundLayoutEnabled)voidsetTextStorage(NSTextStorage textStorage)voidsetUsesScreenFonts(boolean usesScreenFonts)NSTypesettertypesetter()NSRectusedRectForTextContainer(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, isKindOfClass, mutableCopy, outlineView, outlineView, outlineView, performSelector, performSelectorOnMainThread, readSelectionFromPasteboard, release, respondsToSelector, retain, retainCount, setValue, superclass, tableView, tableView, useCredential, valueForKey, writeSelectionToPasteboard
-
Methods inherited from class org.eclipse.swt.internal.cocoa.id
equals, hashCode, objc_getClass, toString
-
-
-
-
Constructor Detail
-
NSLayoutManager
public NSLayoutManager()
-
NSLayoutManager
public NSLayoutManager(long id)
-
NSLayoutManager
public NSLayoutManager(id id)
-
-
Method Detail
-
addTemporaryAttribute
public void addTemporaryAttribute(NSString attrName, id value, NSRange charRange)
-
addTextContainer
public void addTextContainer(NSTextContainer container)
-
boundingRectForGlyphRange
public NSRect boundingRectForGlyphRange(NSRange glyphRange, NSTextContainer container)
-
characterIndexForGlyphAtIndex
public long characterIndexForGlyphAtIndex(long glyphIndex)
-
defaultBaselineOffsetForFont
public double defaultBaselineOffsetForFont(NSFont theFont)
-
defaultLineHeightForFont
public double defaultLineHeightForFont(NSFont theFont)
-
drawBackgroundForGlyphRange
public void drawBackgroundForGlyphRange(NSRange glyphsToShow, NSPoint origin)
-
getGlyphs
public long getGlyphs(long glyphArray, NSRange glyphRange)
-
getGlyphsInRange
public long getGlyphsInRange(NSRange glyphRange, long glyphBuffer, long charIndexBuffer, long inscribeBuffer, long elasticBuffer, byte[] bidiLevelBuffer)
-
glyphIndexForCharacterAtIndex
public long glyphIndexForCharacterAtIndex(long charIndex)
-
glyphIndexForPoint
public long glyphIndexForPoint(NSPoint point, NSTextContainer container, double[] partialFraction)
-
glyphRangeForCharacterRange
public NSRange glyphRangeForCharacterRange(NSRange charRange, long actualCharRange)
-
glyphRangeForTextContainer
public NSRange glyphRangeForTextContainer(NSTextContainer container)
-
lineFragmentUsedRectForGlyphAtIndex
public NSRect lineFragmentUsedRectForGlyphAtIndex(long glyphIndex, long effectiveGlyphRange)
-
lineFragmentUsedRectForGlyphAtIndex
public NSRect lineFragmentUsedRectForGlyphAtIndex(long glyphIndex, long effectiveGlyphRange, boolean flag)
-
locationForGlyphAtIndex
public NSPoint locationForGlyphAtIndex(long glyphIndex)
-
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
public void removeTemporaryAttribute(NSString attrName, NSRange charRange)
-
setBackgroundLayoutEnabled
public void setBackgroundLayoutEnabled(boolean backgroundLayoutEnabled)
-
setTextStorage
public void setTextStorage(NSTextStorage textStorage)
-
setUsesScreenFonts
public void setUsesScreenFonts(boolean usesScreenFonts)
-
typesetter
public NSTypesetter typesetter()
-
usedRectForTextContainer
public NSRect usedRectForTextContainer(NSTextContainer container)
-
-