public interface NSTextLayoutManagerDelegate
| Modifier and Type | Method and Description |
|---|---|
default NSDictionary<java.lang.String,?> |
textLayoutManagerRenderingAttributesForLinkAtLocationDefaultAttributes(NSTextLayoutManager textLayoutManager,
java.lang.Object link,
NSTextLocation location,
NSDictionary<java.lang.String,?> renderingAttributes)
Rendering attributes
Returns a dictionary of rendering attributes for rendering NSLinkAttributeName.
|
default boolean |
textLayoutManagerShouldBreakLineBeforeLocationHyphenating(NSTextLayoutManager textLayoutManager,
NSTextLocation location,
boolean hyphenating)
Layout behavior
Invoked while determining the soft line break point.
|
default NSTextLayoutFragment |
textLayoutManagerTextLayoutFragmentForLocationInTextElement(NSTextLayoutManager textLayoutManager,
NSTextLocation location,
NSTextElement textElement)
NSTextLayoutFragment management
Returns NSTextLayoutFragment for location in textElement.
|
default NSDictionary<java.lang.String,?> textLayoutManagerRenderingAttributesForLinkAtLocationDefaultAttributes(NSTextLayoutManager textLayoutManager, java.lang.Object link, NSTextLocation location, NSDictionary<java.lang.String,?> renderingAttributes)
default boolean textLayoutManagerShouldBreakLineBeforeLocationHyphenating(NSTextLayoutManager textLayoutManager, NSTextLocation location, boolean hyphenating)
default NSTextLayoutFragment textLayoutManagerTextLayoutFragmentForLocationInTextElement(NSTextLayoutManager textLayoutManager, NSTextLocation location, NSTextElement textElement)