Package apple.uikit

Class UICalendarView

    • Constructor Detail

      • UICalendarView

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

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

        @NotNull
        public static @NotNull UICalendarView appearance()
      • _appearance

        @NotNull
        public @NotNull UICalendarView _appearance()
        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
      • appearanceForTraitCollection

        @NotNull
        public static @NotNull UICalendarView appearanceForTraitCollection​(@NotNull
                                                                           @NotNull UITraitCollection trait)
      • appearanceForTraitCollectionWhenContainedIn

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

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

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

        @NotNull
        @Deprecated
        public @NotNull UICalendarView _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
      • appearanceWhenContainedInInstancesOfClasses

        @NotNull
        public static @NotNull UICalendarView appearanceWhenContainedInInstancesOfClasses​(@NotNull
                                                                                          @NotNull NSArray<?> containerTypes)
      • areAnimationsEnabled

        public static boolean areAnimationsEnabled()
      • automaticallyNotifiesObserversForKey

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

        @NotNull
        public @NotNull NSDateInterval availableDateRange()
        The available date range of the calendar view. The default is a date interval from @c NSDate.distantPast to @c NSDate.distantFuture
      • beginAnimationsContext

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

        @NotNull
        public @NotNull NSCalendar calendar()
        The backing calendar of the calendar view. The default value is @c NSCalendar.currentCalendar
      • 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()
      • clearTextInputContextIdentifier

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

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

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

        @Nullable
        public @Nullable UICalendarViewDelegate delegate()
        The object that defines the delegate of the calendar view.
      • description_static

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

        @NotNull
        public @NotNull java.lang.String fontDesign()
        The font design of the calendar view. The default value is @c UIFontDescriptorSystemDesignDefault
      • hash_static

        public static long hash_static()
      • inheritedAnimationDuration

        public static double inheritedAnimationDuration()
      • 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)
      • layerClass

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

        @NotNull
        public @NotNull NSLocale locale()
        The backing locale of the calendar view. The default value is @c NSLocale.currentLocale
      • reloadDecorationsForDateComponentsAnimated

        public void reloadDecorationsForDateComponentsAnimated​(@NotNull
                                                               @NotNull NSArray<? extends NSDateComponents> dates,
                                                               boolean animated)
        Reloads the decorations for the specified dates, with an option to animate the action. Decorations are only available if you implement the delegate method @c calendarView:decorationForDate:
      • requiresConstraintBasedLayout

        public static boolean requiresConstraintBasedLayout()
      • resolveClassMethod

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

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

        @Nullable
        public @Nullable UICalendarSelection selectionBehavior()
        The object that defines the selection behavior of the calendar view.
      • 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)
      • setAvailableDateRange

        public void setAvailableDateRange​(@NotNull
                                          @NotNull NSDateInterval value)
        The available date range of the calendar view. The default is a date interval from @c NSDate.distantPast to @c NSDate.distantFuture
      • setCalendar

        public void setCalendar​(@NotNull
                                @NotNull NSCalendar value)
        The backing calendar of the calendar view. The default value is @c NSCalendar.currentCalendar
      • setDelegate_unsafe

        public void setDelegate_unsafe​(@Nullable
                                       @Nullable UICalendarViewDelegate value)
        The object that defines the delegate of the calendar view.
      • setDelegate

        public void setDelegate​(@Nullable
                                @Nullable UICalendarViewDelegate value)
        The object that defines the delegate of the calendar view.
      • setFontDesign

        public void setFontDesign​(@NotNull
                                  @NotNull java.lang.String value)
        The font design of the calendar view. The default value is @c UIFontDescriptorSystemDesignDefault
      • setLocale

        public void setLocale​(@NotNull
                              @NotNull NSLocale value)
        The backing locale of the calendar view. The default value is @c NSLocale.currentLocale
      • setSelectionBehavior

        public void setSelectionBehavior​(@Nullable
                                         @Nullable UICalendarSelection value)
        The object that defines the selection behavior of the calendar view.
      • setTimeZone

        public void setTimeZone​(@Nullable
                                @Nullable NSTimeZone value)
        The backing time zone of the calendar view. Default is nil
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • setVisibleDateComponents

        public void setVisibleDateComponents​(@NotNull
                                             @NotNull NSDateComponents value)
        The date components representing the current visible date of the calendar view. The default value is the NSDateComponents representation of the current date given the granularity of the displayed component. The @c visibleDateComponents must also be a valid date within @c availableDateRange [@note] If @c visibleDateComponents.calendar and @c UICalendarView.calendar are not equal,the input date components will be converted to use @c UICalendarView.calendar upon assignment. UICalendarView will use [@c] UICalendarView.calendar if @c visibleDateComponents.calendar is not explicitly marked, and may result in incorrect dates if the dateComponents is not valid in @c UICalendarView.calendar.
      • setVisibleDateComponentsAnimated

        public void setVisibleDateComponentsAnimated​(@NotNull
                                                     @NotNull NSDateComponents dateComponents,
                                                     boolean animated)
        Sets the visible date components of the calendar view, with an option to animate the setting. The @c visibleDateComponents must also be a valid date within @c availableDateRange [@note] If @c visibleDateComponents.calendar and @c UICalendarView.calendar are not equal,the input date components will be converted to use @c UICalendarView.calendar upon assignment. UICalendarView will use [@c] UICalendarView.calendar if @c visibleDateComponents.calendar is not explicitly marked, and may result in incorrect dates if the dateComponents is not valid in @c UICalendarView.calendar.
      • setWantsDateDecorations

        public void setWantsDateDecorations​(boolean value)
        Determines if we show date decorations. By default, this value returns @c YES, but you must also implement the delegate method @c calendarView:decorationForDate: to show decorations.
      • superclass_static

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

        @Nullable
        public @Nullable NSTimeZone timeZone()
        The backing time zone of the calendar view. Default is nil
      • userInterfaceLayoutDirectionForSemanticContentAttribute

        public static long userInterfaceLayoutDirectionForSemanticContentAttribute​(long attribute)
      • userInterfaceLayoutDirectionForSemanticContentAttributeRelativeToLayoutDirection

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

        public static long version_static()
      • visibleDateComponents

        @NotNull
        public @NotNull NSDateComponents visibleDateComponents()
        The date components representing the current visible date of the calendar view. The default value is the NSDateComponents representation of the current date given the granularity of the displayed component. The @c visibleDateComponents must also be a valid date within @c availableDateRange [@note] If @c visibleDateComponents.calendar and @c UICalendarView.calendar are not equal,the input date components will be converted to use @c UICalendarView.calendar upon assignment. UICalendarView will use [@c] UICalendarView.calendar if @c visibleDateComponents.calendar is not explicitly marked, and may result in incorrect dates if the dateComponents is not valid in @c UICalendarView.calendar.
      • wantsDateDecorations

        public boolean wantsDateDecorations()
        Determines if we show date decorations. By default, this value returns @c YES, but you must also implement the delegate method @c calendarView:decorationForDate: to show decorations.
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.