Package apple.uikit

Class NSMutableParagraphStyle

    • Constructor Detail

      • NSMutableParagraphStyle

        protected NSMutableParagraphStyle​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(@NotNull
                                                                   @NotNull java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(@NotNull
                                                                   @NotNull java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(@NotNull
                                                                                 @NotNull java.lang.Object aTarget,
                                                                                 @NotNull
                                                                                 @NotNull org.moe.natj.objc.SEL aSelector,
                                                                                 @Nullable
                                                                                 @Nullable java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        @NotNull
        public static @NotNull NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        @NotNull
        public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • defaultParagraphStyle

        @NotNull
        public static @NotNull NSParagraphStyle defaultParagraphStyle()
      • defaultWritingDirectionForLanguage

        public static long defaultWritingDirectionForLanguage​(@Nullable
                                                              @Nullable java.lang.String languageName)
      • description_static

        public static java.lang.String description_static()
      • hash_static

        public static long hash_static()
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • keyPathsForValuesAffectingValueForKey

        @NotNull
        public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(@NotNull
                                                                                             @NotNull java.lang.String key)
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • supportsSecureCoding

        public static boolean supportsSecureCoding()
      • version_static

        public static long version_static()
      • addTabStop

        public void addTabStop​(@NotNull
                               @NotNull NSTextTab anObject)
        API-Since: 9.0
      • hyphenationFactor

        public float hyphenationFactor()
        Description copied from class: NSParagraphStyle
        Specifies the threshold for hyphenation. Valid values lie between 0.0 and 1.0 inclusive. Hyphenation will be attempted when the ratio of the text width as broken without hyphenation to the width of the line fragment is less than the hyphenation factor. When this takes on its default value of 0.0, the layout manager's hyphenation factor is used instead. When both are 0.0, hyphenation is disabled.
        Overrides:
        hyphenationFactor in class NSParagraphStyle
      • lineHeightMultiple

        public double lineHeightMultiple()
        Description copied from class: NSParagraphStyle
        Natural line height is multiplied by this factor (if positive) before being constrained by minimum and maximum line height.
        Overrides:
        lineHeightMultiple in class NSParagraphStyle
      • lineSpacing

        public double lineSpacing()
        Description copied from class: NSParagraphStyle
        "Leading": distance between the bottom of one line fragment and top of next (applied between lines in the same container). This value is included in the line fragment heights in layout manager.
        Overrides:
        lineSpacing in class NSParagraphStyle
      • minimumLineHeight

        public double minimumLineHeight()
        Description copied from class: NSParagraphStyle
        Line height is the distance from bottom of descenders to top of ascenders; basically the line fragment height. Does not include lineSpacing (which is added after this computation).
        Overrides:
        minimumLineHeight in class NSParagraphStyle
      • paragraphSpacing

        public double paragraphSpacing()
        Description copied from class: NSParagraphStyle
        Distance between the bottom of this paragraph and top of next (or the beginning of its paragraphSpacingBefore, if any).
        Overrides:
        paragraphSpacing in class NSParagraphStyle
      • paragraphSpacingBefore

        public double paragraphSpacingBefore()
        Description copied from class: NSParagraphStyle
        Distance between the bottom of the previous paragraph (or the end of its paragraphSpacing, if any) and the top of this paragraph.
        Overrides:
        paragraphSpacingBefore in class NSParagraphStyle
      • removeTabStop

        public void removeTabStop​(@NotNull
                                  @NotNull NSTextTab anObject)
        API-Since: 9.0
      • setAlignment

        public void setAlignment​(long value)
      • setAllowsDefaultTighteningForTruncation

        public void setAllowsDefaultTighteningForTruncation​(boolean value)
        API-Since: 9.0
      • setBaseWritingDirection

        public void setBaseWritingDirection​(long value)
      • setDefaultTabInterval

        public void setDefaultTabInterval​(double value)
        API-Since: 7.0
      • setFirstLineHeadIndent

        public void setFirstLineHeadIndent​(double value)
      • setHeadIndent

        public void setHeadIndent​(double value)
      • setHyphenationFactor

        public void setHyphenationFactor​(float value)
      • setLineBreakMode

        public void setLineBreakMode​(long value)
      • setLineHeightMultiple

        public void setLineHeightMultiple​(double value)
      • setLineSpacing

        public void setLineSpacing​(double value)
      • setMaximumLineHeight

        public void setMaximumLineHeight​(double value)
      • setMinimumLineHeight

        public void setMinimumLineHeight​(double value)
      • setParagraphSpacing

        public void setParagraphSpacing​(double value)
      • setParagraphSpacingBefore

        public void setParagraphSpacingBefore​(double value)
      • setParagraphStyle

        public void setParagraphStyle​(@NotNull
                                      @NotNull NSParagraphStyle obj)
        API-Since: 9.0
      • setTabStops

        public void setTabStops​(NSArray<? extends NSTextTab> value)
        API-Since: 7.0
      • setTailIndent

        public void setTailIndent​(double value)
      • _supportsSecureCoding

        public boolean _supportsSecureCoding()
        Description copied from interface: NSSecureCoding
        This property must return YES on all classes that allow secure coding. Subclasses of classes that adopt NSSecureCoding and override initWithCoder: must also override this method and return YES. The Secure Coding Guide should be consulted when writing methods that decode data.
        Specified by:
        _supportsSecureCoding in interface NSSecureCoding
        Overrides:
        _supportsSecureCoding in class NSParagraphStyle
      • tailIndent

        public double tailIndent()
        Description copied from class: NSParagraphStyle
        Distance from margin to back edge of paragraph; if negative or 0, from other margin
        Overrides:
        tailIndent in class NSParagraphStyle
      • setLineBreakStrategy

        public void setLineBreakStrategy​(long value)
        API-Since: 9.0
      • setUsesDefaultHyphenation

        public void setUsesDefaultHyphenation​(boolean value)
        API-Since: 15.0
      • setTextLists

        public void setTextLists​(@NotNull
                                 @NotNull NSArray<? extends NSTextList> value)
        API-Since: 7.0
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.