NSLayoutManagerDelegate class interface
NSLayoutManagerDelegate
Constructors
- NSLayoutManagerDelegate.castFrom(ObjCObjectBase other)
-
Constructs a NSLayoutManagerDelegate that points to the same underlying object as
other. -
NSLayoutManagerDelegate.castFromPointer(Pointer<
ObjCObject> other, {bool retain = false, bool release = false}) - Constructs a NSLayoutManagerDelegate that wraps the given raw object pointer.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- ref → ObjCObjectRef
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- $protocol → Protocol
-
Returns the
objc.Protocolobject for this protocol.no setter -
layoutManager_boundingBoxForControlGlyphAtIndex_forTextContainer_proposedLineFragment_glyphPosition_characterIndex_
→ ObjCProtocolMethod<
NSRect Function(NSLayoutManager, DartNSUInteger, NSTextContainer, NSRect, NSPoint, DartNSUInteger)> -
layoutManager:boundingBoxForControlGlyphAtIndex:forTextContainer:proposedLineFragment:glyphPosition:characterIndex:
final
-
layoutManager_didCompleteLayoutForTextContainer_atEnd_
→ ObjCProtocolListenableMethod<
void Function(NSLayoutManager, NSTextContainer?, bool)> -
layoutManager:didCompleteLayoutForTextContainer:atEnd:
final
-
layoutManager_lineSpacingAfterGlyphAtIndex_withProposedLineFragmentRect_
→ ObjCProtocolMethod<
DartCGFloat Function(NSLayoutManager, DartNSUInteger, NSRect)> -
layoutManager:lineSpacingAfterGlyphAtIndex:withProposedLineFragmentRect:
final
-
layoutManager_paragraphSpacingAfterGlyphAtIndex_withProposedLineFragmentRect_
→ ObjCProtocolMethod<
DartCGFloat Function(NSLayoutManager, DartNSUInteger, NSRect)> -
layoutManager:paragraphSpacingAfterGlyphAtIndex:withProposedLineFragmentRect:
final
-
layoutManager_paragraphSpacingBeforeGlyphAtIndex_withProposedLineFragmentRect_
→ ObjCProtocolMethod<
DartCGFloat Function(NSLayoutManager, DartNSUInteger, NSRect)> -
layoutManager:paragraphSpacingBeforeGlyphAtIndex:withProposedLineFragmentRect:
final
-
layoutManager_shouldBreakLineByHyphenatingBeforeCharacterAtIndex_
→ ObjCProtocolMethod<
bool Function(NSLayoutManager, DartNSUInteger)> -
layoutManager:shouldBreakLineByHyphenatingBeforeCharacterAtIndex:
final
-
layoutManager_shouldBreakLineByWordBeforeCharacterAtIndex_
→ ObjCProtocolMethod<
bool Function(NSLayoutManager, DartNSUInteger)> -
layoutManager:shouldBreakLineByWordBeforeCharacterAtIndex:
final
-
layoutManager_shouldGenerateGlyphs_properties_characterIndexes_font_forGlyphRange_
→ ObjCProtocolMethod<
DartNSUInteger Function(NSLayoutManager, Pointer< CGGlyph> , Pointer<NSInteger> , Pointer<NSUInteger> , NSFont, NSRange)> -
layoutManager:shouldGenerateGlyphs:properties:characterIndexes:font:forGlyphRange:
final
-
layoutManager_shouldSetLineFragmentRect_lineFragmentUsedRect_baselineOffset_inTextContainer_forGlyphRange_
→ ObjCProtocolMethod<
bool Function(NSLayoutManager, Pointer< NSRect> , Pointer<NSRect> , Pointer<CGFloat> , NSTextContainer, NSRange)> -
layoutManager:shouldSetLineFragmentRect:lineFragmentUsedRect:baselineOffset:inTextContainer:forGlyphRange:
final
-
layoutManager_shouldUseAction_forControlCharacterAtIndex_
→ ObjCProtocolMethod<
NSControlCharacterAction Function(NSLayoutManager, NSControlCharacterAction, DartNSUInteger)> -
layoutManager:shouldUseAction:forControlCharacterAtIndex:
final
-
layoutManager_shouldUseTemporaryAttributes_forDrawingToScreen_atCharacterIndex_effectiveRange_
→ ObjCProtocolMethod<
NSDictionary? Function(NSLayoutManager, NSDictionary, bool, DartNSUInteger, NSRangePointer)> -
layoutManager:shouldUseTemporaryAttributes:forDrawingToScreen:atCharacterIndex:effectiveRange:
final
-
layoutManager_textContainer_didChangeGeometryFromSize_
→ ObjCProtocolListenableMethod<
void Function(NSLayoutManager, NSTextContainer, NSSize)> -
layoutManager:textContainer:didChangeGeometryFromSize:
final
-
layoutManagerDidInvalidateLayout_
→ ObjCProtocolListenableMethod<
void Function(NSLayoutManager)> -
layoutManagerDidInvalidateLayout:
final
Static Methods
-
addToBuilder(
ObjCProtocolBuilder builder, {DartNSUInteger layoutManager_shouldGenerateGlyphs_properties_characterIndexes_font_forGlyphRange_(NSLayoutManager, Pointer< CGGlyph> , Pointer<NSInteger> , Pointer<NSUInteger> , NSFont, NSRange)?, DartCGFloat layoutManager_lineSpacingAfterGlyphAtIndex_withProposedLineFragmentRect_(NSLayoutManager, DartNSUInteger, NSRect)?, DartCGFloat layoutManager_paragraphSpacingBeforeGlyphAtIndex_withProposedLineFragmentRect_(NSLayoutManager, DartNSUInteger, NSRect)?, DartCGFloat layoutManager_paragraphSpacingAfterGlyphAtIndex_withProposedLineFragmentRect_(NSLayoutManager, DartNSUInteger, NSRect)?, NSControlCharacterAction layoutManager_shouldUseAction_forControlCharacterAtIndex_(NSLayoutManager, NSControlCharacterAction, DartNSUInteger)?, bool layoutManager_shouldBreakLineByWordBeforeCharacterAtIndex_(NSLayoutManager, DartNSUInteger)?, bool layoutManager_shouldBreakLineByHyphenatingBeforeCharacterAtIndex_(NSLayoutManager, DartNSUInteger)?, NSRect layoutManager_boundingBoxForControlGlyphAtIndex_forTextContainer_proposedLineFragment_glyphPosition_characterIndex_(NSLayoutManager, DartNSUInteger, NSTextContainer, NSRect, NSPoint, DartNSUInteger)?, bool layoutManager_shouldSetLineFragmentRect_lineFragmentUsedRect_baselineOffset_inTextContainer_forGlyphRange_(NSLayoutManager, Pointer<NSRect> , Pointer<NSRect> , Pointer<CGFloat> , NSTextContainer, NSRange)?, void layoutManagerDidInvalidateLayout_(NSLayoutManager)?, void layoutManager_didCompleteLayoutForTextContainer_atEnd_(NSLayoutManager, NSTextContainer?, bool)?, void layoutManager_textContainer_didChangeGeometryFromSize_(NSLayoutManager, NSTextContainer, NSSize)?, NSDictionary? layoutManager_shouldUseTemporaryAttributes_forDrawingToScreen_atCharacterIndex_effectiveRange_(NSLayoutManager, NSDictionary, bool, DartNSUInteger, NSRangePointer)?, bool $keepIsolateAlive = true}) → void -
Adds the implementation of the NSLayoutManagerDelegate protocol to an existing
objc.ObjCProtocolBuilder. -
addToBuilderAsBlocking(
ObjCProtocolBuilder builder, {DartNSUInteger layoutManager_shouldGenerateGlyphs_properties_characterIndexes_font_forGlyphRange_(NSLayoutManager, Pointer< CGGlyph> , Pointer<NSInteger> , Pointer<NSUInteger> , NSFont, NSRange)?, DartCGFloat layoutManager_lineSpacingAfterGlyphAtIndex_withProposedLineFragmentRect_(NSLayoutManager, DartNSUInteger, NSRect)?, DartCGFloat layoutManager_paragraphSpacingBeforeGlyphAtIndex_withProposedLineFragmentRect_(NSLayoutManager, DartNSUInteger, NSRect)?, DartCGFloat layoutManager_paragraphSpacingAfterGlyphAtIndex_withProposedLineFragmentRect_(NSLayoutManager, DartNSUInteger, NSRect)?, NSControlCharacterAction layoutManager_shouldUseAction_forControlCharacterAtIndex_(NSLayoutManager, NSControlCharacterAction, DartNSUInteger)?, bool layoutManager_shouldBreakLineByWordBeforeCharacterAtIndex_(NSLayoutManager, DartNSUInteger)?, bool layoutManager_shouldBreakLineByHyphenatingBeforeCharacterAtIndex_(NSLayoutManager, DartNSUInteger)?, NSRect layoutManager_boundingBoxForControlGlyphAtIndex_forTextContainer_proposedLineFragment_glyphPosition_characterIndex_(NSLayoutManager, DartNSUInteger, NSTextContainer, NSRect, NSPoint, DartNSUInteger)?, bool layoutManager_shouldSetLineFragmentRect_lineFragmentUsedRect_baselineOffset_inTextContainer_forGlyphRange_(NSLayoutManager, Pointer<NSRect> , Pointer<NSRect> , Pointer<CGFloat> , NSTextContainer, NSRange)?, void layoutManagerDidInvalidateLayout_(NSLayoutManager)?, void layoutManager_didCompleteLayoutForTextContainer_atEnd_(NSLayoutManager, NSTextContainer?, bool)?, void layoutManager_textContainer_didChangeGeometryFromSize_(NSLayoutManager, NSTextContainer, NSSize)?, NSDictionary? layoutManager_shouldUseTemporaryAttributes_forDrawingToScreen_atCharacterIndex_effectiveRange_(NSLayoutManager, NSDictionary, bool, DartNSUInteger, NSRangePointer)?, bool $keepIsolateAlive = true}) → void -
Adds the implementation of the NSLayoutManagerDelegate protocol to an existing
objc.ObjCProtocolBuilder. All methods that can be implemented as blocking listeners will be. -
addToBuilderAsListener(
ObjCProtocolBuilder builder, {DartNSUInteger layoutManager_shouldGenerateGlyphs_properties_characterIndexes_font_forGlyphRange_(NSLayoutManager, Pointer< CGGlyph> , Pointer<NSInteger> , Pointer<NSUInteger> , NSFont, NSRange)?, DartCGFloat layoutManager_lineSpacingAfterGlyphAtIndex_withProposedLineFragmentRect_(NSLayoutManager, DartNSUInteger, NSRect)?, DartCGFloat layoutManager_paragraphSpacingBeforeGlyphAtIndex_withProposedLineFragmentRect_(NSLayoutManager, DartNSUInteger, NSRect)?, DartCGFloat layoutManager_paragraphSpacingAfterGlyphAtIndex_withProposedLineFragmentRect_(NSLayoutManager, DartNSUInteger, NSRect)?, NSControlCharacterAction layoutManager_shouldUseAction_forControlCharacterAtIndex_(NSLayoutManager, NSControlCharacterAction, DartNSUInteger)?, bool layoutManager_shouldBreakLineByWordBeforeCharacterAtIndex_(NSLayoutManager, DartNSUInteger)?, bool layoutManager_shouldBreakLineByHyphenatingBeforeCharacterAtIndex_(NSLayoutManager, DartNSUInteger)?, NSRect layoutManager_boundingBoxForControlGlyphAtIndex_forTextContainer_proposedLineFragment_glyphPosition_characterIndex_(NSLayoutManager, DartNSUInteger, NSTextContainer, NSRect, NSPoint, DartNSUInteger)?, bool layoutManager_shouldSetLineFragmentRect_lineFragmentUsedRect_baselineOffset_inTextContainer_forGlyphRange_(NSLayoutManager, Pointer<NSRect> , Pointer<NSRect> , Pointer<CGFloat> , NSTextContainer, NSRange)?, void layoutManagerDidInvalidateLayout_(NSLayoutManager)?, void layoutManager_didCompleteLayoutForTextContainer_atEnd_(NSLayoutManager, NSTextContainer?, bool)?, void layoutManager_textContainer_didChangeGeometryFromSize_(NSLayoutManager, NSTextContainer, NSSize)?, NSDictionary? layoutManager_shouldUseTemporaryAttributes_forDrawingToScreen_atCharacterIndex_effectiveRange_(NSLayoutManager, NSDictionary, bool, DartNSUInteger, NSRangePointer)?, bool $keepIsolateAlive = true}) → void -
Adds the implementation of the NSLayoutManagerDelegate protocol to an existing
objc.ObjCProtocolBuilder. All methods that can be implemented as listeners will be. -
conformsTo(
ObjCObjectBase obj) → bool -
Returns whether
objis an instance of NSLayoutManagerDelegate. -
implement(
{DartNSUInteger layoutManager_shouldGenerateGlyphs_properties_characterIndexes_font_forGlyphRange_(NSLayoutManager, Pointer< CGGlyph> , Pointer<NSInteger> , Pointer<NSUInteger> , NSFont, NSRange)?, DartCGFloat layoutManager_lineSpacingAfterGlyphAtIndex_withProposedLineFragmentRect_(NSLayoutManager, DartNSUInteger, NSRect)?, DartCGFloat layoutManager_paragraphSpacingBeforeGlyphAtIndex_withProposedLineFragmentRect_(NSLayoutManager, DartNSUInteger, NSRect)?, DartCGFloat layoutManager_paragraphSpacingAfterGlyphAtIndex_withProposedLineFragmentRect_(NSLayoutManager, DartNSUInteger, NSRect)?, NSControlCharacterAction layoutManager_shouldUseAction_forControlCharacterAtIndex_(NSLayoutManager, NSControlCharacterAction, DartNSUInteger)?, bool layoutManager_shouldBreakLineByWordBeforeCharacterAtIndex_(NSLayoutManager, DartNSUInteger)?, bool layoutManager_shouldBreakLineByHyphenatingBeforeCharacterAtIndex_(NSLayoutManager, DartNSUInteger)?, NSRect layoutManager_boundingBoxForControlGlyphAtIndex_forTextContainer_proposedLineFragment_glyphPosition_characterIndex_(NSLayoutManager, DartNSUInteger, NSTextContainer, NSRect, NSPoint, DartNSUInteger)?, bool layoutManager_shouldSetLineFragmentRect_lineFragmentUsedRect_baselineOffset_inTextContainer_forGlyphRange_(NSLayoutManager, Pointer<NSRect> , Pointer<NSRect> , Pointer<CGFloat> , NSTextContainer, NSRange)?, void layoutManagerDidInvalidateLayout_(NSLayoutManager)?, void layoutManager_didCompleteLayoutForTextContainer_atEnd_(NSLayoutManager, NSTextContainer?, bool)?, void layoutManager_textContainer_didChangeGeometryFromSize_(NSLayoutManager, NSTextContainer, NSSize)?, NSDictionary? layoutManager_shouldUseTemporaryAttributes_forDrawingToScreen_atCharacterIndex_effectiveRange_(NSLayoutManager, NSDictionary, bool, DartNSUInteger, NSRangePointer)?, bool $keepIsolateAlive = true}) → NSLayoutManagerDelegate -
Builds an object that implements the NSLayoutManagerDelegate protocol. To implement
multiple protocols, use addToBuilder or
objc.ObjCProtocolBuilderdirectly. -
implementAsBlocking(
{DartNSUInteger layoutManager_shouldGenerateGlyphs_properties_characterIndexes_font_forGlyphRange_(NSLayoutManager, Pointer< CGGlyph> , Pointer<NSInteger> , Pointer<NSUInteger> , NSFont, NSRange)?, DartCGFloat layoutManager_lineSpacingAfterGlyphAtIndex_withProposedLineFragmentRect_(NSLayoutManager, DartNSUInteger, NSRect)?, DartCGFloat layoutManager_paragraphSpacingBeforeGlyphAtIndex_withProposedLineFragmentRect_(NSLayoutManager, DartNSUInteger, NSRect)?, DartCGFloat layoutManager_paragraphSpacingAfterGlyphAtIndex_withProposedLineFragmentRect_(NSLayoutManager, DartNSUInteger, NSRect)?, NSControlCharacterAction layoutManager_shouldUseAction_forControlCharacterAtIndex_(NSLayoutManager, NSControlCharacterAction, DartNSUInteger)?, bool layoutManager_shouldBreakLineByWordBeforeCharacterAtIndex_(NSLayoutManager, DartNSUInteger)?, bool layoutManager_shouldBreakLineByHyphenatingBeforeCharacterAtIndex_(NSLayoutManager, DartNSUInteger)?, NSRect layoutManager_boundingBoxForControlGlyphAtIndex_forTextContainer_proposedLineFragment_glyphPosition_characterIndex_(NSLayoutManager, DartNSUInteger, NSTextContainer, NSRect, NSPoint, DartNSUInteger)?, bool layoutManager_shouldSetLineFragmentRect_lineFragmentUsedRect_baselineOffset_inTextContainer_forGlyphRange_(NSLayoutManager, Pointer<NSRect> , Pointer<NSRect> , Pointer<CGFloat> , NSTextContainer, NSRange)?, void layoutManagerDidInvalidateLayout_(NSLayoutManager)?, void layoutManager_didCompleteLayoutForTextContainer_atEnd_(NSLayoutManager, NSTextContainer?, bool)?, void layoutManager_textContainer_didChangeGeometryFromSize_(NSLayoutManager, NSTextContainer, NSSize)?, NSDictionary? layoutManager_shouldUseTemporaryAttributes_forDrawingToScreen_atCharacterIndex_effectiveRange_(NSLayoutManager, NSDictionary, bool, DartNSUInteger, NSRangePointer)?, bool $keepIsolateAlive = true}) → NSLayoutManagerDelegate -
Builds an object that implements the NSLayoutManagerDelegate protocol. To implement
multiple protocols, use addToBuilder or
objc.ObjCProtocolBuilderdirectly. All methods that can be implemented as blocking listeners will be. -
implementAsListener(
{DartNSUInteger layoutManager_shouldGenerateGlyphs_properties_characterIndexes_font_forGlyphRange_(NSLayoutManager, Pointer< CGGlyph> , Pointer<NSInteger> , Pointer<NSUInteger> , NSFont, NSRange)?, DartCGFloat layoutManager_lineSpacingAfterGlyphAtIndex_withProposedLineFragmentRect_(NSLayoutManager, DartNSUInteger, NSRect)?, DartCGFloat layoutManager_paragraphSpacingBeforeGlyphAtIndex_withProposedLineFragmentRect_(NSLayoutManager, DartNSUInteger, NSRect)?, DartCGFloat layoutManager_paragraphSpacingAfterGlyphAtIndex_withProposedLineFragmentRect_(NSLayoutManager, DartNSUInteger, NSRect)?, NSControlCharacterAction layoutManager_shouldUseAction_forControlCharacterAtIndex_(NSLayoutManager, NSControlCharacterAction, DartNSUInteger)?, bool layoutManager_shouldBreakLineByWordBeforeCharacterAtIndex_(NSLayoutManager, DartNSUInteger)?, bool layoutManager_shouldBreakLineByHyphenatingBeforeCharacterAtIndex_(NSLayoutManager, DartNSUInteger)?, NSRect layoutManager_boundingBoxForControlGlyphAtIndex_forTextContainer_proposedLineFragment_glyphPosition_characterIndex_(NSLayoutManager, DartNSUInteger, NSTextContainer, NSRect, NSPoint, DartNSUInteger)?, bool layoutManager_shouldSetLineFragmentRect_lineFragmentUsedRect_baselineOffset_inTextContainer_forGlyphRange_(NSLayoutManager, Pointer<NSRect> , Pointer<NSRect> , Pointer<CGFloat> , NSTextContainer, NSRange)?, void layoutManagerDidInvalidateLayout_(NSLayoutManager)?, void layoutManager_didCompleteLayoutForTextContainer_atEnd_(NSLayoutManager, NSTextContainer?, bool)?, void layoutManager_textContainer_didChangeGeometryFromSize_(NSLayoutManager, NSTextContainer, NSSize)?, NSDictionary? layoutManager_shouldUseTemporaryAttributes_forDrawingToScreen_atCharacterIndex_effectiveRange_(NSLayoutManager, NSDictionary, bool, DartNSUInteger, NSRangePointer)?, bool $keepIsolateAlive = true}) → NSLayoutManagerDelegate -
Builds an object that implements the NSLayoutManagerDelegate protocol. To implement
multiple protocols, use addToBuilder or
objc.ObjCProtocolBuilderdirectly. All methods that can be implemented as listeners will be.