public class UIBackgroundConfiguration extends NSObject implements NSCopying, NSSecureCoding
| Modifier and Type | Class and Description |
|---|---|
static interface |
UIBackgroundConfiguration.Block_backgroundColorTransformer_ret |
static interface |
UIBackgroundConfiguration.Block_setBackgroundColorTransformer |
static interface |
UIBackgroundConfiguration.Block_setStrokeColorTransformer |
static interface |
UIBackgroundConfiguration.Block_strokeColorTransformer_ret |
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
UIBackgroundConfiguration(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
_supportsSecureCoding()
This property must return YES on all classes that allow secure coding.
|
static boolean |
accessInstanceVariablesDirectly() |
static UIBackgroundConfiguration |
alloc() |
static UIBackgroundConfiguration |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
UIColor |
backgroundColor()
Configures the color of the background.
|
UIBackgroundConfiguration.Block_backgroundColorTransformer_ret |
backgroundColorTransformer()
Optional color transformer that is used to resolve the background color.
|
NSDirectionalEdgeInsets |
backgroundInsets()
Insets (or outsets, if negative) for the background and stroke, relative to the edges of the containing view.
|
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument) |
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
static UIBackgroundConfiguration |
clearConfiguration()
Returns a clear configuration, with no default styling.
|
java.lang.Object |
copyWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
double |
cornerRadius()
The preferred corner radius (using a continuous corner curve) for the background and stroke.
|
UIView |
customView()
A custom view for the background.
|
static java.lang.String |
debugDescription_static() |
static java.lang.String |
description_static() |
long |
edgesAddingLayoutMarginsToBackgroundInsets()
The edges on which the containing view's layout margins are added to the `backgroundInsets`, effectively making the `backgroundInsets` values relative
to the containing view's layout margins for these edges.
|
void |
encodeWithCoder(NSCoder coder) |
static long |
hash_static() |
UIImage |
image()
The image to use.
|
long |
imageContentMode()
The content mode to use when rendering the image.
|
UIBackgroundConfiguration |
init() |
UIBackgroundConfiguration |
initWithCoder(NSCoder coder)
NS_DESIGNATED_INITIALIZER
|
static NSObject.Function_instanceMethodForSelector_ret |
instanceMethodForSelector(org.moe.natj.objc.SEL aSelector) |
static NSMethodSignature |
instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
instancesRespondToSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
static UIBackgroundConfiguration |
listAccompaniedSidebarCellConfiguration()
Returns the default configuration for an accompanied sidebar list cell.
|
static UIBackgroundConfiguration |
listGroupedCellConfiguration()
Returns the default configuration for a grouped list cell.
|
static UIBackgroundConfiguration |
listGroupedHeaderFooterConfiguration()
Returns the default configuration for a grouped list header or footer.
|
static UIBackgroundConfiguration |
listPlainCellConfiguration()
Returns the default configuration for a plain list cell.
|
static UIBackgroundConfiguration |
listPlainHeaderFooterConfiguration()
Returns the default configuration for a plain list header or footer.
|
static UIBackgroundConfiguration |
listSidebarCellConfiguration()
Returns the default configuration for a sidebar list cell.
|
static UIBackgroundConfiguration |
listSidebarHeaderConfiguration()
Returns the default configuration for a sidebar list header.
|
static UIBackgroundConfiguration |
new_objc() |
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
UIColor |
resolvedBackgroundColorForTintColor(UIColor tintColor)
Returns the resolved background color for the specified tint color, based on the `backgroundColor` and `backgroundColorTransformer`.
|
UIColor |
resolvedStrokeColorForTintColor(UIColor tintColor)
Returns the resolved stroke color for the specified tint color, based on the `strokeColor` and `strokeColorTransformer`.
|
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
void |
setBackgroundColor(UIColor value)
Configures the color of the background.
|
void |
setBackgroundColorTransformer(UIBackgroundConfiguration.Block_setBackgroundColorTransformer value)
Optional color transformer that is used to resolve the background color.
|
void |
setBackgroundInsets(NSDirectionalEdgeInsets value)
Insets (or outsets, if negative) for the background and stroke, relative to the edges of the containing view.
|
void |
setCornerRadius(double value)
The preferred corner radius (using a continuous corner curve) for the background and stroke.
|
void |
setCustomView(UIView value)
A custom view for the background.
|
void |
setEdgesAddingLayoutMarginsToBackgroundInsets(long value)
The edges on which the containing view's layout margins are added to the `backgroundInsets`, effectively making the `backgroundInsets` values relative
to the containing view's layout margins for these edges.
|
void |
setImage(UIImage value)
The image to use.
|
void |
setImageContentMode(long value)
The content mode to use when rendering the image.
|
void |
setStrokeColor(UIColor value)
Configures the color of the stroke.
|
void |
setStrokeColorTransformer(UIBackgroundConfiguration.Block_setStrokeColorTransformer value)
Optional color transformer that is used to resolve the stroke color.
|
void |
setStrokeOutset(double value)
Outset (or inset, if negative) for the stroke, relative to the background (including any backgroundInsets).
|
void |
setStrokeWidth(double value)
The width of the stroke.
|
static void |
setVersion_static(long aVersion) |
void |
setVisualEffect(UIVisualEffect value)
The visual effect to apply to the background.
|
UIColor |
strokeColor()
Configures the color of the stroke.
|
UIBackgroundConfiguration.Block_strokeColorTransformer_ret |
strokeColorTransformer()
Optional color transformer that is used to resolve the stroke color.
|
double |
strokeOutset()
Outset (or inset, if negative) for the stroke, relative to the background (including any backgroundInsets).
|
double |
strokeWidth()
The width of the stroke.
|
static org.moe.natj.objc.Class |
superclass_static() |
static boolean |
supportsSecureCoding() |
UIBackgroundConfiguration |
updatedConfigurationForState(UIConfigurationState state)
Returns a copy of the configuration updated for the specified state, by applying the configuration's default values for that state to any properties that have not been customized.
|
static long |
version_static() |
UIVisualEffect |
visualEffect()
The visual effect to apply to the background.
|
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, willChangeValuesAtIndexesForKeyprotected UIBackgroundConfiguration(org.moe.natj.general.Pointer peer)
public static boolean accessInstanceVariablesDirectly()
public static UIBackgroundConfiguration alloc()
public static UIBackgroundConfiguration allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public UIColor backgroundColor()
public UIBackgroundConfiguration.Block_backgroundColorTransformer_ret backgroundColorTransformer()
public NSDirectionalEdgeInsets backgroundInsets()
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument)
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
public static UIBackgroundConfiguration clearConfiguration()
public java.lang.Object copyWithZone(org.moe.natj.general.ptr.VoidPtr zone)
copyWithZone in interface NSCopyingpublic double cornerRadius()
public UIView customView()
public static java.lang.String debugDescription_static()
public static java.lang.String description_static()
public long edgesAddingLayoutMarginsToBackgroundInsets()
public void encodeWithCoder(NSCoder coder)
encodeWithCoder in interface NSCodingpublic static long hash_static()
public UIBackgroundConfiguration init()
public UIBackgroundConfiguration initWithCoder(NSCoder coder)
NSCodinginitWithCoder in interface NSCodingpublic static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static UIBackgroundConfiguration listAccompaniedSidebarCellConfiguration()
public static UIBackgroundConfiguration listGroupedCellConfiguration()
public static UIBackgroundConfiguration listGroupedHeaderFooterConfiguration()
public static UIBackgroundConfiguration listPlainCellConfiguration()
public static UIBackgroundConfiguration listPlainHeaderFooterConfiguration()
public static UIBackgroundConfiguration listSidebarCellConfiguration()
public static UIBackgroundConfiguration listSidebarHeaderConfiguration()
public static UIBackgroundConfiguration new_objc()
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public UIColor resolvedBackgroundColorForTintColor(UIColor tintColor)
public UIColor resolvedStrokeColorForTintColor(UIColor tintColor)
public void setBackgroundColor(UIColor value)
public void setBackgroundColorTransformer(UIBackgroundConfiguration.Block_setBackgroundColorTransformer value)
public void setBackgroundInsets(NSDirectionalEdgeInsets value)
public void setCornerRadius(double value)
public void setCustomView(UIView value)
public void setEdgesAddingLayoutMarginsToBackgroundInsets(long value)
public void setStrokeColor(UIColor value)
public void setStrokeColorTransformer(UIBackgroundConfiguration.Block_setStrokeColorTransformer value)
public void setStrokeOutset(double value)
public void setStrokeWidth(double value)
public static void setVersion_static(long aVersion)
public void setVisualEffect(UIVisualEffect value)
public UIColor strokeColor()
public UIBackgroundConfiguration.Block_strokeColorTransformer_ret strokeColorTransformer()
public double strokeOutset()
public double strokeWidth()
public static org.moe.natj.objc.Class superclass_static()
public static boolean supportsSecureCoding()
public boolean _supportsSecureCoding()
NSSecureCoding_supportsSecureCoding in interface NSSecureCodingpublic UIBackgroundConfiguration updatedConfigurationForState(UIConfigurationState state)
public static long version_static()
public UIVisualEffect visualEffect()
public UIImage image()
public long imageContentMode()
public void setImage(UIImage value)
public void setImageContentMode(long value)