Package apple.uikit

Class NSParagraphStyle

    • Constructor Detail

      • NSParagraphStyle

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static java.lang.Object allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • automaticallyNotifiesObserversForKey

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

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

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

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

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

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

        public static NSParagraphStyle defaultParagraphStyle()
        This class property returns a shared and cached NSParagraphStyle instance with the default style settings, with same value as the result of [[NSParagraphStyle alloc] init].
      • defaultWritingDirectionForLanguage

        public static long defaultWritingDirectionForLanguage​(java.lang.String languageName)
        languageName is in ISO lang region format
      • 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

        public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(java.lang.String key)
      • new_objc

        public static java.lang.Object new_objc()
      • 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()
      • alignment

        public long alignment()
      • allowsDefaultTighteningForTruncation

        public boolean allowsDefaultTighteningForTruncation()
        Tightens inter-character spacing in attempt to fit lines wider than the available space if the line break mode is one of the truncation modes before starting to truncate. NO by default. The maximum amount of tightening performed is determined by the system based on contexts such as font, line width, etc.
      • baseWritingDirection

        public long baseWritingDirection()
      • copyWithZone

        public java.lang.Object copyWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
        Specified by:
        copyWithZone in interface NSCopying
      • defaultTabInterval

        public double defaultTabInterval()
        The default tab interval used for locations beyond the last element in tabStops
      • firstLineHeadIndent

        public double firstLineHeadIndent()
        Distance from margin to edge appropriate for text direction
      • headIndent

        public double headIndent()
        Distance from margin to front edge of paragraph
      • hyphenationFactor

        public float hyphenationFactor()
        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.
      • lineBreakMode

        public long lineBreakMode()
      • lineHeightMultiple

        public double lineHeightMultiple()
        Natural line height is multiplied by this factor (if positive) before being constrained by minimum and maximum line height.
      • lineSpacing

        public double lineSpacing()
        "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.
      • maximumLineHeight

        public double maximumLineHeight()
        0 implies no maximum.
      • minimumLineHeight

        public double minimumLineHeight()
        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).
      • mutableCopyWithZone

        public java.lang.Object mutableCopyWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
        Specified by:
        mutableCopyWithZone in interface NSMutableCopying
      • paragraphSpacing

        public double paragraphSpacing()
        Distance between the bottom of this paragraph and top of next (or the beginning of its paragraphSpacingBefore, if any).
      • paragraphSpacingBefore

        public double paragraphSpacingBefore()
        Distance between the bottom of the previous paragraph (or the end of its paragraphSpacing, if any) and the top of this paragraph.
      • _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
      • tabStops

        public NSArray<? extends NSTextTab> tabStops()
        An array of NSTextTabs. Contents should be ordered by location. The default value is an array of 12 left-aligned tabs at 28pt interval
      • tailIndent

        public double tailIndent()
        Distance from margin to back edge of paragraph; if negative or 0, from other margin
      • lineBreakStrategy

        public long lineBreakStrategy()
        Specifies the line break strategies that may be used for laying out the paragraph. The default value is NSLineBreakStrategyNone.