Package apple.mapkit

Class MKAnnotationView

    • Constructor Detail

      • MKAnnotationView

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static MKAnnotationView allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • appearanceForTraitCollectionWhenContainedIn

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

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

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

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

        public static boolean areAnimationsEnabled()
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(@NotNull
                                                                   @NotNull java.lang.String key)
      • 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)
      • 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()
      • description_static

        public static java.lang.String description_static()
      • 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()
      • 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)
      • 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)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

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

        public static long userInterfaceLayoutDirectionForSemanticContentAttribute​(long attribute)
      • userInterfaceLayoutDirectionForSemanticContentAttributeRelativeToLayoutDirection

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

        public static long version_static()
      • annotation

        @Nullable
        public @Nullable MKAnnotation annotation()
      • _appearance

        @NotNull
        public @NotNull MKAnnotationView _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
      • _appearanceWhenContainedIn

        @NotNull
        @Deprecated
        public @NotNull MKAnnotationView _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
      • calloutOffset

        public CGPoint calloutOffset()
        calloutOffset is the offset in screen points from the top-middle of the annotation view, where the anchor of the callout should be shown.
      • canShowCallout

        public boolean canShowCallout()
        If YES, a standard callout bubble will be shown when the annotation is selected. The annotation must have a title for the callout to be shown.
      • centerOffset

        public CGPoint centerOffset()
        By default, the center of annotation view is placed over the coordinate of the annotation. centerOffset is the offset in screen points from the center of the annotion view.
      • detailCalloutAccessoryView

        @Nullable
        public @Nullable UIView detailCalloutAccessoryView()
        API-Since: 9.0
      • dragState

        public long dragState()
        Automatically set to MKAnnotationViewDragStateStarting, Canceling, and Ending when necessary. Implementer is responsible for transitioning to Dragging and None states as appropriate. API-Since: 4.0
      • image

        @Nullable
        public @Nullable UIImage image()
      • initWithAnnotationReuseIdentifier

        public MKAnnotationView initWithAnnotationReuseIdentifier​(@Nullable
                                                                  @Nullable MKAnnotation annotation,
                                                                  @Nullable
                                                                  @Nullable java.lang.String reuseIdentifier)
      • isDraggable

        public boolean isDraggable()
        If YES and the underlying id responds to setCoordinate:, the user will be able to drag this annotation view around the map. API-Since: 4.0
      • setDraggable

        public void setDraggable​(boolean value)
        If YES and the underlying id responds to setCoordinate:, the user will be able to drag this annotation view around the map. API-Since: 4.0
      • isEnabled

        public boolean isEnabled()
        Defaults to YES. If NO, ignores touch events and subclasses may draw differently.
      • setEnabled

        public void setEnabled​(boolean value)
        Defaults to YES. If NO, ignores touch events and subclasses may draw differently.
      • isHighlighted

        public boolean isHighlighted()
        Defaults to NO. This gets set/cleared automatically when touch enters/exits during tracking and cleared on up.
      • setHighlighted

        public void setHighlighted​(boolean value)
        Defaults to NO. This gets set/cleared automatically when touch enters/exits during tracking and cleared on up.
      • isSelected

        public boolean isSelected()
        Defaults to NO. Becomes YES when tapped/clicked on in the map view.
      • setSelected

        public void setSelected​(boolean value)
        Defaults to NO. Becomes YES when tapped/clicked on in the map view.
      • leftCalloutAccessoryView

        @Nullable
        public @Nullable UIView leftCalloutAccessoryView()
      • prepareForReuse

        public void prepareForReuse()
        Classes that override must call super.
      • reuseIdentifier

        @Nullable
        public @Nullable java.lang.String reuseIdentifier()
      • rightCalloutAccessoryView

        @Nullable
        public @Nullable UIView rightCalloutAccessoryView()
      • setAnnotation

        public void setAnnotation​(@Nullable
                                  @Nullable MKAnnotation value)
      • setCalloutOffset

        public void setCalloutOffset​(CGPoint value)
        calloutOffset is the offset in screen points from the top-middle of the annotation view, where the anchor of the callout should be shown.
      • setCanShowCallout

        public void setCanShowCallout​(boolean value)
        If YES, a standard callout bubble will be shown when the annotation is selected. The annotation must have a title for the callout to be shown.
      • setCenterOffset

        public void setCenterOffset​(CGPoint value)
        By default, the center of annotation view is placed over the coordinate of the annotation. centerOffset is the offset in screen points from the center of the annotion view.
      • setDetailCalloutAccessoryView

        public void setDetailCalloutAccessoryView​(@Nullable
                                                  @Nullable UIView value)
        API-Since: 9.0
      • setDragState

        public void setDragState​(long value)
        Automatically set to MKAnnotationViewDragStateStarting, Canceling, and Ending when necessary. Implementer is responsible for transitioning to Dragging and None states as appropriate. API-Since: 4.0
      • setDragStateAnimated

        public void setDragStateAnimated​(long newDragState,
                                         boolean animated)
        Developers targeting iOS 4.2 and after must use setDragState:animated: instead of setDragState:. API-Since: 4.2
      • setImage

        public void setImage​(@Nullable
                             @Nullable UIImage value)
      • setLeftCalloutAccessoryView

        public void setLeftCalloutAccessoryView​(@Nullable
                                                @Nullable UIView value)
      • setRightCalloutAccessoryView

        public void setRightCalloutAccessoryView​(@Nullable
                                                 @Nullable UIView value)
      • setSelectedAnimated

        public void setSelectedAnimated​(boolean selected,
                                        boolean animated)
      • clusterAnnotationView

        @Nullable
        public @Nullable MKAnnotationView clusterAnnotationView()
        If non-nil this is the annotation view this view is clustered into. API-Since: 11.0
      • clusteringIdentifier

        @Nullable
        public @Nullable java.lang.String clusteringIdentifier()
        Annotation views with equal non-nil identifiers can cluster together. API-Since: 11.0
      • collisionMode

        public long collisionMode()
        Default collision mode is rectangle. API-Since: 11.0
      • displayPriority

        public float displayPriority()
        Default is MKFeatureDisplayPriorityRequired, other values opts into collision occlusion by priority. API-Since: 11.0
      • prepareForDisplay

        public void prepareForDisplay()
        API-Since: 11.0
      • setClusteringIdentifier

        public void setClusteringIdentifier​(@Nullable
                                            @Nullable java.lang.String value)
        Annotation views with equal non-nil identifiers can cluster together. API-Since: 11.0
      • setCollisionMode

        public void setCollisionMode​(long value)
        Default collision mode is rectangle. API-Since: 11.0
      • setDisplayPriority

        public void setDisplayPriority​(float value)
        Default is MKFeatureDisplayPriorityRequired, other values opts into collision occlusion by priority. API-Since: 11.0
      • selectedZPriority

        public float selectedZPriority()
        API-Since: 14.0
      • setSelectedZPriority

        public void setSelectedZPriority​(float value)
        API-Since: 14.0
      • setZPriority

        public void setZPriority​(float value)
        API-Since: 14.0
      • zPriority

        public float zPriority()
        API-Since: 14.0
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.