org.rococoa.cocoa.appkit
Class NSLayoutManager
java.lang.Object
org.rococoa.cocoa.foundation.NSObject
org.rococoa.cocoa.appkit.NSLayoutManager
- All Implemented Interfaces:
- NSTextViewSupport, NSGlyphStorage, ABActionDelegate, AMWorkflowControllerDelegate, IMVideoDataSource, NSAccessibility, NSAccessibilityAdditions, NSAnimationDelegate, NSApplicationScriptingDelegation, NSArchiverCallback, NSBrowserDelegate, NSClassDescriptionPrimitives, NSCoderMethods, NSColorPanelResponderMethod, NSComboBoxCellDataSource, NSComboBoxDataSource, NSComboBoxNotifications, NSComparisonMethods, NSConnectionDelegateMethods, NSControlSubclassDelegate, NSControlSubclassNotifications, NSCopyLinkMoveHandler, NSDatePickerCellDelegate, NSDelayedPerforming, NSDeprecatedKeyValueCoding, NSDeprecatedKeyValueObservingCustomization, NSDeprecatedMethods, NSDictionaryControllerKeyValuePair, NSDistantObjectRequestMethods, NSDistributedObjects, NSDraggingDestination, NSDraggingSource, NSDrawerDelegate, NSDrawerNotifications, NSEditor, NSEditorRegistration, NSErrorRecoveryAttempting, NSExceptionHandlerDelegate, NSFileManagerFileOperationAdditions, NSFontManagerDelegate, NSFontManagerResponderMethod, NSFontPanelValidationAdditions, NSImageDelegate, NSKeyedArchiverDelegate, NSKeyedArchiverObjectSubstitution, NSKeyedUnarchiverDelegate, NSKeyedUnarchiverObjectSubstitution, NSKeyValueBindingCreation, NSKeyValueCoding, NSKeyValueObserverNotification, NSKeyValueObserverRegistration, NSKeyValueObserving, NSKeyValueObservingCustomization, NSLayoutManagerDelegate, NSMenuDelegate, NSMenuValidation, NSMetadataQueryDelegate, NSNetServiceBrowserDelegateMethods, NSNetServiceDelegateMethods, NSNibAwaking, NSOutlineViewDataSource, NSOutlineViewDelegate, NSOutlineViewNotifications, NSPasteboardOwner, NSPlaceholders, NSPortDelegateMethods, NSRuleEditorDelegateMethods, NSSavePanelDelegate, NSScriptClassDescription, NSScripting, NSScriptingComparisonMethods, NSScriptKeyValueCoding, NSScriptObjectSpecifiers, NSSoundDelegateMethods, NSSpeechRecognizerDelegate, NSSpeechSynthesizerDelegate, NSSpellServerDelegate, NSSplitViewDelegate, NSStreamDelegateEventExtensions, NSTabViewDelegate, NSTextDelegate, NSTextViewDelegate, NSThreadPerformAdditions, NSTokenFieldCellDelegate, NSTokenFieldDelegate, NSToolbarDelegate, NSToolbarNotifications, NSURLClient, NSURLConnectionDelegate, NSURLDownloadDelegate, NSWindowDelegate, NSWindowNotifications, NSXMLParserDelegateEventAdditions, QTCaptureDecompressedVideoOutputDelegate, QTCaptureFileOutputDelegate, QTCaptureVideoPreviewOutputDelegate, QTCaptureViewDelegate, QTMovieDelegate, QTMovieViewDelegate, SFAuthorizationViewDelegate, SFCertificatePanelDelegate, SFChooseIdentityPanelDelegate, WebDownloadDelegate, WebFrameLoadDelegate, WebJavaPlugIn, WebPlugIn, WebPlugInContainer, WebPolicyDelegate, WebResourceLoadDelegate, WebScripting, WebUIDelegate, WebViewEditingDelegate, NSCoding, NSObject
public abstract class NSLayoutManager
- extends NSObject
- implements NSTextViewSupport, 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.
Method Summary |
abstract void |
addTemporaryAttribute_value_forCharacterRange(NSString attrName,
org.rococoa.ID value,
NSRange.ByValue charRange)
|
abstract void |
addTemporaryAttributes_forCharacterRange(NSDictionary attrs,
NSRange.ByValue charRange)
|
abstract void |
addTextContainer(NSTextContainer container)
|
static NSLayoutManager |
alloc()
|
abstract boolean |
allowsNonContiguousLayout()
|
abstract NSObject |
attachmentSizeForGlyphAtIndex(int glyphIndex)
|
abstract NSAttributedString |
attributedString()
|
abstract boolean |
backgroundLayoutEnabled()
|
abstract NSRect.ByValue |
boundingRectForGlyphRange_inTextContainer(NSRange.ByValue glyphRange,
NSTextContainer container)
|
abstract NSRect.ByValue |
boundsRectForTextBlock_glyphRange(NSTextBlock block,
NSRange.ByValue glyphRange)
|
abstract int |
characterIndexForGlyphAtIndex(int glyphIndex)
|
static NSLayoutManager |
create()
Factory method
|
abstract NSObject |
defaultAttachmentScaling()
|
abstract float |
defaultBaselineOffsetForFont(NSFont theFont)
Returns the default line height specified by the layout manager's typesetter behavior for the given font. |
abstract float |
defaultLineHeightForFont(NSFont theFont)
|
abstract NSObject |
delegate()
|
abstract void |
deleteGlyphsInRange(NSRange.ByValue glyphRange)
|
abstract boolean |
drawsOutsideLineFragmentForGlyphAtIndex(int glyphIndex)
|
abstract void |
ensureGlyphsForCharacterRange(NSRange.ByValue charRange)
|
abstract void |
ensureGlyphsForGlyphRange(NSRange.ByValue glyphRange)
|
abstract void |
ensureLayoutForBoundingRect_inTextContainer(NSRect.ByValue bounds,
NSTextContainer container)
|
abstract void |
ensureLayoutForCharacterRange(NSRange.ByValue charRange)
|
abstract void |
ensureLayoutForGlyphRange(NSRange.ByValue glyphRange)
|
abstract void |
ensureLayoutForTextContainer(NSTextContainer container)
|
abstract NSRect.ByValue |
extraLineFragmentRect()
|
abstract NSTextContainer |
extraLineFragmentTextContainer()
|
abstract NSRect.ByValue |
extraLineFragmentUsedRect()
|
abstract int |
firstUnlaidCharacterIndex()
|
abstract int |
firstUnlaidGlyphIndex()
|
abstract float |
fractionOfDistanceThroughGlyphForPoint_inTextContainer(NSPoint.ByValue point,
NSTextContainer container)
|
abstract void |
getFirstUnlaidCharacterIndex_glyphIndex(IntBuffer charIndex,
IntBuffer glyphIndex)
|
abstract void |
getFirstUnlaidCharacterIndex_glyphIndex(IntByReference charIndex,
IntByReference glyphIndex)
Deprecated. use the safer method getFirstUnlaidCharacterIndex_glyphIndex(java.nio.IntBuffer, java.nio.IntBuffer) instead |
abstract int |
getGlyphs_range(IntBuffer glyphArray,
NSRange.ByValue glyphRange)
|
abstract int |
getGlyphs_range(IntByReference glyphArray,
NSRange.ByValue glyphRange)
Deprecated. use the safer method getGlyphs_range(java.nio.IntBuffer, org.rococoa.cocoa.foundation.NSRange.ByValue) instead |
abstract int |
getGlyphsInRange_glyphs_characterIndexes_glyphInscriptions_elasticBits_bidiLevels(NSRange.ByValue glyphRange,
IntBuffer glyphBuffer,
IntBuffer charIndexBuffer,
int inscribeBuffer,
boolean elasticBuffer,
ByteBuffer bidiLevelBuffer)
Original signature : -(NSUInteger)getGlyphsInRange:(NSRange) glyphs:(NSGlyph*) characterIndexes:(NSUInteger*) glyphInscriptions:(NSGlyphInscription*) elasticBits:(BOOL*) bidiLevels:(unsigned char*)
|
abstract int |
getGlyphsInRange_glyphs_characterIndexes_glyphInscriptions_elasticBits_bidiLevels(NSRange.ByValue glyphRange,
IntByReference glyphBuffer,
IntByReference charIndexBuffer,
int inscribeBuffer,
boolean elasticBuffer,
ByteByReference bidiLevelBuffer)
Deprecated. use the safer method getGlyphsInRange_glyphs_characterIndexes_glyphInscriptions_elasticBits_bidiLevels(org.rococoa.cocoa.foundation.NSRange.ByValue, java.nio.IntBuffer, java.nio.IntBuffer, int, boolean, java.nio.ByteBuffer) instead
|
abstract int |
getGlyphsInRange_glyphs_characterIndexes_glyphInscriptions_elasticBits(NSRange.ByValue glyphRange,
IntBuffer glyphBuffer,
IntBuffer charIndexBuffer,
int inscribeBuffer,
boolean elasticBuffer)
Original signature : -(NSUInteger)getGlyphsInRange:(NSRange) glyphs:(NSGlyph*) characterIndexes:(NSUInteger*) glyphInscriptions:(NSGlyphInscription*) elasticBits:(BOOL*)
|
abstract int |
getGlyphsInRange_glyphs_characterIndexes_glyphInscriptions_elasticBits(NSRange.ByValue glyphRange,
IntByReference glyphBuffer,
IntByReference charIndexBuffer,
int inscribeBuffer,
boolean elasticBuffer)
Deprecated. use the safer method getGlyphsInRange_glyphs_characterIndexes_glyphInscriptions_elasticBits(org.rococoa.cocoa.foundation.NSRange.ByValue, java.nio.IntBuffer, java.nio.IntBuffer, int, boolean) instead
|
abstract int |
getLineFragmentInsertionPointsForCharacterAtIndex_alternatePositions_inDisplayOrder_positions_characterIndexes(int charIndex,
boolean aFlag,
boolean dFlag,
FloatBuffer positions,
IntBuffer charIndexes)
|
abstract int |
getLineFragmentInsertionPointsForCharacterAtIndex_alternatePositions_inDisplayOrder_positions_characterIndexes(int charIndex,
boolean aFlag,
boolean dFlag,
FloatByReference positions,
IntByReference charIndexes)
Deprecated. use the safer method getLineFragmentInsertionPointsForCharacterAtIndex_alternatePositions_inDisplayOrder_positions_characterIndexes(int, boolean, boolean, java.nio.FloatBuffer, java.nio.IntBuffer) instead |
abstract int |
glyphAtIndex_isValidIndex(int glyphIndex,
boolean isValidIndex)
|
abstract int |
glyphAtIndex(int glyphIndex)
|
abstract NSGlyphGenerator |
glyphGenerator()
|
abstract int |
glyphIndexForCharacterAtIndex(int charIndex)
|
abstract int |
glyphIndexForPoint_inTextContainer_fractionOfDistanceThroughGlyph(NSPoint.ByValue point,
NSTextContainer container,
FloatBuffer partialFraction)
|
abstract int |
glyphIndexForPoint_inTextContainer_fractionOfDistanceThroughGlyph(NSPoint.ByValue point,
NSTextContainer container,
FloatByReference partialFraction)
Deprecated. use the safer method glyphIndexForPoint_inTextContainer_fractionOfDistanceThroughGlyph(org.rococoa.cocoa.foundation.NSPoint.ByValue, org.rococoa.cocoa.appkit.NSTextContainer, java.nio.FloatBuffer) instead |
abstract int |
glyphIndexForPoint_inTextContainer(NSPoint.ByValue point,
NSTextContainer container)
|
abstract NSRange.ByValue |
glyphRangeForBoundingRect_inTextContainer(NSRect.ByValue bounds,
NSTextContainer container)
|
abstract NSRange.ByValue |
glyphRangeForBoundingRectWithoutAdditionalLayout_inTextContainer(NSRect.ByValue bounds,
NSTextContainer container)
|
abstract NSRange.ByValue |
glyphRangeForTextContainer(NSTextContainer container)
|
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()
|
abstract NSLayoutManager |
init()
|
abstract void |
insertGlyph_atGlyphIndex_characterIndex(int glyph,
int glyphIndex,
int charIndex)
|
abstract void |
insertGlyphs_length_forStartingGlyphAtIndex_characterIndex(IntBuffer glyphs,
int length,
int glyphIndex,
int charIndex)
|
abstract void |
insertGlyphs_length_forStartingGlyphAtIndex_characterIndex(IntByReference glyphs,
int length,
int glyphIndex,
int charIndex)
Deprecated. use the safer method insertGlyphs_length_forStartingGlyphAtIndex_characterIndex(java.nio.IntBuffer, int, int, int) instead |
abstract void |
insertTextContainer_atIndex(NSTextContainer container,
int index)
Add a container to the end of the array. |
abstract int |
intAttribute_forGlyphAtIndex(int attributeTag,
int glyphIndex)
|
abstract void |
invalidateDisplayForCharacterRange(NSRange.ByValue charRange)
|
abstract void |
invalidateDisplayForGlyphRange(NSRange.ByValue glyphRange)
|
abstract void |
invalidateGlyphsOnLayoutInvalidationForGlyphRange(NSRange.ByValue glyphRange)
|
abstract boolean |
isValidGlyphIndex(int glyphIndex)
|
abstract int |
layoutOptions()
|
abstract NSRect.ByValue |
layoutRectForTextBlock_glyphRange(NSTextBlock block,
NSRange.ByValue glyphRange)
|
abstract NSPoint.ByValue |
locationForGlyphAtIndex(int glyphIndex)
|
abstract boolean |
notShownAttributeForGlyphAtIndex(int glyphIndex)
|
abstract int |
numberOfGlyphs()
|
abstract NSRange.ByValue |
rangeOfNominallySpacedGlyphsContainingIndex(int glyphIndex)
|
abstract NSObject |
rectArrayForCharacterRange_withinSelectedCharacterRange_inTextContainer_rectCount(NSRange.ByValue charRange,
NSRange.ByValue selCharRange,
NSTextContainer container,
IntBuffer rectCount)
|
abstract NSObject |
rectArrayForCharacterRange_withinSelectedCharacterRange_inTextContainer_rectCount(NSRange.ByValue charRange,
NSRange.ByValue selCharRange,
NSTextContainer container,
IntByReference rectCount)
Deprecated. use the safer method rectArrayForCharacterRange_withinSelectedCharacterRange_inTextContainer_rectCount(org.rococoa.cocoa.foundation.NSRange.ByValue, org.rococoa.cocoa.foundation.NSRange.ByValue, org.rococoa.cocoa.appkit.NSTextContainer, java.nio.IntBuffer) instead |
abstract NSObject |
rectArrayForGlyphRange_withinSelectedGlyphRange_inTextContainer_rectCount(NSRange.ByValue glyphRange,
NSRange.ByValue selGlyphRange,
NSTextContainer container,
IntBuffer rectCount)
|
abstract NSObject |
rectArrayForGlyphRange_withinSelectedGlyphRange_inTextContainer_rectCount(NSRange.ByValue glyphRange,
NSRange.ByValue selGlyphRange,
NSTextContainer container,
IntByReference rectCount)
Deprecated. use the safer method rectArrayForGlyphRange_withinSelectedGlyphRange_inTextContainer_rectCount(org.rococoa.cocoa.foundation.NSRange.ByValue, org.rococoa.cocoa.foundation.NSRange.ByValue, org.rococoa.cocoa.appkit.NSTextContainer, java.nio.IntBuffer) instead |
abstract void |
removeTemporaryAttribute_forCharacterRange(NSString attrName,
NSRange.ByValue charRange)
|
abstract void |
removeTextContainerAtIndex(int index)
Insert a container into the array before the container at index. |
abstract void |
replaceGlyphAtIndex_withGlyph(int glyphIndex,
int newGlyph)
|
abstract void |
replaceTextStorage(NSTextStorage newTextStorage)
|
abstract void |
setAllowsNonContiguousLayout(boolean flag)
|
abstract void |
setBackgroundLayoutEnabled(boolean flag)
|
abstract void |
setBoundsRect_forTextBlock_glyphRange(NSRect.ByValue rect,
NSTextBlock block,
NSRange.ByValue glyphRange)
|
abstract void |
setCharacterIndex_forGlyphAtIndex(int charIndex,
int glyphIndex)
|
abstract void |
setDelegate(org.rococoa.ID delegate)
|
abstract void |
setDrawsOutsideLineFragment_forGlyphAtIndex(boolean flag,
int glyphIndex)
|
abstract void |
setExtraLineFragmentRect_usedRect_textContainer(NSRect.ByValue fragmentRect,
NSRect.ByValue usedRect,
NSTextContainer container)
|
abstract void |
setGlyphGenerator(NSGlyphGenerator glyphGenerator)
|
abstract void |
setHyphenationFactor(float factor)
|
abstract void |
setIntAttribute_value_forGlyphAtIndex(int attributeTag,
int val,
int glyphIndex)
sets glyph attribute defined in NSLayoutManager.h
Original signature : -(void)setIntAttribute:(NSInteger) value:(NSInteger) forGlyphAtIndex:(NSUInteger) |
abstract void |
setLayoutRect_forTextBlock_glyphRange(NSRect.ByValue rect,
NSTextBlock block,
NSRange.ByValue glyphRange)
|
abstract void |
setLineFragmentRect_forGlyphRange_usedRect(NSRect.ByValue fragmentRect,
NSRange.ByValue glyphRange,
NSRect.ByValue usedRect)
|
abstract void |
setLocation_forStartOfGlyphRange(NSPoint.ByValue location,
NSRange.ByValue glyphRange)
|
abstract void |
setNotShownAttribute_forGlyphAtIndex(boolean flag,
int glyphIndex)
|
abstract void |
setShowsControlCharacters(boolean flag)
|
abstract void |
setShowsInvisibleCharacters(boolean flag)
|
abstract void |
setTemporaryAttributes_forCharacterRange(NSDictionary attrs,
NSRange.ByValue charRange)
|
abstract void |
setTextContainer_forGlyphRange(NSTextContainer container,
NSRange.ByValue glyphRange)
|
abstract void |
setTextStorage(NSTextStorage textStorage)
|
abstract void |
setTypesetter(NSTypesetter typesetter)
|
abstract void |
setTypesetterBehavior(int theBehavior)
Original signature : -(void)setTypesetterBehavior:(NSTypesetterBehavior)
|
abstract void |
setUsesFontLeading(boolean flag)
|
abstract void |
setUsesScreenFonts(boolean flag)
|
abstract boolean |
showsControlCharacters()
|
abstract boolean |
showsInvisibleCharacters()
|
abstract NSFont |
substituteFontForFont(NSFont originalFont)
|
abstract void |
textContainerChangedGeometry(NSTextContainer container)
|
abstract void |
textContainerChangedTextView(NSTextContainer container)
|
abstract NSArray |
textContainers()
|
abstract void |
textStorage_edited_range_changeInLength_invalidatedRange(NSTextStorage str,
int editedMask,
NSRange.ByValue newCharRange,
int delta,
NSRange.ByValue invalidatedCharRange)
|
abstract NSTextStorage |
textStorage()
|
abstract NSTypesetter |
typesetter()
|
abstract int |
typesetterBehavior()
|
abstract NSRect.ByValue |
usedRectForTextContainer(NSTextContainer container)
|
abstract boolean |
usesFontLeading()
Returns the default baseline offset specified by the layout manager's typesetter behavior for the given font. |
abstract boolean |
usesScreenFonts()
|
Methods inherited from class org.rococoa.cocoa.foundation.NSObject |
copy, dealloc, description, doesNotRecognizeSelector, finalize, forwardInvocation, id, isKindOfClass, isKindOfClass, methodSignatureForSelector, mutableCopy, release, retain, retainCount |
Methods inherited from interface org.rococoa.cocoa.appkit.categories.NSTextViewSupport |
drawBackgroundForGlyphRange_atPoint, drawGlyphsForGlyphRange_atPoint, drawStrikethroughForGlyphRange_strikethroughType_baselineOffset_lineFragmentRect_lineFragmentGlyphRange_containerOrigin, drawUnderlineForGlyphRange_underlineType_baselineOffset_lineFragmentRect_lineFragmentGlyphRange_containerOrigin, firstTextView, layoutManagerOwnsFirstResponderInWindow, rulerAccessoryViewForTextView_paragraphStyle_ruler_enabled, rulerMarkersForTextView_paragraphStyle_ruler, showAttachmentCell_inRect_characterIndex, strikethroughGlyphRange_strikethroughType_lineFragmentRect_lineFragmentGlyphRange_containerOrigin, textViewForBeginningOfSelection, underlineGlyphRange_underlineType_lineFragmentRect_lineFragmentGlyphRange_containerOrigin |
Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject |
autorelease, class_, conformsToProtocol, hash, isEqual, isKindOfClass, isMemberOfClass, isProxy, performSelector_withObject_withObject, performSelector_withObject, performSelector, respondsToSelector, self, superclass, zone |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.WebUIDelegate |
webView_contextMenuItemsForElement_defaultMenuItems, webView_createWebViewModalDialogWithRequest, webView_createWebViewWithRequest, webView_dragDestinationActionMaskForDraggingInfo, webView_dragDestinationActionMaskForDraggingInfo, webView_makeFirstResponder, webView_mouseDidMoveOverElement_modifierFlags, webView_printFrameView, webView_runBeforeUnloadConfirmPanelWithMessage_initiatedByFrame, webView_runJavaScriptAlertPanelWithMessage_initiatedByFrame, webView_runJavaScriptAlertPanelWithMessage, webView_runJavaScriptConfirmPanelWithMessage_initiatedByFrame, webView_runJavaScriptConfirmPanelWithMessage, webView_runJavaScriptTextInputPanelWithPrompt_defaultText_initiatedByFrame, webView_runJavaScriptTextInputPanelWithPrompt_defaultText, webView_runOpenPanelForFileButtonWithResultListener, webView_runOpenPanelForFileButtonWithResultListener, webView_setResizable, webView_setStatusBarVisible, webView_setStatusText, webView_setToolbarsVisible, webView_shouldPerformAction_fromSender, webView_validateUserInterfaceItem_defaultValidation, webView_validateUserInterfaceItem_defaultValidation, webView_willPerformDragDestinationAction_forDraggingInfo, webView_willPerformDragDestinationAction_forDraggingInfo, webViewAreToolbarsVisible, webViewClose, webViewContentRect, webViewFirstResponder, webViewFocus, webViewFooterHeight, webViewFrame, webViewHeaderHeight, webViewIsResizable, webViewIsStatusBarVisible, webViewRunModal, webViewShow, webViewStatusText, webViewUnfocus |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSBrowserDelegate |
browser_acceptDrop_atRow_column_dropOperation, browser_acceptDrop_atRow_column_dropOperation, browser_canDragRowsWithIndexes_inColumn_withEvent, browser_createRowsForColumn_inMatrix, browser_isColumnValid, browser_namesOfPromisedFilesDroppedAtDestination_forDraggedRowsWithIndexes_inColumn, browser_nextTypeSelectMatchFromRow_toRow_inColumn_forString, browser_numberOfRowsInColumn, browser_selectCellWithString_inColumn, browser_selectRow_inColumn, browser_shouldShowCellExpansionForRow_column, browser_shouldSizeColumn_forUserResize_toWidth, browser_shouldTypeSelectForEvent_withCurrentSearchString, browser_sizeToFitWidthOfColumn, browser_titleOfColumn, browser_typeSelectStringForRow_inColumn, browser_validateDrop_proposedRow_column_dropOperation, browser_validateDrop_proposedRow_column_dropOperation, browser_willDisplayCell_atRow_column, browser_writeRowsWithIndexes_inColumn_toPasteboard, browserColumnConfigurationDidChange, browserDidScroll, browserWillScroll |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSKeyValueCoding |
dictionaryWithValuesForKeys, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, setNilValueForKey, setValue_forKey, setValue_forKeyPath, setValue_forUndefinedKey, setValuesForKeysWithDictionary, validateValue_forKey_error, validateValue_forKeyPath_error, valueForKey, valueForKeyPath, valueForUndefinedKey |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSOutlineViewDelegate |
outlineView_dataCellForTableColumn_item, outlineView_didClickTableColumn, outlineView_didDragTableColumn, outlineView_heightOfRowByItem, outlineView_isGroupItem, outlineView_mouseDownInHeaderOfTableColumn, outlineView_nextTypeSelectMatchFromItem_toItem_forString, outlineView_selectionIndexesForProposedSelection, outlineView_shouldCollapseItem, outlineView_shouldEditTableColumn_item, outlineView_shouldExpandItem, outlineView_shouldSelectItem, outlineView_shouldSelectTableColumn, outlineView_shouldShowCellExpansionForTableColumn_item, outlineView_shouldTrackCell_forTableColumn_item, outlineView_shouldTypeSelectForEvent_withCurrentSearchString, outlineView_typeSelectStringForTableColumn_item, outlineView_willDisplayCell_forTableColumn_item, outlineView_willDisplayOutlineCell_forTableColumn_item, selectionShouldChangeInOutlineView |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.WebViewEditingDelegate |
undoManagerForWebView, webView_doCommandBySelector, webView_shouldApplyStyle_toElementsInDOMRange, webView_shouldBeginEditingInDOMRange, webView_shouldChangeTypingStyle_toStyle, webView_shouldDeleteDOMRange, webView_shouldEndEditingInDOMRange, webView_shouldInsertNode_replacingDOMRange_givenAction, webView_shouldInsertText_replacingDOMRange_givenAction, webViewDidBeginEditing, webViewDidChange, webViewDidChangeSelection, webViewDidChangeTypingStyle, webViewDidEndEditing |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.WebFrameLoadDelegate |
webView_didCancelClientRedirectForFrame, webView_didChangeLocationWithinPageForFrame, webView_didClearWindowObject_forFrame, webView_didCommitLoadForFrame, webView_didFailLoadWithError_forFrame, webView_didFailProvisionalLoadWithError_forFrame, webView_didFinishLoadForFrame, webView_didReceiveIcon_forFrame, webView_didReceiveServerRedirectForProvisionalLoadForFrame, webView_didReceiveTitle_forFrame, webView_didStartProvisionalLoadForFrame, webView_willCloseFrame, webView_windowScriptObjectAvailable |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSTokenFieldDelegate |
tokenField_completionsForSubstring_indexOfToken_indexOfSelectedItem, tokenField_completionsForSubstring_indexOfToken_indexOfSelectedItem, tokenField_displayStringForRepresentedObject, tokenField_editingStringForRepresentedObject, tokenField_hasMenuForRepresentedObject, tokenField_menuForRepresentedObject, tokenField_readFromPasteboard, tokenField_representedObjectForEditingString, tokenField_shouldAddObjects_atIndex, tokenField_styleForRepresentedObject, tokenField_writeRepresentedObjects_toPasteboard |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSXMLParserDelegateEventAdditions |
parser_didEndElement_namespaceURI_qualifiedName, parser_didEndMappingPrefix, parser_didStartElement_namespaceURI_qualifiedName_attributes, parser_didStartMappingPrefix_toURI, parser_foundAttributeDeclarationWithName_forElement_type_defaultValue, parser_foundCDATA, parser_foundCharacters, parser_foundComment, parser_foundElementDeclarationWithName_model, parser_foundExternalEntityDeclarationWithName_publicID_systemID, parser_foundIgnorableWhitespace, parser_foundInternalEntityDeclarationWithName_value, parser_foundNotationDeclarationWithName_publicID_systemID, parser_foundProcessingInstructionWithTarget_data, parser_foundUnparsedEntityDeclarationWithName_publicID_systemID_notationName, parser_parseErrorOccurred, parser_resolveExternalEntityName_systemID, parser_validationErrorOccurred, parserDidEndDocument, parserDidStartDocument |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSDraggingDestination |
concludeDragOperation, concludeDragOperation, draggingEnded, draggingEnded, draggingEntered, draggingEntered, draggingExited, draggingExited, draggingUpdated, draggingUpdated, performDragOperation, performDragOperation, prepareForDragOperation, prepareForDragOperation, wantsPeriodicDraggingUpdates |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSOutlineViewDataSource |
outlineView_acceptDrop_item_childIndex, outlineView_acceptDrop_item_childIndex, outlineView_child_ofItem, outlineView_isItemExpandable, outlineView_itemForPersistentObject, outlineView_namesOfPromisedFilesDroppedAtDestination_forDraggedItems, outlineView_numberOfChildrenOfItem, outlineView_objectValueForTableColumn_byItem, outlineView_persistentObjectForItem, outlineView_setObjectValue_forTableColumn_byItem, outlineView_sortDescriptorsDidChange, outlineView_validateDrop_proposedItem_proposedChildIndex, outlineView_validateDrop_proposedItem_proposedChildIndex, outlineView_writeItems_toPasteboard |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSURLDownloadDelegate |
download_decideDestinationWithSuggestedFilename, download_didCancelAuthenticationChallenge, download_didCreateDestination, download_didFailWithError, download_didReceiveAuthenticationChallenge, download_didReceiveDataOfLength, download_didReceiveResponse, download_shouldDecodeSourceDataOfMIMEType, download_willResumeWithResponse_fromByte, download_willSendRequest_redirectResponse, downloadDidBegin, downloadDidFinish |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSAccessibility |
accessibilityActionDescription, accessibilityActionNames, accessibilityAttributeNames, accessibilityAttributeValue_forParameter, accessibilityAttributeValue, accessibilityFocusedUIElement, accessibilityIsAttributeSettable, accessibilityIsIgnored, accessibilityParameterizedAttributeNames, accessibilityPerformAction, accessibilitySetValue_forAttribute |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSTextViewDelegate |
textView_clickedOnLink_atIndex, textView_clickedOnLink, textView_doCommandBySelector, textView_menu_forEvent_atIndex, textView_shouldChangeTextInRanges_replacementStrings, textView_shouldChangeTypingAttributes_toAttributes, textView_willChangeSelectionFromCharacterRanges_toCharacterRanges, textView_willDisplayToolTip_forCharacterAtIndex, textView_writablePasteboardTypesForCell_atIndex, textView_writablePasteboardTypesForCell_atIndex, textView_writeCell_atIndex_toPasteboard_type, textView_writeCell_atIndex_toPasteboard_type, textViewDidChangeSelection, textViewDidChangeTypingAttributes, undoManagerForTextView |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSTokenFieldCellDelegate |
tokenFieldCell_completionsForSubstring_indexOfToken_indexOfSelectedItem, tokenFieldCell_completionsForSubstring_indexOfToken_indexOfSelectedItem, tokenFieldCell_displayStringForRepresentedObject, tokenFieldCell_editingStringForRepresentedObject, tokenFieldCell_hasMenuForRepresentedObject, tokenFieldCell_menuForRepresentedObject, tokenFieldCell_readFromPasteboard, tokenFieldCell_representedObjectForEditingString, tokenFieldCell_shouldAddObjects_atIndex, tokenFieldCell_styleForRepresentedObject, tokenFieldCell_writeRepresentedObjects_toPasteboard |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSWindowNotifications |
windowDidBecomeKey, windowDidBecomeMain, windowDidChangeScreen, windowDidChangeScreenProfile, windowDidDeminiaturize, windowDidEndSheet, windowDidExpose, windowDidMiniaturize, windowDidMove, windowDidResignKey, windowDidResignMain, windowDidResize, windowDidUpdate, windowWillBeginSheet, windowWillClose, windowWillMiniaturize, windowWillMove |
NSLayoutManager
public NSLayoutManager()
init
public abstract NSLayoutManager init()
- Specified by:
init
in class NSObject
create
public static NSLayoutManager create()
- Factory method
- See Also:
init()
textStorage
public abstract NSTextStorage textStorage()
setTextStorage
public abstract void setTextStorage(NSTextStorage textStorage)
attributedString
public abstract NSAttributedString attributedString()
- Specified by:
attributedString
in interface NSGlyphStorage
replaceTextStorage
public abstract void replaceTextStorage(NSTextStorage newTextStorage)
glyphGenerator
public abstract NSGlyphGenerator glyphGenerator()
setGlyphGenerator
public abstract void setGlyphGenerator(NSGlyphGenerator glyphGenerator)
typesetter
public abstract NSTypesetter typesetter()
setTypesetter
public abstract void setTypesetter(NSTypesetter typesetter)
delegate
public abstract NSObject delegate()
setDelegate
public abstract void setDelegate(org.rococoa.ID delegate)
textContainers
public abstract NSArray textContainers()
addTextContainer
public abstract void addTextContainer(NSTextContainer container)
insertTextContainer_atIndex
public abstract void insertTextContainer_atIndex(NSTextContainer container,
int 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)
removeTextContainerAtIndex
public abstract void removeTextContainerAtIndex(int 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)
textContainerChangedGeometry
public abstract void textContainerChangedGeometry(NSTextContainer container)
textContainerChangedTextView
public abstract void textContainerChangedTextView(NSTextContainer container)
setBackgroundLayoutEnabled
public abstract void setBackgroundLayoutEnabled(boolean flag)
backgroundLayoutEnabled
public abstract boolean backgroundLayoutEnabled()
setUsesScreenFonts
public abstract void setUsesScreenFonts(boolean flag)
usesScreenFonts
public abstract boolean usesScreenFonts()
setShowsInvisibleCharacters
public abstract void setShowsInvisibleCharacters(boolean flag)
showsInvisibleCharacters
public abstract boolean showsInvisibleCharacters()
setShowsControlCharacters
public abstract void setShowsControlCharacters(boolean flag)
showsControlCharacters
public abstract boolean showsControlCharacters()
setHyphenationFactor
public abstract void setHyphenationFactor(float factor)
hyphenationFactor
public abstract float hyphenationFactor()
defaultAttachmentScaling
public abstract NSObject defaultAttachmentScaling()
setTypesetterBehavior
public abstract void setTypesetterBehavior(int theBehavior)
- Original signature :
-(void)setTypesetterBehavior:(NSTypesetterBehavior)
- Parameters:
theBehavior
- @see org.rococoa.cocoa.appkit.AppKitLibrary#NSTypesetterBehavior
typesetterBehavior
public abstract int typesetterBehavior()
layoutOptions
public abstract int layoutOptions()
- Specified by:
layoutOptions
in interface NSGlyphStorage
setAllowsNonContiguousLayout
public abstract void setAllowsNonContiguousLayout(boolean flag)
allowsNonContiguousLayout
public abstract boolean allowsNonContiguousLayout()
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
invalidateDisplayForCharacterRange
public abstract void invalidateDisplayForCharacterRange(NSRange.ByValue charRange)
invalidateDisplayForGlyphRange
public abstract void invalidateDisplayForGlyphRange(NSRange.ByValue glyphRange)
textStorage_edited_range_changeInLength_invalidatedRange
public abstract void textStorage_edited_range_changeInLength_invalidatedRange(NSTextStorage str,
int editedMask,
NSRange.ByValue newCharRange,
int delta,
NSRange.ByValue invalidatedCharRange)
ensureGlyphsForCharacterRange
public abstract void ensureGlyphsForCharacterRange(NSRange.ByValue charRange)
ensureGlyphsForGlyphRange
public abstract void ensureGlyphsForGlyphRange(NSRange.ByValue glyphRange)
ensureLayoutForCharacterRange
public abstract void ensureLayoutForCharacterRange(NSRange.ByValue charRange)
ensureLayoutForGlyphRange
public abstract void ensureLayoutForGlyphRange(NSRange.ByValue glyphRange)
ensureLayoutForTextContainer
public abstract void ensureLayoutForTextContainer(NSTextContainer container)
ensureLayoutForBoundingRect_inTextContainer
public abstract void ensureLayoutForBoundingRect_inTextContainer(NSRect.ByValue bounds,
NSTextContainer container)
insertGlyphs_length_forStartingGlyphAtIndex_characterIndex
@Deprecated
public abstract void insertGlyphs_length_forStartingGlyphAtIndex_characterIndex(IntByReference glyphs,
int length,
int glyphIndex,
int charIndex)
- Deprecated. use the safer method
insertGlyphs_length_forStartingGlyphAtIndex_characterIndex(java.nio.IntBuffer, int, int, int)
instead
- Original signature :
-(void)insertGlyphs:(const NSGlyph*) length:(NSUInteger) forStartingGlyphAtIndex:(NSUInteger) characterIndex:(NSUInteger)
- Specified by:
insertGlyphs_length_forStartingGlyphAtIndex_characterIndex
in interface NSGlyphStorage
insertGlyphs_length_forStartingGlyphAtIndex_characterIndex
public abstract void insertGlyphs_length_forStartingGlyphAtIndex_characterIndex(IntBuffer glyphs,
int length,
int glyphIndex,
int charIndex)
- Specified by:
insertGlyphs_length_forStartingGlyphAtIndex_characterIndex
in interface NSGlyphStorage
insertGlyph_atGlyphIndex_characterIndex
public abstract void insertGlyph_atGlyphIndex_characterIndex(int glyph,
int glyphIndex,
int charIndex)
replaceGlyphAtIndex_withGlyph
public abstract void replaceGlyphAtIndex_withGlyph(int glyphIndex,
int newGlyph)
deleteGlyphsInRange
public abstract void deleteGlyphsInRange(NSRange.ByValue glyphRange)
setCharacterIndex_forGlyphAtIndex
public abstract void setCharacterIndex_forGlyphAtIndex(int charIndex,
int glyphIndex)
setIntAttribute_value_forGlyphAtIndex
public abstract void setIntAttribute_value_forGlyphAtIndex(int attributeTag,
int val,
int glyphIndex)
- Description copied from interface:
NSGlyphStorage
- sets glyph attribute defined in NSLayoutManager.h
Original signature : -(void)setIntAttribute:(NSInteger) value:(NSInteger) forGlyphAtIndex:(NSUInteger)
- Specified by:
setIntAttribute_value_forGlyphAtIndex
in interface NSGlyphStorage
invalidateGlyphsOnLayoutInvalidationForGlyphRange
public abstract void invalidateGlyphsOnLayoutInvalidationForGlyphRange(NSRange.ByValue glyphRange)
numberOfGlyphs
public abstract int numberOfGlyphs()
glyphAtIndex_isValidIndex
public abstract int glyphAtIndex_isValidIndex(int glyphIndex,
boolean isValidIndex)
glyphAtIndex
public abstract int glyphAtIndex(int glyphIndex)
isValidGlyphIndex
public abstract boolean isValidGlyphIndex(int glyphIndex)
characterIndexForGlyphAtIndex
public abstract int characterIndexForGlyphAtIndex(int glyphIndex)
glyphIndexForCharacterAtIndex
public abstract int glyphIndexForCharacterAtIndex(int charIndex)
intAttribute_forGlyphAtIndex
public abstract int intAttribute_forGlyphAtIndex(int attributeTag,
int glyphIndex)
getGlyphsInRange_glyphs_characterIndexes_glyphInscriptions_elasticBits
@Deprecated
public abstract int getGlyphsInRange_glyphs_characterIndexes_glyphInscriptions_elasticBits(NSRange.ByValue glyphRange,
IntByReference glyphBuffer,
IntByReference charIndexBuffer,
int inscribeBuffer,
boolean elasticBuffer)
- Deprecated. use the safer method
getGlyphsInRange_glyphs_characterIndexes_glyphInscriptions_elasticBits(org.rococoa.cocoa.foundation.NSRange.ByValue, java.nio.IntBuffer, java.nio.IntBuffer, int, boolean)
instead
- Original signature :
-(NSUInteger)getGlyphsInRange:(NSRange) glyphs:(NSGlyph*) characterIndexes:(NSUInteger*) glyphInscriptions:(NSGlyphInscription*) elasticBits:(BOOL*)
- Parameters:
inscribeBuffer
- @see org.rococoa.cocoa.appkit.AppKitLibrary#NSGlyphInscription
getGlyphsInRange_glyphs_characterIndexes_glyphInscriptions_elasticBits
public abstract int getGlyphsInRange_glyphs_characterIndexes_glyphInscriptions_elasticBits(NSRange.ByValue glyphRange,
IntBuffer glyphBuffer,
IntBuffer charIndexBuffer,
int inscribeBuffer,
boolean elasticBuffer)
- Original signature :
-(NSUInteger)getGlyphsInRange:(NSRange) glyphs:(NSGlyph*) characterIndexes:(NSUInteger*) glyphInscriptions:(NSGlyphInscription*) elasticBits:(BOOL*)
- Parameters:
inscribeBuffer
- @see org.rococoa.cocoa.appkit.AppKitLibrary#NSGlyphInscription
getGlyphsInRange_glyphs_characterIndexes_glyphInscriptions_elasticBits_bidiLevels
@Deprecated
public abstract int getGlyphsInRange_glyphs_characterIndexes_glyphInscriptions_elasticBits_bidiLevels(NSRange.ByValue glyphRange,
IntByReference glyphBuffer,
IntByReference charIndexBuffer,
int inscribeBuffer,
boolean elasticBuffer,
ByteByReference bidiLevelBuffer)
- Deprecated. use the safer method
getGlyphsInRange_glyphs_characterIndexes_glyphInscriptions_elasticBits_bidiLevels(org.rococoa.cocoa.foundation.NSRange.ByValue, java.nio.IntBuffer, java.nio.IntBuffer, int, boolean, java.nio.ByteBuffer)
instead
- Original signature :
-(NSUInteger)getGlyphsInRange:(NSRange) glyphs:(NSGlyph*) characterIndexes:(NSUInteger*) glyphInscriptions:(NSGlyphInscription*) elasticBits:(BOOL*) bidiLevels:(unsigned char*)
- Parameters:
inscribeBuffer
- @see org.rococoa.cocoa.appkit.AppKitLibrary#NSGlyphInscription
getGlyphsInRange_glyphs_characterIndexes_glyphInscriptions_elasticBits_bidiLevels
public abstract int getGlyphsInRange_glyphs_characterIndexes_glyphInscriptions_elasticBits_bidiLevels(NSRange.ByValue glyphRange,
IntBuffer glyphBuffer,
IntBuffer charIndexBuffer,
int inscribeBuffer,
boolean elasticBuffer,
ByteBuffer bidiLevelBuffer)
- Original signature :
-(NSUInteger)getGlyphsInRange:(NSRange) glyphs:(NSGlyph*) characterIndexes:(NSUInteger*) glyphInscriptions:(NSGlyphInscription*) elasticBits:(BOOL*) bidiLevels:(unsigned char*)
- Parameters:
inscribeBuffer
- @see org.rococoa.cocoa.appkit.AppKitLibrary#NSGlyphInscription
getGlyphs_range
@Deprecated
public abstract int getGlyphs_range(IntByReference glyphArray,
NSRange.ByValue glyphRange)
- Deprecated. use the safer method
getGlyphs_range(java.nio.IntBuffer, org.rococoa.cocoa.foundation.NSRange.ByValue)
instead
- Original signature :
-(NSUInteger)getGlyphs:(NSGlyph*) range:(NSRange)
getGlyphs_range
public abstract int getGlyphs_range(IntBuffer glyphArray,
NSRange.ByValue glyphRange)
setTextContainer_forGlyphRange
public abstract void setTextContainer_forGlyphRange(NSTextContainer container,
NSRange.ByValue glyphRange)
setLineFragmentRect_forGlyphRange_usedRect
public abstract void setLineFragmentRect_forGlyphRange_usedRect(NSRect.ByValue fragmentRect,
NSRange.ByValue glyphRange,
NSRect.ByValue usedRect)
setExtraLineFragmentRect_usedRect_textContainer
public abstract void setExtraLineFragmentRect_usedRect_textContainer(NSRect.ByValue fragmentRect,
NSRect.ByValue usedRect,
NSTextContainer container)
setLocation_forStartOfGlyphRange
public abstract void setLocation_forStartOfGlyphRange(NSPoint.ByValue location,
NSRange.ByValue glyphRange)
setNotShownAttribute_forGlyphAtIndex
public abstract void setNotShownAttribute_forGlyphAtIndex(boolean flag,
int glyphIndex)
setDrawsOutsideLineFragment_forGlyphAtIndex
public abstract void setDrawsOutsideLineFragment_forGlyphAtIndex(boolean flag,
int glyphIndex)
getFirstUnlaidCharacterIndex_glyphIndex
@Deprecated
public abstract void getFirstUnlaidCharacterIndex_glyphIndex(IntByReference charIndex,
IntByReference glyphIndex)
- Deprecated. use the safer method
getFirstUnlaidCharacterIndex_glyphIndex(java.nio.IntBuffer, java.nio.IntBuffer)
instead
- Original signature :
-(void)getFirstUnlaidCharacterIndex:(NSUInteger*) glyphIndex:(NSUInteger*)
getFirstUnlaidCharacterIndex_glyphIndex
public abstract void getFirstUnlaidCharacterIndex_glyphIndex(IntBuffer charIndex,
IntBuffer glyphIndex)
firstUnlaidCharacterIndex
public abstract int firstUnlaidCharacterIndex()
firstUnlaidGlyphIndex
public abstract int firstUnlaidGlyphIndex()
usedRectForTextContainer
public abstract NSRect.ByValue usedRectForTextContainer(NSTextContainer container)
extraLineFragmentRect
public abstract NSRect.ByValue extraLineFragmentRect()
extraLineFragmentUsedRect
public abstract NSRect.ByValue extraLineFragmentUsedRect()
extraLineFragmentTextContainer
public abstract NSTextContainer extraLineFragmentTextContainer()
locationForGlyphAtIndex
public abstract NSPoint.ByValue locationForGlyphAtIndex(int glyphIndex)
notShownAttributeForGlyphAtIndex
public abstract boolean notShownAttributeForGlyphAtIndex(int glyphIndex)
drawsOutsideLineFragmentForGlyphAtIndex
public abstract boolean drawsOutsideLineFragmentForGlyphAtIndex(int glyphIndex)
attachmentSizeForGlyphAtIndex
public abstract NSObject attachmentSizeForGlyphAtIndex(int glyphIndex)
setLayoutRect_forTextBlock_glyphRange
public abstract void setLayoutRect_forTextBlock_glyphRange(NSRect.ByValue rect,
NSTextBlock block,
NSRange.ByValue glyphRange)
setBoundsRect_forTextBlock_glyphRange
public abstract void setBoundsRect_forTextBlock_glyphRange(NSRect.ByValue rect,
NSTextBlock block,
NSRange.ByValue glyphRange)
layoutRectForTextBlock_glyphRange
public abstract NSRect.ByValue layoutRectForTextBlock_glyphRange(NSTextBlock block,
NSRange.ByValue glyphRange)
boundsRectForTextBlock_glyphRange
public abstract NSRect.ByValue boundsRectForTextBlock_glyphRange(NSTextBlock block,
NSRange.ByValue glyphRange)
glyphRangeForTextContainer
public abstract NSRange.ByValue glyphRangeForTextContainer(NSTextContainer container)
rangeOfNominallySpacedGlyphsContainingIndex
public abstract NSRange.ByValue rangeOfNominallySpacedGlyphsContainingIndex(int glyphIndex)
rectArrayForCharacterRange_withinSelectedCharacterRange_inTextContainer_rectCount
@Deprecated
public abstract NSObject rectArrayForCharacterRange_withinSelectedCharacterRange_inTextContainer_rectCount(NSRange.ByValue charRange,
NSRange.ByValue selCharRange,
NSTextContainer container,
IntByReference rectCount)
- Deprecated. use the safer method
rectArrayForCharacterRange_withinSelectedCharacterRange_inTextContainer_rectCount(org.rococoa.cocoa.foundation.NSRange.ByValue, org.rococoa.cocoa.foundation.NSRange.ByValue, org.rococoa.cocoa.appkit.NSTextContainer, java.nio.IntBuffer)
instead
- Original signature :
-(id)rectArrayForCharacterRange:(NSRange) withinSelectedCharacterRange:(NSRange) inTextContainer:(NSTextContainer*) rectCount:(NSUInteger*)
rectArrayForCharacterRange_withinSelectedCharacterRange_inTextContainer_rectCount
public abstract NSObject rectArrayForCharacterRange_withinSelectedCharacterRange_inTextContainer_rectCount(NSRange.ByValue charRange,
NSRange.ByValue selCharRange,
NSTextContainer container,
IntBuffer rectCount)
rectArrayForGlyphRange_withinSelectedGlyphRange_inTextContainer_rectCount
@Deprecated
public abstract NSObject rectArrayForGlyphRange_withinSelectedGlyphRange_inTextContainer_rectCount(NSRange.ByValue glyphRange,
NSRange.ByValue selGlyphRange,
NSTextContainer container,
IntByReference rectCount)
- Deprecated. use the safer method
rectArrayForGlyphRange_withinSelectedGlyphRange_inTextContainer_rectCount(org.rococoa.cocoa.foundation.NSRange.ByValue, org.rococoa.cocoa.foundation.NSRange.ByValue, org.rococoa.cocoa.appkit.NSTextContainer, java.nio.IntBuffer)
instead
- Original signature :
-(id)rectArrayForGlyphRange:(NSRange) withinSelectedGlyphRange:(NSRange) inTextContainer:(NSTextContainer*) rectCount:(NSUInteger*)
rectArrayForGlyphRange_withinSelectedGlyphRange_inTextContainer_rectCount
public abstract NSObject rectArrayForGlyphRange_withinSelectedGlyphRange_inTextContainer_rectCount(NSRange.ByValue glyphRange,
NSRange.ByValue selGlyphRange,
NSTextContainer container,
IntBuffer rectCount)
boundingRectForGlyphRange_inTextContainer
public abstract NSRect.ByValue boundingRectForGlyphRange_inTextContainer(NSRange.ByValue glyphRange,
NSTextContainer container)
glyphRangeForBoundingRect_inTextContainer
public abstract NSRange.ByValue glyphRangeForBoundingRect_inTextContainer(NSRect.ByValue bounds,
NSTextContainer container)
glyphRangeForBoundingRectWithoutAdditionalLayout_inTextContainer
public abstract NSRange.ByValue glyphRangeForBoundingRectWithoutAdditionalLayout_inTextContainer(NSRect.ByValue bounds,
NSTextContainer container)
glyphIndexForPoint_inTextContainer_fractionOfDistanceThroughGlyph
@Deprecated
public abstract int glyphIndexForPoint_inTextContainer_fractionOfDistanceThroughGlyph(NSPoint.ByValue point,
NSTextContainer container,
FloatByReference partialFraction)
- Deprecated. use the safer method
glyphIndexForPoint_inTextContainer_fractionOfDistanceThroughGlyph(org.rococoa.cocoa.foundation.NSPoint.ByValue, org.rococoa.cocoa.appkit.NSTextContainer, java.nio.FloatBuffer)
instead
- Original signature :
-(NSUInteger)glyphIndexForPoint:(NSPoint) inTextContainer:(NSTextContainer*) fractionOfDistanceThroughGlyph:(CGFloat*)
glyphIndexForPoint_inTextContainer_fractionOfDistanceThroughGlyph
public abstract int glyphIndexForPoint_inTextContainer_fractionOfDistanceThroughGlyph(NSPoint.ByValue point,
NSTextContainer container,
FloatBuffer partialFraction)
glyphIndexForPoint_inTextContainer
public abstract int glyphIndexForPoint_inTextContainer(NSPoint.ByValue point,
NSTextContainer container)
fractionOfDistanceThroughGlyphForPoint_inTextContainer
public abstract float fractionOfDistanceThroughGlyphForPoint_inTextContainer(NSPoint.ByValue point,
NSTextContainer container)
getLineFragmentInsertionPointsForCharacterAtIndex_alternatePositions_inDisplayOrder_positions_characterIndexes
@Deprecated
public abstract int getLineFragmentInsertionPointsForCharacterAtIndex_alternatePositions_inDisplayOrder_positions_characterIndexes(int charIndex,
boolean aFlag,
boolean dFlag,
FloatByReference positions,
IntByReference charIndexes)
- Deprecated. use the safer method
getLineFragmentInsertionPointsForCharacterAtIndex_alternatePositions_inDisplayOrder_positions_characterIndexes(int, boolean, boolean, java.nio.FloatBuffer, java.nio.IntBuffer)
instead
- Original signature :
-(NSUInteger)getLineFragmentInsertionPointsForCharacterAtIndex:(NSUInteger) alternatePositions:(BOOL) inDisplayOrder:(BOOL) positions:(CGFloat*) characterIndexes:(NSUInteger*)
getLineFragmentInsertionPointsForCharacterAtIndex_alternatePositions_inDisplayOrder_positions_characterIndexes
public abstract int getLineFragmentInsertionPointsForCharacterAtIndex_alternatePositions_inDisplayOrder_positions_characterIndexes(int charIndex,
boolean aFlag,
boolean dFlag,
FloatBuffer positions,
IntBuffer charIndexes)
setTemporaryAttributes_forCharacterRange
public abstract void setTemporaryAttributes_forCharacterRange(NSDictionary attrs,
NSRange.ByValue charRange)
addTemporaryAttributes_forCharacterRange
public abstract void addTemporaryAttributes_forCharacterRange(NSDictionary attrs,
NSRange.ByValue charRange)
removeTemporaryAttribute_forCharacterRange
public abstract void removeTemporaryAttribute_forCharacterRange(NSString attrName,
NSRange.ByValue charRange)
addTemporaryAttribute_value_forCharacterRange
public abstract void addTemporaryAttribute_value_forCharacterRange(NSString attrName,
org.rococoa.ID value,
NSRange.ByValue charRange)
substituteFontForFont
public abstract NSFont substituteFontForFont(NSFont originalFont)
defaultLineHeightForFont
public abstract float defaultLineHeightForFont(NSFont theFont)
defaultBaselineOffsetForFont
public abstract float 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*)
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
setUsesFontLeading
public abstract void setUsesFontLeading(boolean flag)
alloc
public static NSLayoutManager alloc()