Package apple.uikit
Class UIColor
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.uikit.UIColor
-
- All Implemented Interfaces:
NSCoding,NSCopying,NSItemProviderReading,NSItemProviderWriting,NSSecureCoding,NSObject
public class UIColor extends NSObject implements NSSecureCoding, NSCopying, NSItemProviderReading, NSItemProviderWriting
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUIColor.Block_colorWithDynamicProviderstatic interfaceUIColor.Block_initWithDynamicProvider-
Nested classes/interfaces inherited from class apple.NSObject
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret
-
Nested classes/interfaces inherited from interface apple.foundation.protocol.NSItemProviderWriting
NSItemProviderWriting.Block_loadDataWithTypeIdentifierForItemProviderCompletionHandler
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedUIColor(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description long_itemProviderVisibilityForRepresentationWithTypeIdentifier_static(java.lang.String typeIdentifier)java.lang.Object_objectWithItemProviderDataTypeIdentifierError(NSData data, java.lang.String typeIdentifier, org.moe.natj.general.ptr.Ptr<NSError> outError)NSArray<java.lang.String>_readableTypeIdentifiersForItemProvider()boolean_supportsSecureCoding()This property must return YES on all classes that allow secure coding.NSArray<java.lang.String>_writableTypeIdentifiersForItemProvider_static()java.lang.StringaccessibilityName()Provides an accessible name for the UIColor for use in accessibility attribute APIs, such as when using accessibilityLabel.static booleanaccessInstanceVariablesDirectly()static UIColoralloc()static java.lang.ObjectallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)static booleanautomaticallyNotifiesObserversForKey(java.lang.String key)static UIColorblackColor()0.0 whitestatic UIColorblueColor()0.0, 0.0, 1.0 RGBstatic UIColorbrownColor()0.6, 0.4, 0.2 RGBstatic voidcancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)static voidcancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget, org.moe.natj.objc.SEL aSelector, java.lang.Object anArgument)CGColorRefCGColor()CIColorCIColor()static NSArray<java.lang.String>classFallbacksForKeyedArchiver()static org.moe.natj.objc.ClassclassForKeyedUnarchiver()static UIColorclearColor()0.0 white, 0.0 alphastatic UIColorcolorNamed(java.lang.String name)load from main bundlestatic UIColorcolorNamedInBundleCompatibleWithTraitCollection(java.lang.String name, NSBundle bundle, UITraitCollection traitCollection)UIColorcolorWithAlphaComponent(double alpha)Returns a color in the same color space as the receiver with the specified alpha component.static UIColorcolorWithCGColor(CGColorRef cgColor)static UIColorcolorWithCIColor(CIColor ciColor)static UIColorcolorWithDisplayP3RedGreenBlueAlpha(double displayP3Red, double green, double blue, double alpha)static UIColorcolorWithDynamicProvider(UIColor.Block_colorWithDynamicProvider dynamicProvider)Create a dynamic color with a provider.static UIColorcolorWithHueSaturationBrightnessAlpha(double hue, double saturation, double brightness, double alpha)static UIColorcolorWithPatternImage(UIImage image)static UIColorcolorWithRedGreenBlueAlpha(double red, double green, double blue, double alpha)static UIColorcolorWithWhiteAlpha(double white, double alpha)Convenience methods for creating colorsjava.lang.ObjectcopyWithZone(org.moe.natj.general.ptr.VoidPtr zone)static UIColorcyanColor()0.0, 1.0, 1.0 RGBstatic UIColordarkGrayColor()0.333 whitestatic UIColordarkTextColor()for a light backgroundstatic java.lang.StringdebugDescription_static()static java.lang.Stringdescription_static()voidencodeWithCoder(NSCoder coder)booleangetHueSaturationBrightnessAlpha(org.moe.natj.general.ptr.NFloatPtr hue, org.moe.natj.general.ptr.NFloatPtr saturation, org.moe.natj.general.ptr.NFloatPtr brightness, org.moe.natj.general.ptr.NFloatPtr alpha)booleangetRedGreenBlueAlpha(org.moe.natj.general.ptr.NFloatPtr red, org.moe.natj.general.ptr.NFloatPtr green, org.moe.natj.general.ptr.NFloatPtr blue, org.moe.natj.general.ptr.NFloatPtr alpha)booleangetWhiteAlpha(org.moe.natj.general.ptr.NFloatPtr white, org.moe.natj.general.ptr.NFloatPtr alpha)Convenience methods for getting components.static UIColorgrayColor()0.5 whitestatic UIColorgreenColor()0.0, 1.0, 0.0 RGBstatic UIColorgroupTableViewBackgroundColor()groupTableViewBackgroundColor is now the same as systemGroupedBackgroundColor.static longhash_static()UIColorinit()UIColorinitWithCGColor(CGColorRef cgColor)UIColorinitWithCIColor(CIColor ciColor)UIColorinitWithCoder(NSCoder coder)NS_DESIGNATED_INITIALIZERUIColorinitWithDisplayP3RedGreenBlueAlpha(double displayP3Red, double green, double blue, double alpha)UIColorinitWithDynamicProvider(UIColor.Block_initWithDynamicProvider dynamicProvider)UIColorinitWithHueSaturationBrightnessAlpha(double hue, double saturation, double brightness, double alpha)UIColorinitWithPatternImage(UIImage image)UIColorinitWithRedGreenBlueAlpha(double red, double green, double blue, double alpha)UIColorinitWithWhiteAlpha(double white, double alpha)Initializers for creating colorsstatic NSObject.Function_instanceMethodForSelector_retinstanceMethodForSelector(org.moe.natj.objc.SEL aSelector)static NSMethodSignatureinstanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)static booleaninstancesRespondToSelector(org.moe.natj.objc.SEL aSelector)static booleanisSubclassOfClass(org.moe.natj.objc.Class aClass)longitemProviderVisibilityForRepresentationWithTypeIdentifier(java.lang.String typeIdentifier)static longitemProviderVisibilityForRepresentationWithTypeIdentifier_static(java.lang.String typeIdentifier)static NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(java.lang.String key)static UIColorlabelColor()Foreground colors for static text and related elements.static UIColorlightGrayColor()0.667 whitestatic UIColorlightTextColor()for a dark backgroundstatic UIColorlinkColor()Foreground color for standard system links.NSProgressloadDataWithTypeIdentifierForItemProviderCompletionHandler(java.lang.String typeIdentifier, NSItemProviderWriting.Block_loadDataWithTypeIdentifierForItemProviderCompletionHandler completionHandler)One of writableTypeIdentifiersForItemProviderstatic UIColormagentaColor()1.0, 0.0, 1.0 RGBstatic java.lang.Objectnew_objc()static java.lang.ObjectobjectWithItemProviderDataTypeIdentifierError(NSData data, java.lang.String typeIdentifier, org.moe.natj.general.ptr.Ptr<NSError> outError)static UIColoropaqueSeparatorColor()static UIColororangeColor()1.0, 0.5, 0.0 RGBstatic UIColorplaceholderTextColor()Foreground color for placeholder text in controls or text fields or text views.static UIColorpurpleColor()0.5, 0.0, 0.5 RGBstatic UIColorquaternaryLabelColor()static UIColorquaternarySystemFillColor()quaternarySystemFillColor is appropriate for filling large areas containing complex content.static NSArray<java.lang.String>readableTypeIdentifiersForItemProvider()static UIColorredColor()1.0, 0.0, 0.0 RGBstatic booleanresolveClassMethod(org.moe.natj.objc.SEL sel)UIColorresolvedColorWithTraitCollection(UITraitCollection traitCollection)Resolve any color to its most fundamental form (a non-dynamic color) for a specific trait collection.static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)static UIColorscrollViewTexturedBackgroundColor()Deprecated.static UIColorsecondaryLabelColor()static UIColorsecondarySystemBackgroundColor()static UIColorsecondarySystemFillColor()secondarySystemFillColor is appropriate for filling medium-size shapes.static UIColorsecondarySystemGroupedBackgroundColor()static UIColorseparatorColor()Foreground colors for separators (thin border or divider lines).voidset()Set the color: Sets the fill and stroke colors in the current drawing context.voidsetFill()Set the fill or stroke colors individually.voidsetStroke()static voidsetVersion_static(long aVersion)static org.moe.natj.objc.Classsuperclass_static()static booleansupportsSecureCoding()static UIColorsystemBackgroundColor()We provide two design systems (also known as "stacks") for structuring an iOS app's backgrounds.static UIColorsystemBlueColor()static UIColorsystemFillColor()Fill colors for UI elements.static UIColorsystemGray2Color()The numbered variations, systemGray2 through systemGray6, are grays which increasingly trend away from systemGray and in the direction of systemBackgroundColor.static UIColorsystemGray3Color()static UIColorsystemGray4Color()static UIColorsystemGray5Color()static UIColorsystemGray6Color()static UIColorsystemGrayColor()Shades of gray. systemGray is the base gray color.static UIColorsystemGreenColor()static UIColorsystemGroupedBackgroundColor()2. systemGroupedBackground Use this stack for views with grouped content, such as grouped tables and platter-based designs.static UIColorsystemIndigoColor()static UIColorsystemOrangeColor()static UIColorsystemPinkColor()static UIColorsystemPurpleColor()static UIColorsystemRedColor()Some colors that are used by system elements and applications.static UIColorsystemTealColor()static UIColorsystemYellowColor()static UIColortertiaryLabelColor()static UIColortertiarySystemBackgroundColor()static UIColortertiarySystemFillColor()tertiarySystemFillColor is appropriate for filling large shapes.static UIColortertiarySystemGroupedBackgroundColor()static UIColorunderPageBackgroundColor()Deprecated.static longversion_static()static UIColorviewFlipsideBackgroundColor()Deprecated.static UIColorwhiteColor()1.0 whiteNSArray<java.lang.String>writableTypeIdentifiersForItemProvider()static NSArray<java.lang.String>writableTypeIdentifiersForItemProvider_static()static UIColoryellowColor()1.0, 1.0, 0.0 RGB-
Methods inherited from class apple.NSObject
accessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKey
-
-
-
-
Method Detail
-
accessInstanceVariablesDirectly
public static boolean accessInstanceVariablesDirectly()
-
alloc
public static UIColor alloc()
-
allocWithZone
public static java.lang.Object allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
-
automaticallyNotifiesObserversForKey
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
-
blackColor
public static UIColor blackColor()
0.0 white
-
blueColor
public static UIColor blueColor()
0.0, 0.0, 1.0 RGB
-
brownColor
public static UIColor brownColor()
0.6, 0.4, 0.2 RGB
-
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()
-
clearColor
public static UIColor clearColor()
0.0 white, 0.0 alpha
-
colorWithCGColor
public static UIColor colorWithCGColor(CGColorRef cgColor)
-
colorWithDisplayP3RedGreenBlueAlpha
public static UIColor colorWithDisplayP3RedGreenBlueAlpha(double displayP3Red, double green, double blue, double alpha)
-
colorWithHueSaturationBrightnessAlpha
public static UIColor colorWithHueSaturationBrightnessAlpha(double hue, double saturation, double brightness, double alpha)
-
colorWithRedGreenBlueAlpha
public static UIColor colorWithRedGreenBlueAlpha(double red, double green, double blue, double alpha)
-
colorWithWhiteAlpha
public static UIColor colorWithWhiteAlpha(double white, double alpha)
Convenience methods for creating colors
-
cyanColor
public static UIColor cyanColor()
0.0, 1.0, 1.0 RGB
-
darkGrayColor
public static UIColor darkGrayColor()
0.333 white
-
darkTextColor
public static UIColor darkTextColor()
for a light background
-
debugDescription_static
public static java.lang.String debugDescription_static()
-
description_static
public static java.lang.String description_static()
-
grayColor
public static UIColor grayColor()
0.5 white
-
greenColor
public static UIColor greenColor()
0.0, 1.0, 0.0 RGB
-
groupTableViewBackgroundColor
public static UIColor groupTableViewBackgroundColor()
groupTableViewBackgroundColor is now the same as systemGroupedBackgroundColor.
-
hash_static
public static long hash_static()
-
instanceMethodForSelector
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
-
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)
-
lightGrayColor
public static UIColor lightGrayColor()
0.667 white
-
lightTextColor
public static UIColor lightTextColor()
for a dark background
-
magentaColor
public static UIColor magentaColor()
1.0, 0.0, 1.0 RGB
-
new_objc
public static java.lang.Object new_objc()
-
orangeColor
public static UIColor orangeColor()
1.0, 0.5, 0.0 RGB
-
purpleColor
public static UIColor purpleColor()
0.5, 0.0, 0.5 RGB
-
redColor
public static UIColor redColor()
1.0, 0.0, 0.0 RGB
-
resolveClassMethod
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
-
resolveInstanceMethod
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
-
scrollViewTexturedBackgroundColor
@Deprecated public static UIColor scrollViewTexturedBackgroundColor()
Deprecated.
-
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()
-
underPageBackgroundColor
@Deprecated public static UIColor underPageBackgroundColor()
Deprecated.
-
version_static
public static long version_static()
-
viewFlipsideBackgroundColor
@Deprecated public static UIColor viewFlipsideBackgroundColor()
Deprecated.
-
whiteColor
public static UIColor whiteColor()
1.0 white
-
yellowColor
public static UIColor yellowColor()
1.0, 1.0, 0.0 RGB
-
CGColor
public CGColorRef CGColor()
-
CIColor
public CIColor CIColor()
-
colorWithAlphaComponent
public UIColor colorWithAlphaComponent(double alpha)
Returns a color in the same color space as the receiver with the specified alpha component.
-
copyWithZone
public java.lang.Object copyWithZone(org.moe.natj.general.ptr.VoidPtr zone)
- Specified by:
copyWithZonein interfaceNSCopying
-
encodeWithCoder
public void encodeWithCoder(NSCoder coder)
- Specified by:
encodeWithCoderin interfaceNSCoding
-
getHueSaturationBrightnessAlpha
public boolean getHueSaturationBrightnessAlpha(org.moe.natj.general.ptr.NFloatPtr hue, org.moe.natj.general.ptr.NFloatPtr saturation, org.moe.natj.general.ptr.NFloatPtr brightness, org.moe.natj.general.ptr.NFloatPtr alpha)
-
getRedGreenBlueAlpha
public boolean getRedGreenBlueAlpha(org.moe.natj.general.ptr.NFloatPtr red, org.moe.natj.general.ptr.NFloatPtr green, org.moe.natj.general.ptr.NFloatPtr blue, org.moe.natj.general.ptr.NFloatPtr alpha)
-
getWhiteAlpha
public boolean getWhiteAlpha(org.moe.natj.general.ptr.NFloatPtr white, org.moe.natj.general.ptr.NFloatPtr alpha)Convenience methods for getting components. If the receiver is of a compatible color space, any non-NULL parameters are populated and 'YES' is returned. Otherwise, the parameters are left unchanged and 'NO' is returned.
-
initWithCGColor
public UIColor initWithCGColor(CGColorRef cgColor)
-
initWithCoder
public UIColor initWithCoder(NSCoder coder)
Description copied from interface:NSCodingNS_DESIGNATED_INITIALIZER- Specified by:
initWithCoderin interfaceNSCoding
-
initWithDisplayP3RedGreenBlueAlpha
public UIColor initWithDisplayP3RedGreenBlueAlpha(double displayP3Red, double green, double blue, double alpha)
-
initWithHueSaturationBrightnessAlpha
public UIColor initWithHueSaturationBrightnessAlpha(double hue, double saturation, double brightness, double alpha)
-
initWithRedGreenBlueAlpha
public UIColor initWithRedGreenBlueAlpha(double red, double green, double blue, double alpha)
-
initWithWhiteAlpha
public UIColor initWithWhiteAlpha(double white, double alpha)
Initializers for creating colors
-
set
public void set()
Set the color: Sets the fill and stroke colors in the current drawing context. Should be implemented by subclassers.
-
setFill
public void setFill()
Set the fill or stroke colors individually. These should be implemented by subclassers.
-
setStroke
public void setStroke()
-
_supportsSecureCoding
public boolean _supportsSecureCoding()
Description copied from interface:NSSecureCodingThis 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:
_supportsSecureCodingin interfaceNSSecureCoding
-
colorNamed
public static UIColor colorNamed(java.lang.String name)
load from main bundle
-
colorNamedInBundleCompatibleWithTraitCollection
public static UIColor colorNamedInBundleCompatibleWithTraitCollection(java.lang.String name, NSBundle bundle, UITraitCollection traitCollection)
-
itemProviderVisibilityForRepresentationWithTypeIdentifier_static
public static long itemProviderVisibilityForRepresentationWithTypeIdentifier_static(java.lang.String typeIdentifier)
-
_itemProviderVisibilityForRepresentationWithTypeIdentifier_static
public long _itemProviderVisibilityForRepresentationWithTypeIdentifier_static(java.lang.String typeIdentifier)
- Specified by:
_itemProviderVisibilityForRepresentationWithTypeIdentifier_staticin interfaceNSItemProviderWriting
-
itemProviderVisibilityForRepresentationWithTypeIdentifier
public long itemProviderVisibilityForRepresentationWithTypeIdentifier(java.lang.String typeIdentifier)
-
loadDataWithTypeIdentifierForItemProviderCompletionHandler
public NSProgress loadDataWithTypeIdentifierForItemProviderCompletionHandler(java.lang.String typeIdentifier, NSItemProviderWriting.Block_loadDataWithTypeIdentifierForItemProviderCompletionHandler completionHandler)
Description copied from interface:NSItemProviderWritingOne of writableTypeIdentifiersForItemProvider- Specified by:
loadDataWithTypeIdentifierForItemProviderCompletionHandlerin interfaceNSItemProviderWriting
-
objectWithItemProviderDataTypeIdentifierError
public static java.lang.Object objectWithItemProviderDataTypeIdentifierError(NSData data, java.lang.String typeIdentifier, org.moe.natj.general.ptr.Ptr<NSError> outError)
-
_objectWithItemProviderDataTypeIdentifierError
public java.lang.Object _objectWithItemProviderDataTypeIdentifierError(NSData data, java.lang.String typeIdentifier, org.moe.natj.general.ptr.Ptr<NSError> outError)
- Specified by:
_objectWithItemProviderDataTypeIdentifierErrorin interfaceNSItemProviderReading
-
readableTypeIdentifiersForItemProvider
public static NSArray<java.lang.String> readableTypeIdentifiersForItemProvider()
-
_readableTypeIdentifiersForItemProvider
public NSArray<java.lang.String> _readableTypeIdentifiersForItemProvider()
- Specified by:
_readableTypeIdentifiersForItemProviderin interfaceNSItemProviderReading
-
writableTypeIdentifiersForItemProvider_static
public static NSArray<java.lang.String> writableTypeIdentifiersForItemProvider_static()
-
_writableTypeIdentifiersForItemProvider_static
public NSArray<java.lang.String> _writableTypeIdentifiersForItemProvider_static()
- Specified by:
_writableTypeIdentifiersForItemProvider_staticin interfaceNSItemProviderWriting
-
writableTypeIdentifiersForItemProvider
public NSArray<java.lang.String> writableTypeIdentifiersForItemProvider()
-
colorWithDynamicProvider
public static UIColor colorWithDynamicProvider(UIColor.Block_colorWithDynamicProvider dynamicProvider)
Create a dynamic color with a provider. When methods are called on this color that need color component values, the provider is called with UITraitCollection.currentTraitCollection. The provider should use that trait collection to decide a more fundamental UIColor to return. As much as possible, use the given trait collection to make that decision, not other state.
-
initWithDynamicProvider
public UIColor initWithDynamicProvider(UIColor.Block_initWithDynamicProvider dynamicProvider)
-
labelColor
public static UIColor labelColor()
Foreground colors for static text and related elements.
-
linkColor
public static UIColor linkColor()
Foreground color for standard system links.
-
opaqueSeparatorColor
public static UIColor opaqueSeparatorColor()
-
placeholderTextColor
public static UIColor placeholderTextColor()
Foreground color for placeholder text in controls or text fields or text views.
-
quaternaryLabelColor
public static UIColor quaternaryLabelColor()
-
quaternarySystemFillColor
public static UIColor quaternarySystemFillColor()
quaternarySystemFillColor is appropriate for filling large areas containing complex content. Example: Expanded table cells.
-
resolvedColorWithTraitCollection
public UIColor resolvedColorWithTraitCollection(UITraitCollection traitCollection)
Resolve any color to its most fundamental form (a non-dynamic color) for a specific trait collection.
-
secondaryLabelColor
public static UIColor secondaryLabelColor()
-
secondarySystemBackgroundColor
public static UIColor secondarySystemBackgroundColor()
-
secondarySystemFillColor
public static UIColor secondarySystemFillColor()
secondarySystemFillColor is appropriate for filling medium-size shapes. Example: The background of a switch.
-
secondarySystemGroupedBackgroundColor
public static UIColor secondarySystemGroupedBackgroundColor()
-
separatorColor
public static UIColor separatorColor()
Foreground colors for separators (thin border or divider lines). `separatorColor` may be partially transparent, so it can go on top of any content. `opaqueSeparatorColor` is intended to look similar, but is guaranteed to be opaque, so it will completely cover anything behind it. Depending on the situation, you may need one or the other.
-
systemBackgroundColor
public static UIColor systemBackgroundColor()
We provide two design systems (also known as "stacks") for structuring an iOS app's backgrounds. Each stack has three "levels" of background colors. The first color is intended to be the main background, farthest back. Secondary and tertiary colors are layered on top of the main background, when appropriate. Inside of a discrete piece of UI, choose a stack, then use colors from that stack. We do not recommend mixing and matching background colors between stacks. The foreground colors above are designed to work in both stacks. 1. systemBackground Use this stack for views with standard table views, and designs which have a white primary background in light mode.
-
systemBlueColor
public static UIColor systemBlueColor()
-
systemFillColor
public static UIColor systemFillColor()
Fill colors for UI elements. These are meant to be used over the background colors, since their alpha component is less than 1. systemFillColor is appropriate for filling thin and small shapes. Example: The track of a slider.
-
systemGray2Color
public static UIColor systemGray2Color()
The numbered variations, systemGray2 through systemGray6, are grays which increasingly trend away from systemGray and in the direction of systemBackgroundColor. In UIUserInterfaceStyleLight: systemGray1 is slightly lighter than systemGray. systemGray2 is lighter than that, and so on. In UIUserInterfaceStyleDark: systemGray1 is slightly darker than systemGray. systemGray2 is darker than that, and so on.
-
systemGray3Color
public static UIColor systemGray3Color()
-
systemGray4Color
public static UIColor systemGray4Color()
-
systemGray5Color
public static UIColor systemGray5Color()
-
systemGray6Color
public static UIColor systemGray6Color()
-
systemGrayColor
public static UIColor systemGrayColor()
Shades of gray. systemGray is the base gray color.
-
systemGreenColor
public static UIColor systemGreenColor()
-
systemGroupedBackgroundColor
public static UIColor systemGroupedBackgroundColor()
2. systemGroupedBackground Use this stack for views with grouped content, such as grouped tables and platter-based designs. These are like grouped table views, but you may use these colors in places where a table view wouldn't make sense.
-
systemIndigoColor
public static UIColor systemIndigoColor()
-
systemOrangeColor
public static UIColor systemOrangeColor()
-
systemPinkColor
public static UIColor systemPinkColor()
-
systemPurpleColor
public static UIColor systemPurpleColor()
-
systemRedColor
public static UIColor systemRedColor()
Some colors that are used by system elements and applications. These return named colors whose values may vary between different contexts and releases. Do not make assumptions about the color spaces or actual colors used.
-
systemTealColor
public static UIColor systemTealColor()
-
systemYellowColor
public static UIColor systemYellowColor()
-
tertiaryLabelColor
public static UIColor tertiaryLabelColor()
-
tertiarySystemBackgroundColor
public static UIColor tertiarySystemBackgroundColor()
-
tertiarySystemFillColor
public static UIColor tertiarySystemFillColor()
tertiarySystemFillColor is appropriate for filling large shapes. Examples: Input fields, search bars, buttons.
-
tertiarySystemGroupedBackgroundColor
public static UIColor tertiarySystemGroupedBackgroundColor()
-
accessibilityName
public java.lang.String accessibilityName()
Provides an accessible name for the UIColor for use in accessibility attribute APIs, such as when using accessibilityLabel.
-
-