Package apple.uikit

Class UIActionSheet

    • Constructor Detail

      • UIActionSheet

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
        Deprecated.
      • allocWithZone

        public static UIActionSheet allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
        Deprecated.
      • appearance

        @NotNull
        public static @NotNull UIActionSheet appearance()
        Deprecated.
      • appearanceForTraitCollection

        @NotNull
        public static @NotNull UIActionSheet appearanceForTraitCollection​(@NotNull
                                                                          @NotNull UITraitCollection trait)
        Deprecated.
      • appearanceForTraitCollectionWhenContainedIn

        @NotNull
        @Deprecated
        public static @NotNull UIActionSheet appearanceForTraitCollectionWhenContainedIn​(@NotNull
                                                                                         @NotNull UITraitCollection trait,
                                                                                         @Nullable
                                                                                         @Nullable UIAppearanceContainer ContainerClass,
                                                                                         java.lang.Object... varargs)
        Deprecated.
      • appearanceForTraitCollectionWhenContainedInInstancesOfClasses

        @NotNull
        public static @NotNull UIActionSheet appearanceForTraitCollectionWhenContainedInInstancesOfClasses​(@NotNull
                                                                                                           @NotNull UITraitCollection trait,
                                                                                                           @NotNull
                                                                                                           @NotNull NSArray<?> containerTypes)
        Deprecated.
      • appearanceWhenContainedIn

        @NotNull
        @Deprecated
        public static @NotNull UIActionSheet appearanceWhenContainedIn​(@Nullable
                                                                       @Nullable UIAppearanceContainer ContainerClass,
                                                                       java.lang.Object... varargs)
        Deprecated.
      • appearanceWhenContainedInInstancesOfClasses

        @NotNull
        public static @NotNull UIActionSheet appearanceWhenContainedInInstancesOfClasses​(@NotNull
                                                                                         @NotNull NSArray<?> containerTypes)
        Deprecated.
      • areAnimationsEnabled

        public static boolean areAnimationsEnabled()
        Deprecated.
      • automaticallyNotifiesObserversForKey

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

        @Deprecated
        public static void beginAnimationsContext​(@Nullable
                                                  @Nullable java.lang.String animationID,
                                                  @Nullable
                                                  @Nullable org.moe.natj.general.ptr.VoidPtr context)
        Deprecated.
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(@NotNull
                                                                   @NotNull java.lang.Object aTarget)
        Deprecated.
      • 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)
        Deprecated.
      • classFallbacksForKeyedArchiver

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

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

        public static void clearTextInputContextIdentifier​(@NotNull
                                                           @NotNull java.lang.String identifier)
        Deprecated.
      • commitAnimations

        @Deprecated
        public static void commitAnimations()
        Deprecated.
      • debugDescription_static

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

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

        public static long hash_static()
        Deprecated.
      • inheritedAnimationDuration

        public static double inheritedAnimationDuration()
        Deprecated.
      • instanceMethodSignatureForSelector

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

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

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

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

        @NotNull
        public static @NotNull org.moe.natj.objc.Class layerClass()
        Deprecated.
      • requiresConstraintBasedLayout

        public static boolean requiresConstraintBasedLayout()
        Deprecated.
      • resolveClassMethod

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

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

        @Deprecated
        public static void setAnimationBeginsFromCurrentState​(boolean fromCurrentState)
        Deprecated.
      • setAnimationCurve

        @Deprecated
        public static void setAnimationCurve​(long curve)
        Deprecated.
      • setAnimationDelay

        @Deprecated
        public static void setAnimationDelay​(double delay)
        Deprecated.
      • setAnimationDelegate

        @Deprecated
        public static void setAnimationDelegate​(@Nullable
                                                @Nullable java.lang.Object delegate)
        Deprecated.
      • setAnimationDidStopSelector

        @Deprecated
        public static void setAnimationDidStopSelector​(@Nullable
                                                       @Nullable org.moe.natj.objc.SEL selector)
        Deprecated.
      • setAnimationDuration_static

        @Deprecated
        public static void setAnimationDuration_static​(double duration)
        Deprecated.
      • setAnimationRepeatAutoreverses

        @Deprecated
        public static void setAnimationRepeatAutoreverses​(boolean repeatAutoreverses)
        Deprecated.
      • setAnimationRepeatCount_static

        @Deprecated
        public static void setAnimationRepeatCount_static​(float repeatCount)
        Deprecated.
      • setAnimationStartDate

        @Deprecated
        public static void setAnimationStartDate​(@NotNull
                                                 @NotNull NSDate startDate)
        Deprecated.
      • setAnimationTransitionForViewCache

        @Deprecated
        public static void setAnimationTransitionForViewCache​(long transition,
                                                              @NotNull
                                                              @NotNull UIView view,
                                                              boolean cache)
        Deprecated.
      • setAnimationWillStartSelector

        @Deprecated
        public static void setAnimationWillStartSelector​(@Nullable
                                                         @Nullable org.moe.natj.objc.SEL selector)
        Deprecated.
      • setAnimationsEnabled

        public static void setAnimationsEnabled​(boolean enabled)
        Deprecated.
      • setVersion_static

        public static void setVersion_static​(long aVersion)
        Deprecated.
      • superclass_static

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

        public static long userInterfaceLayoutDirectionForSemanticContentAttribute​(long attribute)
        Deprecated.
      • userInterfaceLayoutDirectionForSemanticContentAttributeRelativeToLayoutDirection

        public static long userInterfaceLayoutDirectionForSemanticContentAttributeRelativeToLayoutDirection​(long semanticContentAttribute,
                                                                                                            long layoutDirection)
        Deprecated.
      • version_static

        public static long version_static()
        Deprecated.
      • actionSheetStyle

        public long actionSheetStyle()
        Deprecated.
        default is UIActionSheetStyleAutomatic. ignored if alert is visible
      • addButtonWithTitle

        public long addButtonWithTitle​(@Nullable
                                       @Nullable java.lang.String title)
        Deprecated.
        returns index of button. 0 based.
      • _appearance

        @NotNull
        public @NotNull UIActionSheet _appearance()
        Deprecated.
        Description copied from interface: UIAppearance
        To customize the appearance of all instances of a class, send the relevant appearance modification messages to the appearance proxy for the class. For example, to modify the bar tint color for all UINavigationBar instances: [[UINavigationBar appearance] setBarTintColor:myColor]; Note for iOS7: On iOS7 the tintColor property has moved to UIView, and now has special inherited behavior described in UIView.h. This inherited behavior can conflict with the appearance proxy, and therefore tintColor is now disallowed with the appearance proxy.
        Specified by:
        _appearance in interface UIAppearance
        Overrides:
        _appearance in class UIView
      • _appearanceWhenContainedIn

        @NotNull
        @Deprecated
        public @NotNull UIActionSheet _appearanceWhenContainedIn​(@Nullable
                                                                 @Nullable UIAppearanceContainer ContainerClass,
                                                                 java.lang.Object... varargs)
        Deprecated.
        Description copied from interface: UIAppearance
        To customize the appearances for instances of a class contained within an instance of a container class, or instances in a hierarchy, use +appearanceWhenContainedInInstancesOfClasses: for the appropriate appearance proxy. For example: [[UINavigationBar appearanceWhenContainedInInstancesOfClasses:@[[UISplitViewController class]]] setBarTintColor:myColor]; [[UINavigationBar appearanceWhenContainedInInstancesOfClasses:@[[UITabBarController class], [UISplitViewController class]]] setBarTintColor:myTabbedNavBarColor]; In any given view hierarchy the outermost appearance proxy wins. Specificity (depth of the chain) is the tie-breaker. In other words, the containment statement is treated as a partial ordering. Given a concrete ordering (actual subview hierarchy), we select the partial ordering that is the first unique match when reading the actual hierarchy from the window down. API-Since: 5.0 Deprecated-Since: 9.0
        Specified by:
        _appearanceWhenContainedIn in interface UIAppearance
        Overrides:
        _appearanceWhenContainedIn in class UIView
      • buttonTitleAtIndex

        @Nullable
        public @Nullable java.lang.String buttonTitleAtIndex​(long buttonIndex)
        Deprecated.
      • cancelButtonIndex

        public long cancelButtonIndex()
        Deprecated.
        if the delegate does not implement -actionSheetCancel:, we pretend this button was clicked on. default is -1
      • destructiveButtonIndex

        public long destructiveButtonIndex()
        Deprecated.
        sets destructive (red) button. -1 means none set. default is -1. ignored if only one button
      • dismissWithClickedButtonIndexAnimated

        public void dismissWithClickedButtonIndexAnimated​(long buttonIndex,
                                                          boolean animated)
        Deprecated.
        hides alert sheet or popup. use this method when you need to explicitly dismiss the alert. it does not need to be called if the user presses on a button
      • firstOtherButtonIndex

        public long firstOtherButtonIndex()
        Deprecated.
        -1 if no otherButtonTitles or initWithTitle:... not used
      • initWithTitleDelegateCancelButtonTitleDestructiveButtonTitleOtherButtonTitles

        public UIActionSheet initWithTitleDelegateCancelButtonTitleDestructiveButtonTitleOtherButtonTitles​(@Nullable
                                                                                                           @Nullable java.lang.String title,
                                                                                                           @Nullable
                                                                                                           @Nullable UIActionSheetDelegate delegate,
                                                                                                           @Nullable
                                                                                                           @Nullable java.lang.String cancelButtonTitle,
                                                                                                           @Nullable
                                                                                                           @Nullable java.lang.String destructiveButtonTitle,
                                                                                                           @Nullable
                                                                                                           @Nullable java.lang.String otherButtonTitles,
                                                                                                           java.lang.Object... varargs)
        Deprecated.
      • isVisible

        public boolean isVisible()
        Deprecated.
      • numberOfButtons

        public long numberOfButtons()
        Deprecated.
      • setActionSheetStyle

        public void setActionSheetStyle​(long value)
        Deprecated.
        default is UIActionSheetStyleAutomatic. ignored if alert is visible
      • setCancelButtonIndex

        public void setCancelButtonIndex​(long value)
        Deprecated.
        if the delegate does not implement -actionSheetCancel:, we pretend this button was clicked on. default is -1
      • setDelegate_unsafe

        public void setDelegate_unsafe​(@Nullable
                                       @Nullable UIActionSheetDelegate value)
        Deprecated.
      • setDestructiveButtonIndex

        public void setDestructiveButtonIndex​(long value)
        Deprecated.
        sets destructive (red) button. -1 means none set. default is -1. ignored if only one button
      • setTitle

        public void setTitle​(@NotNull
                             @NotNull java.lang.String value)
        Deprecated.
      • showFromBarButtonItemAnimated

        public void showFromBarButtonItemAnimated​(@NotNull
                                                  @NotNull UIBarButtonItem item,
                                                  boolean animated)
        Deprecated.
        API-Since: 3.2
      • showFromRectInViewAnimated

        public void showFromRectInViewAnimated​(CGRect rect,
                                               @NotNull
                                               @NotNull UIView view,
                                               boolean animated)
        Deprecated.
        API-Since: 3.2
      • showFromTabBar

        public void showFromTabBar​(@NotNull
                                   @NotNull UITabBar view)
        Deprecated.
      • showFromToolbar

        public void showFromToolbar​(@NotNull
                                    @NotNull UIToolbar view)
        Deprecated.
        show a sheet animated. you can specify either a toolbar, a tab bar, a bar button item or a plain view. We do a special animation if the sheet rises from a toolbar, tab bar or bar button item and we will automatically select the correct style based on the bar style. if not from a bar, we use UIActionSheetStyleDefault if automatic style set
      • showInView

        public void showInView​(@NotNull
                               @NotNull UIView view)
        Deprecated.
      • title

        @NotNull
        public @NotNull java.lang.String title()
        Deprecated.
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.