public class NSTextContainer extends NSObject implements NSSecureCoding, NSTextLayoutOrientationProvider
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
NSTextContainer(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
_supportsSecureCoding()
This property must return YES on all classes that allow secure coding.
|
static boolean |
accessInstanceVariablesDirectly() |
static NSTextContainer |
alloc() |
static NSTextContainer |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument) |
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
static java.lang.String |
debugDescription_static() |
static java.lang.String |
description_static() |
void |
encodeWithCoder(NSCoder coder) |
NSArray<? extends UIBezierPath> |
exclusionPaths()
Default value : empty array An array of UIBezierPath representing the exclusion paths inside the receiver's bounding rect.
|
static long |
hash_static() |
boolean |
heightTracksTextView() |
NSTextContainer |
init() |
NSTextContainer |
initWithCoder(NSCoder coder)
NS_DESIGNATED_INITIALIZER
|
NSTextContainer |
initWithSize(CGSize size)
Initialization ***************************
|
static NSObject.Function_instanceMethodForSelector_ret |
instanceMethodForSelector(org.moe.natj.objc.SEL aSelector) |
static NSMethodSignature |
instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
instancesRespondToSelector(org.moe.natj.objc.SEL aSelector) |
boolean |
isSimpleRectangularTextContainer()
Returns YES if the receiver is a rectangular shape defined simply by -size.
|
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
NSLayoutManager |
layoutManager()
Accessor for the NSLayoutManager object owning the receiver.
|
long |
layoutOrientation()
A property describing the receiver's layout orientation.
|
long |
lineBreakMode()
Default value: NSLineBreakByWordWrapping The line break mode defines the behavior of the last line inside the text container.
|
double |
lineFragmentPadding()
Default value: 5.0 The layout padding at the beginning and end of the line fragment rects insetting the layout width available for the contents.
|
CGRect |
lineFragmentRectForProposedRectAtIndexWritingDirectionRemainingRect(CGRect proposedRect,
long characterIndex,
long baseWritingDirection,
CGRect remainingRect)
Returns the bounds of a line fragment rect inside the receiver for proposedRect.
|
long |
maximumNumberOfLines()
Default value: 0 (no limit) The maximum number of lines that can be stored in the receiver.
|
static NSTextContainer |
new_objc() |
void |
replaceLayoutManager(NSLayoutManager newLayoutManager)
This method should be used instead of the primitive -setLayoutManager: if you need to replace a container's layoutManager with a new one leaving the rest of the web intact.
|
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
void |
setExclusionPaths(NSArray<? extends UIBezierPath> value)
Default value : empty array An array of UIBezierPath representing the exclusion paths inside the receiver's bounding rect.
|
void |
setHeightTracksTextView(boolean value) |
void |
setLayoutManager_unsafe(NSLayoutManager value)
Accessor for the NSLayoutManager object owning the receiver.
|
void |
setLayoutManager(NSLayoutManager value)
Accessor for the NSLayoutManager object owning the receiver.
|
void |
setLineBreakMode(long value)
Default value: NSLineBreakByWordWrapping The line break mode defines the behavior of the last line inside the text container.
|
void |
setLineFragmentPadding(double value)
Default value: 5.0 The layout padding at the beginning and end of the line fragment rects insetting the layout width available for the contents.
|
void |
setMaximumNumberOfLines(long value)
Default value: 0 (no limit) The maximum number of lines that can be stored in the receiver.
|
void |
setSize(CGSize value)
Default value: CGSizeZero Defines the maximum size for the layout area returned from -lineFragmentRectForProposedRect:writingDirection:remainingRect:.
|
static void |
setVersion_static(long aVersion) |
void |
setWidthTracksTextView(boolean value)
Default value: NO Define whether the text container view bounds changes can affect the text container size.
|
CGSize |
size()
Default value: CGSizeZero Defines the maximum size for the layout area returned from -lineFragmentRectForProposedRect:writingDirection:remainingRect:.
|
static org.moe.natj.objc.Class |
superclass_static() |
static boolean |
supportsSecureCoding() |
NSTextLayoutManager |
textLayoutManager()
Returns NSTextLayoutManager owning the text container.
|
static long |
version_static() |
boolean |
widthTracksTextView()
Default value: NO Define whether the text container view bounds changes can affect the text container size.
|
accessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKeypublic static boolean accessInstanceVariablesDirectly()
public static NSTextContainer alloc()
public static NSTextContainer allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument)
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
public static java.lang.String debugDescription_static()
public static java.lang.String description_static()
public static long hash_static()
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static NSTextContainer new_objc()
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public static void setVersion_static(long aVersion)
public static org.moe.natj.objc.Class superclass_static()
public static long version_static()
public void encodeWithCoder(NSCoder coder)
encodeWithCoder in interface NSCodingpublic NSArray<? extends UIBezierPath> exclusionPaths()
public boolean heightTracksTextView()
public NSTextContainer init()
public NSTextContainer initWithCoder(NSCoder coder)
NSCodinginitWithCoder in interface NSCodingpublic NSTextContainer initWithSize(CGSize size)
public boolean isSimpleRectangularTextContainer()
public NSLayoutManager layoutManager()
public long layoutOrientation()
NSTextLayoutOrientationProviderlayoutOrientation in interface NSTextLayoutOrientationProviderpublic long lineBreakMode()
public double lineFragmentPadding()
public CGRect lineFragmentRectForProposedRectAtIndexWritingDirectionRemainingRect(CGRect proposedRect, long characterIndex, long baseWritingDirection, CGRect remainingRect)
public long maximumNumberOfLines()
public void replaceLayoutManager(NSLayoutManager newLayoutManager)
public void setExclusionPaths(NSArray<? extends UIBezierPath> value)
public void setHeightTracksTextView(boolean value)
public void setLayoutManager_unsafe(NSLayoutManager value)
public void setLayoutManager(NSLayoutManager value)
public void setLineBreakMode(long value)
public void setLineFragmentPadding(double value)
public void setMaximumNumberOfLines(long value)
public void setSize(CGSize value)
public void setWidthTracksTextView(boolean value)
public CGSize size()
public boolean widthTracksTextView()
public static boolean supportsSecureCoding()
public boolean _supportsSecureCoding()
NSSecureCoding_supportsSecureCoding in interface NSSecureCodingpublic NSTextLayoutManager textLayoutManager()