Package org.robovm.apple.uikit
Class NSTextLayoutManager
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.objc.ObjCObject
org.robovm.apple.foundation.NSObject
org.robovm.apple.uikit.NSTextLayoutManager
- All Implemented Interfaces:
NSCoding,NSObjectProtocol,NSSecureCoding,NSTextSelectionDataSource,ObjCProtocol
public class NSTextLayoutManager extends NSObject implements NSSecureCoding, NSTextSelectionDataSource
- Since:
- Available in iOS 15.0 and later.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNSTextLayoutManager.NSTextLayoutManagerPtrNested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInitNested classes/interfaces inherited from class org.robovm.objc.ObjCObject
ObjCObject.ObjCObjectPtr, ObjCObject.Super -
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description NSTextLayoutManager()NSTextLayoutManager(NSCoder coder)protectedNSTextLayoutManager(NSObject.Handle h, long handle)protectedNSTextLayoutManager(NSObject.SkipInit skipInit) -
Method Summary
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValuesMethods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRef
-
Constructor Details
-
NSTextLayoutManager
public NSTextLayoutManager() -
NSTextLayoutManager
-
NSTextLayoutManager
-
NSTextLayoutManager
-
-
Method Details
-
getDelegate
-
setDelegate
-
usesFontLeading
public boolean usesFontLeading() -
setUsesFontLeading
public void setUsesFontLeading(boolean v) -
isLimitsLayoutForSuspiciousContents
public boolean isLimitsLayoutForSuspiciousContents() -
setLimitsLayoutForSuspiciousContents
public void setLimitsLayoutForSuspiciousContents(boolean v) -
usesHyphenation
public boolean usesHyphenation() -
setUsesHyphenation
public void setUsesHyphenation(boolean v) -
getTextContentManager
-
getTextContainer
-
setTextContainer
-
getUsageBoundsForTextContainer
-
getTextViewportLayoutController
-
getLayoutQueue
-
setLayoutQueue
-
getTextSelections
-
setTextSelections
-
getTextSelectionNavigation
-
setTextSelectionNavigation
-
getRenderingAttributesValidator
-
setRenderingAttributesValidator
public void setRenderingAttributesValidator(VoidBlock2<NSTextLayoutManager,NSTextLayoutFragment> v) -
getLinkRenderingAttributes
-
supportsSecureCoding
public static boolean supportsSecureCoding() -
getDocumentRange
- Specified by:
getDocumentRangein interfaceNSTextSelectionDataSource
-
init
-
replaceTextContentManager
-
ensureLayoutForRange
-
ensureLayoutForBounds
-
invalidateLayoutForRange
-
textLayoutFragmentForPosition
-
textLayoutFragmentForLocation
-
enumerateTextLayoutFragments
public NSTextLocation enumerateTextLayoutFragments(NSTextLocation location, NSTextLayoutFragmentEnumerationOptions options, Block1<NSTextLayoutFragment,Boolean> block) -
enumerateRenderingAttributes
public void enumerateRenderingAttributes(NSTextLocation location, boolean reverse, Block3<NSTextLayoutManager,NSDictionary<NSString,?>,NSTextRange,Boolean> block) -
setRenderingAttributes
public void setRenderingAttributes(NSDictionary<NSString,?> renderingAttributes, NSTextRange textRange) -
addRenderingAttribute
public void addRenderingAttribute(NSString renderingAttribute, NSObject value, NSTextRange textRange) -
removeRenderingAttribute
-
invalidateRenderingAttributesForTextRange
-
renderingAttributesForLink
public NSDictionary<NSString,?> renderingAttributesForLink(NSObject link, NSTextLocation location) -
enumerateTextSegmentsInRange
public void enumerateTextSegmentsInRange(NSTextRange textRange, NSTextLayoutManagerSegmentType type, NSTextLayoutManagerSegmentOptions options, Block4<NSTextRange,CGRect,Double,NSTextContainer,Boolean> block) -
replaceContentsInRange
-
replaceContentsInRange
-
encode
-
enumerateSubstringsFromLocation
public void enumerateSubstringsFromLocation(NSTextLocation location, NSStringEnumerationOptions options, VoidBlock4<NSString,NSTextRange,NSTextRange,BooleanPtr> block)- Specified by:
enumerateSubstringsFromLocationin interfaceNSTextSelectionDataSource
-
getTextRangeForSelectionGranularity
public NSTextRange getTextRangeForSelectionGranularity(NSTextSelectionGranularity selectionGranularity, NSTextLocation location)- Specified by:
getTextRangeForSelectionGranularityin interfaceNSTextSelectionDataSource
-
getLocationFromLocation
- Specified by:
getLocationFromLocationin interfaceNSTextSelectionDataSource
-
getOffsetFromLocation
- Specified by:
getOffsetFromLocationin interfaceNSTextSelectionDataSource
-
baseWritingDirectionAtLocation
public NSTextSelectionNavigationWritingDirection baseWritingDirectionAtLocation(NSTextLocation location)- Specified by:
baseWritingDirectionAtLocationin interfaceNSTextSelectionDataSource
-
enumerateCaretOffsetsInLineFragmentAtLocation
public void enumerateCaretOffsetsInLineFragmentAtLocation(NSTextLocation location, VoidBlock4<Double,NSTextLocation,Boolean,BooleanPtr> block)- Specified by:
enumerateCaretOffsetsInLineFragmentAtLocationin interfaceNSTextSelectionDataSource
-
getLineFragmentRangeForPoint
- Specified by:
getLineFragmentRangeForPointin interfaceNSTextSelectionDataSource
-
enumerateContainerBoundariesFromLocation
public void enumerateContainerBoundariesFromLocation(NSTextLocation location, boolean reverse, VoidBlock2<NSTextLocation,BooleanPtr> block)- Specified by:
enumerateContainerBoundariesFromLocationin interfaceNSTextSelectionDataSource
-
textLayoutOrientationAtLocation
public NSTextSelectionNavigationLayoutOrientation textLayoutOrientationAtLocation(NSTextLocation location)- Specified by:
textLayoutOrientationAtLocationin interfaceNSTextSelectionDataSource
-