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,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.SkipInitNested classes/interfaces inherited from class org.robovm.objc.ObjCObject
ObjCObject.ObjCObjectPtr, ObjCObject.Super -
Field Summary
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAINFields inherited from class org.robovm.objc.ObjCObject
customClass -
Constructor Summary
Constructors Constructor Description NSLayoutManagerDelegateAdapter() -
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, updateStrongRefMethods inherited from class org.robovm.rt.bro.NativeObject
as, getHandle, setHandle
-
Constructor Details
-
NSLayoutManagerDelegateAdapter
public NSLayoutManagerDelegateAdapter()
-
-
Method Details
-
shouldGenerateGlyphs
public long shouldGenerateGlyphs(NSLayoutManager layoutManager, ShortPtr glyphs, MachineSizedSIntPtr props, MachineSizedUIntPtr charIndexes, UIFont aFont, NSRange glyphRange)- Specified by:
shouldGenerateGlyphsin interfaceNSLayoutManagerDelegate
-
getLineSpacingAfterGlyph
public double getLineSpacingAfterGlyph(NSLayoutManager layoutManager, long glyphIndex, CGRect rect)- Specified by:
getLineSpacingAfterGlyphin interfaceNSLayoutManagerDelegate
-
getParagraphSpacingBeforeGlyph
public double getParagraphSpacingBeforeGlyph(NSLayoutManager layoutManager, long glyphIndex, CGRect rect)- Specified by:
getParagraphSpacingBeforeGlyphin interfaceNSLayoutManagerDelegate
-
getParagraphSpacingAfterGlyph
public double getParagraphSpacingAfterGlyph(NSLayoutManager layoutManager, long glyphIndex, CGRect rect)- Specified by:
getParagraphSpacingAfterGlyphin interfaceNSLayoutManagerDelegate
-
shouldUseAction
public NSControlCharacterAction shouldUseAction(NSLayoutManager layoutManager, NSControlCharacterAction action, long charIndex)- Specified by:
shouldUseActionin interfaceNSLayoutManagerDelegate
-
shouldBreakLineByWordBeforeCharacter
- Specified by:
shouldBreakLineByWordBeforeCharacterin interfaceNSLayoutManagerDelegate
-
shouldBreakLineByHyphenatingBeforeCharacter
public boolean shouldBreakLineByHyphenatingBeforeCharacter(NSLayoutManager layoutManager, long charIndex)- Specified by:
shouldBreakLineByHyphenatingBeforeCharacterin interfaceNSLayoutManagerDelegate
-
getBoundingBoxForControlGlyph
public CGRect getBoundingBoxForControlGlyph(NSLayoutManager layoutManager, long glyphIndex, NSTextContainer textContainer, CGRect proposedRect, CGPoint glyphPosition, long charIndex)- Specified by:
getBoundingBoxForControlGlyphin interfaceNSLayoutManagerDelegate
-
shouldSetLineFragmentRect
public boolean shouldSetLineFragmentRect(NSLayoutManager layoutManager, CGRect lineFragmentRect, CGRect lineFragmentUsedRect, MachineSizedFloatPtr baselineOffset, NSTextContainer textContainer, NSRange glyphRange)- Specified by:
shouldSetLineFragmentRectin interfaceNSLayoutManagerDelegate- Since:
- Available in iOS 9.0 and later.
-
didInvalidateLayout
- Specified by:
didInvalidateLayoutin interfaceNSLayoutManagerDelegate
-
didCompleteLayout
public void didCompleteLayout(NSLayoutManager layoutManager, NSTextContainer textContainer, boolean layoutFinishedFlag)- Specified by:
didCompleteLayoutin interfaceNSLayoutManagerDelegate
-
didChangeGeometry
public void didChangeGeometry(NSLayoutManager layoutManager, NSTextContainer textContainer, CGSize oldSize)- Specified by:
didChangeGeometryin interfaceNSLayoutManagerDelegate
-