Package apple.uikit

Class UIContentUnavailableConfiguration

    • Constructor Detail

      • UIContentUnavailableConfiguration

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • alignment

        public long alignment()
        The alignment of the image, text and buttons.
      • attributedText

        @Nullable
        public @Nullable NSAttributedString attributedText()
        An attributed variant of the primary text, which supersedes the `text` and some properties of the `textProperties` if set.
      • automaticallyNotifiesObserversForKey

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

        public long axesPreservingSuperviewLayoutMargins()
        Whether the content view will preserve inherited layout margins from its superview on the horizontal and/or vertical axes.
      • buttonToSecondaryButtonPadding

        public double buttonToSecondaryButtonPadding()
        Padding between the button and secondary button. Only applies when there is both a button and a secondary button.
      • 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()
      • copyWithZone

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

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

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

        public NSDirectionalEdgeInsets directionalLayoutMargins()
        The margins for the content to the edges of the content view. (When preserving superview layout margins on one or both axes, these are just minimum margins, as inherited margins may be larger.)
      • emptyConfiguration

        @NotNull
        public static @NotNull UIContentUnavailableConfiguration emptyConfiguration()
        Returns the default configuration for unavailable content.
      • hash_static

        public static long hash_static()
      • image

        @Nullable
        public @Nullable UIImage image()
        The image to display.
      • imageProperties

        @NotNull
        public @NotNull UIContentUnavailableImageProperties imageProperties()
        Additional properties to configure the image. When adopting the loading configuration, relevant properties are applied to the activity indicator.
      • imageToTextPadding

        public double imageToTextPadding()
        Padding between the image and text. Only applies when there is both an image and text.
      • 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)
      • loadingConfiguration

        @NotNull
        public static @NotNull UIContentUnavailableConfiguration loadingConfiguration()
        Returns the default configuration for content which is loading.
      • resolveClassMethod

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

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

        @NotNull
        public static @NotNull UIContentUnavailableConfiguration searchConfiguration()
        Returns the default configuration for searches which return no results.
      • secondaryAttributedText

        @Nullable
        public @Nullable NSAttributedString secondaryAttributedText()
        An attributed variant of the secondary text, which supersedes the `secondaryText` and some properties of the `secondaryTextProperties` if set.
      • secondaryButton

        @NotNull
        public @NotNull UIButtonConfiguration secondaryButton()
        The secondary button.
      • secondaryText

        @Nullable
        public @Nullable java.lang.String secondaryText()
        The secondary text.
      • setAlignment

        public void setAlignment​(long value)
        The alignment of the image, text and buttons.
      • setAttributedText

        public void setAttributedText​(@Nullable
                                      @Nullable NSAttributedString value)
        An attributed variant of the primary text, which supersedes the `text` and some properties of the `textProperties` if set.
      • setAxesPreservingSuperviewLayoutMargins

        public void setAxesPreservingSuperviewLayoutMargins​(long value)
        Whether the content view will preserve inherited layout margins from its superview on the horizontal and/or vertical axes.
      • setBackground

        public void setBackground​(@NotNull
                                  @NotNull UIBackgroundConfiguration value)
        The background configuration.
      • setButton

        public void setButton​(@NotNull
                              @NotNull UIButtonConfiguration value)
        The primary button.
      • setButtonToSecondaryButtonPadding

        public void setButtonToSecondaryButtonPadding​(double value)
        Padding between the button and secondary button. Only applies when there is both a button and a secondary button.
      • setDirectionalLayoutMargins

        public void setDirectionalLayoutMargins​(NSDirectionalEdgeInsets value)
        The margins for the content to the edges of the content view. (When preserving superview layout margins on one or both axes, these are just minimum margins, as inherited margins may be larger.)
      • setImage

        public void setImage​(@Nullable
                             @Nullable UIImage value)
        The image to display.
      • setImageToTextPadding

        public void setImageToTextPadding​(double value)
        Padding between the image and text. Only applies when there is both an image and text.
      • setSecondaryAttributedText

        public void setSecondaryAttributedText​(@Nullable
                                               @Nullable NSAttributedString value)
        An attributed variant of the secondary text, which supersedes the `secondaryText` and some properties of the `secondaryTextProperties` if set.
      • setSecondaryButton

        public void setSecondaryButton​(@NotNull
                                       @NotNull UIButtonConfiguration value)
        The secondary button.
      • setSecondaryText

        public void setSecondaryText​(@Nullable
                                     @Nullable java.lang.String value)
        The secondary text.
      • setText

        public void setText​(@Nullable
                            @Nullable java.lang.String value)
        The primary text.
      • setTextToButtonPadding

        public void setTextToButtonPadding​(double value)
        Padding between the button and text. Only applies when there is both a button and text.
      • setTextToSecondaryTextPadding

        public void setTextToSecondaryTextPadding​(double value)
        Padding between the text and secondary text. Only applies when there is both text and secondary text.
      • 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()
      • _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
      • text

        @Nullable
        public @Nullable java.lang.String text()
        The primary text.
      • textToButtonPadding

        public double textToButtonPadding()
        Padding between the button and text. Only applies when there is both a button and text.
      • textToSecondaryTextPadding

        public double textToSecondaryTextPadding()
        Padding between the text and secondary text. Only applies when there is both text and secondary text.
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.
      • version_static

        public static long version_static()