Package apple.uikit

Class UIBarAppearance

    • Constructor Detail

      • UIBarAppearance

        protected UIBarAppearance​(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)
      • backgroundColor

        public UIColor backgroundColor()
        A color to use for the bar background. This color is composited over backgroundEffects.
      • backgroundEffect

        public UIBlurEffect backgroundEffect()
        A specific blur effect to use for the bar background. This effect is composited first when constructing the bar's background.
      • backgroundImage

        public UIImage backgroundImage()
        An image to use for the bar background. This image is composited over the backgroundColor, and resized per the backgroundImageContentMode.
      • backgroundImageContentMode

        public long backgroundImageContentMode()
        The content mode to use when rendering the backgroundImage. Defaults to UIViewContentModeScaleToFill. UIViewContentModeRedraw will be reinterpreted as UIViewContentModeScaleToFill.
      • 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()
      • configureWithDefaultBackground

        public void configureWithDefaultBackground()
        Reset background and shadow properties to their defaults.
      • configureWithOpaqueBackground

        public void configureWithOpaqueBackground()
        Reset background and shadow properties to display theme-appropriate opaque colors.
      • configureWithTransparentBackground

        public void configureWithTransparentBackground()
        Reset background and shadow properties to be transparent.
      • copy

        public java.lang.Object copy()
        Overrides:
        copy in class NSObject
      • copyWithZone

        public java.lang.Object copyWithZone​(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()
      • hash_static

        public static long hash_static()
      • idiom

        public long idiom()
        The idiom that this appearance object targets.
      • init

        public UIBarAppearance init()
        Constructs a new bar appearance, configured with default values and targeting the device idiom.
        Overrides:
        init in class NSObject
      • initWithBarAppearance

        public UIBarAppearance initWithBarAppearance​(UIBarAppearance barAppearance)
        Constructs a new bar appearance, copying all relevant properties from the given appearance object. This initializer is useful for migrating configuration between UIBarAppearance subclasses. For example, you can initialize a UINavigationBarAppearance with a UIToolbarAppearance instance, and shared attributes will be identical between the two.
      • initWithIdiom

        public UIBarAppearance initWithIdiom​(long idiom)
        Constructs a new bar appearance, targetting the passed-in idiom as a hint. Not all platforms support all available idioms. See the idiom property to determine the resolved idiom.
      • 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)
      • setBackgroundColor

        public void setBackgroundColor​(UIColor value)
        A color to use for the bar background. This color is composited over backgroundEffects.
      • setBackgroundEffect

        public void setBackgroundEffect​(UIBlurEffect value)
        A specific blur effect to use for the bar background. This effect is composited first when constructing the bar's background.
      • setBackgroundImage

        public void setBackgroundImage​(UIImage value)
        An image to use for the bar background. This image is composited over the backgroundColor, and resized per the backgroundImageContentMode.
      • setBackgroundImageContentMode

        public void setBackgroundImageContentMode​(long value)
        The content mode to use when rendering the backgroundImage. Defaults to UIViewContentModeScaleToFill. UIViewContentModeRedraw will be reinterpreted as UIViewContentModeScaleToFill.
      • setShadowColor

        public void setShadowColor​(UIColor value)
        A color to use for the shadow. Its specific behavior depends on the value of shadowImage. If shadowImage is nil, then the shadowColor is used to color the bar's default shadow; a nil or clearColor shadowColor will result in no shadow. If shadowImage is a template image, then the shadowColor is used to tint the image; a nil or clearColor shadowColor will also result in no shadow. If the shadowImage is not a template image, then it will be rendered regardless of the value of shadowColor.
      • setShadowImage

        public void setShadowImage​(UIImage value)
        Use an image for the shadow. See shadowColor for how they interact.
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • shadowColor

        public UIColor shadowColor()
        A color to use for the shadow. Its specific behavior depends on the value of shadowImage. If shadowImage is nil, then the shadowColor is used to color the bar's default shadow; a nil or clearColor shadowColor will result in no shadow. If shadowImage is a template image, then the shadowColor is used to tint the image; a nil or clearColor shadowColor will also result in no shadow. If the shadowImage is not a template image, then it will be rendered regardless of the value of shadowColor.
      • shadowImage

        public UIImage shadowImage()
        Use an image for the shadow. See shadowColor for how they interact.
      • 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
      • version_static

        public static long version_static()