Package org.robovm.apple.uikit
Class NSLayoutManagerDelegateAdapter
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.uikit.NSLayoutManagerDelegateAdapter
-
- All Implemented Interfaces:
NSObjectProtocol
,NSLayoutManagerDelegate
,org.robovm.objc.ObjCProtocol
public class NSLayoutManagerDelegateAdapter extends NSObject implements NSLayoutManagerDelegate
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Constructor Description NSLayoutManagerDelegateAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
didChangeGeometry(NSLayoutManager layoutManager, NSTextContainer textContainer, CGSize oldSize)
void
didCompleteLayout(NSLayoutManager layoutManager, NSTextContainer textContainer, boolean layoutFinishedFlag)
void
didInvalidateLayout(NSLayoutManager sender)
CGRect
getBoundingBoxForControlGlyph(NSLayoutManager layoutManager, long glyphIndex, NSTextContainer textContainer, CGRect proposedRect, CGPoint glyphPosition, long charIndex)
double
getLineSpacingAfterGlyph(NSLayoutManager layoutManager, long glyphIndex, CGRect rect)
double
getParagraphSpacingAfterGlyph(NSLayoutManager layoutManager, long glyphIndex, CGRect rect)
double
getParagraphSpacingBeforeGlyph(NSLayoutManager layoutManager, long glyphIndex, CGRect rect)
boolean
shouldBreakLineByHyphenatingBeforeCharacter(NSLayoutManager layoutManager, long charIndex)
boolean
shouldBreakLineByWordBeforeCharacter(NSLayoutManager layoutManager, long charIndex)
long
shouldGenerateGlyphs(NSLayoutManager layoutManager, org.robovm.rt.bro.ptr.ShortPtr glyphs, org.robovm.rt.bro.ptr.MachineSizedSIntPtr props, org.robovm.rt.bro.ptr.MachineSizedUIntPtr charIndexes, UIFont aFont, NSRange glyphRange)
boolean
shouldSetLineFragmentRect(NSLayoutManager layoutManager, CGRect lineFragmentRect, CGRect lineFragmentUsedRect, org.robovm.rt.bro.ptr.MachineSizedFloatPtr baselineOffset, NSTextContainer textContainer, NSRange glyphRange)
NSControlCharacterAction
shouldUseAction(NSLayoutManager layoutManager, NSControlCharacterAction action, long charIndex)
-
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, willChangeValues
-
-
-
-
Method Detail
-
shouldGenerateGlyphs
public long shouldGenerateGlyphs(NSLayoutManager layoutManager, org.robovm.rt.bro.ptr.ShortPtr glyphs, org.robovm.rt.bro.ptr.MachineSizedSIntPtr props, org.robovm.rt.bro.ptr.MachineSizedUIntPtr charIndexes, UIFont aFont, NSRange glyphRange)
- Specified by:
shouldGenerateGlyphs
in interfaceNSLayoutManagerDelegate
- Since:
- Available in iOS 7.0 and later.
-
getLineSpacingAfterGlyph
public double getLineSpacingAfterGlyph(NSLayoutManager layoutManager, long glyphIndex, CGRect rect)
- Specified by:
getLineSpacingAfterGlyph
in interfaceNSLayoutManagerDelegate
- Since:
- Available in iOS 7.0 and later.
-
getParagraphSpacingBeforeGlyph
public double getParagraphSpacingBeforeGlyph(NSLayoutManager layoutManager, long glyphIndex, CGRect rect)
- Specified by:
getParagraphSpacingBeforeGlyph
in interfaceNSLayoutManagerDelegate
- Since:
- Available in iOS 7.0 and later.
-
getParagraphSpacingAfterGlyph
public double getParagraphSpacingAfterGlyph(NSLayoutManager layoutManager, long glyphIndex, CGRect rect)
- Specified by:
getParagraphSpacingAfterGlyph
in interfaceNSLayoutManagerDelegate
- Since:
- Available in iOS 7.0 and later.
-
shouldUseAction
public NSControlCharacterAction shouldUseAction(NSLayoutManager layoutManager, NSControlCharacterAction action, long charIndex)
- Specified by:
shouldUseAction
in interfaceNSLayoutManagerDelegate
- Since:
- Available in iOS 7.0 and later.
-
shouldBreakLineByWordBeforeCharacter
public boolean shouldBreakLineByWordBeforeCharacter(NSLayoutManager layoutManager, long charIndex)
- Specified by:
shouldBreakLineByWordBeforeCharacter
in interfaceNSLayoutManagerDelegate
- Since:
- Available in iOS 7.0 and later.
-
shouldBreakLineByHyphenatingBeforeCharacter
public boolean shouldBreakLineByHyphenatingBeforeCharacter(NSLayoutManager layoutManager, long charIndex)
- Specified by:
shouldBreakLineByHyphenatingBeforeCharacter
in interfaceNSLayoutManagerDelegate
- Since:
- Available in iOS 7.0 and later.
-
getBoundingBoxForControlGlyph
public CGRect getBoundingBoxForControlGlyph(NSLayoutManager layoutManager, long glyphIndex, NSTextContainer textContainer, CGRect proposedRect, CGPoint glyphPosition, long charIndex)
- Specified by:
getBoundingBoxForControlGlyph
in interfaceNSLayoutManagerDelegate
- Since:
- Available in iOS 7.0 and later.
-
shouldSetLineFragmentRect
public boolean shouldSetLineFragmentRect(NSLayoutManager layoutManager, CGRect lineFragmentRect, CGRect lineFragmentUsedRect, org.robovm.rt.bro.ptr.MachineSizedFloatPtr baselineOffset, NSTextContainer textContainer, NSRange glyphRange)
- Specified by:
shouldSetLineFragmentRect
in interfaceNSLayoutManagerDelegate
- Since:
- Available in iOS 9.0 and later.
-
didInvalidateLayout
public void didInvalidateLayout(NSLayoutManager sender)
- Specified by:
didInvalidateLayout
in interfaceNSLayoutManagerDelegate
- Since:
- Available in iOS 7.0 and later.
-
didCompleteLayout
public void didCompleteLayout(NSLayoutManager layoutManager, NSTextContainer textContainer, boolean layoutFinishedFlag)
- Specified by:
didCompleteLayout
in interfaceNSLayoutManagerDelegate
- Since:
- Available in iOS 7.0 and later.
-
didChangeGeometry
public void didChangeGeometry(NSLayoutManager layoutManager, NSTextContainer textContainer, CGSize oldSize)
- Specified by:
didChangeGeometry
in interfaceNSLayoutManagerDelegate
- Since:
- Available in iOS 7.0 and later.
-
-