Package apple.uikit
Class UIListContentConfiguration
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.uikit.UIListContentConfiguration
-
- All Implemented Interfaces:
NSCoding,NSCopying,NSSecureCoding,NSObject,UIContentConfiguration
public class UIListContentConfiguration extends NSObject implements UIContentConfiguration, NSSecureCoding
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class apple.NSObject
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedUIListContentConfiguration(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean_supportsSecureCoding()This property must return YES on all classes that allow secure coding.static booleanaccessInstanceVariablesDirectly()static java.lang.ObjectaccompaniedSidebarCellConfiguration()Returns the default configuration for an accompanied sidebar list cell.static java.lang.ObjectaccompaniedSidebarSubtitleCellConfiguration()Returns the default configuration for an accompanied sidebar list cell with subtitle text.static UIListContentConfigurationalloc()static java.lang.ObjectallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)NSAttributedStringattributedText()An attributed variant of the primary text, which supersedes the `text` and some properties of the `textConfiguration` if set.static booleanautomaticallyNotifiesObserversForKey(java.lang.String key)longaxesPreservingSuperviewLayoutMargins()Whether the content view will preserve inherited layout margins from its superview on the horizontal and/or vertical axes.static voidcancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)static voidcancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget, org.moe.natj.objc.SEL aSelector, java.lang.Object anArgument)static java.lang.ObjectcellConfiguration()Returns the default configuration for a list cell.static NSArray<java.lang.String>classFallbacksForKeyedArchiver()static org.moe.natj.objc.ClassclassForKeyedUnarchiver()java.lang.ObjectcopyWithZone(org.moe.natj.general.ptr.VoidPtr zone)static java.lang.StringdebugDescription_static()static java.lang.Stringdescription_static()NSDirectionalEdgeInsetsdirectionalLayoutMargins()The margins for the content to the edges of the content view.voidencodeWithCoder(NSCoder coder)static java.lang.ObjectgroupedFooterConfiguration()Returns the default configuration for a grouped list footer.static java.lang.ObjectgroupedHeaderConfiguration()Returns the default configuration for a grouped list header.static longhash_static()UIImageimage()The image to display.UIListContentImagePropertiesimageProperties()Additional properties to configure the image.doubleimageToTextPadding()Padding between the image and text.UIListContentConfigurationinit()UIListContentConfigurationinitWithCoder(NSCoder coder)NS_DESIGNATED_INITIALIZERstatic 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)static NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(java.lang.String key)UIViewmakeContentView()Initializes and returns a new instance of the content view using this configuration.static java.lang.Objectnew_objc()static java.lang.ObjectplainFooterConfiguration()Returns the default configuration for a plain list footer.static java.lang.ObjectplainHeaderConfiguration()Returns the default configuration for a plain list header.booleanprefersSideBySideTextAndSecondaryText()When YES, the text and secondary text will be positioned side-by-side if there is sufficient space.static booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)NSAttributedStringsecondaryAttributedText()An attributed variant of the secondary text, which supersedes the `secondaryText` and some properties of the `secondaryTextConfiguration` if set.java.lang.StringsecondaryText()The secondary text.UIListContentTextPropertiessecondaryTextProperties()Additional properties to configure the secondary text.voidsetAttributedText(NSAttributedString value)An attributed variant of the primary text, which supersedes the `text` and some properties of the `textConfiguration` if set.voidsetAxesPreservingSuperviewLayoutMargins(long value)Whether the content view will preserve inherited layout margins from its superview on the horizontal and/or vertical axes.voidsetDirectionalLayoutMargins(NSDirectionalEdgeInsets value)The margins for the content to the edges of the content view.voidsetImage(UIImage value)The image to display.voidsetImageToTextPadding(double value)Padding between the image and text.voidsetPrefersSideBySideTextAndSecondaryText(boolean value)When YES, the text and secondary text will be positioned side-by-side if there is sufficient space.voidsetSecondaryAttributedText(NSAttributedString value)An attributed variant of the secondary text, which supersedes the `secondaryText` and some properties of the `secondaryTextConfiguration` if set.voidsetSecondaryText(java.lang.String value)The secondary text.voidsetText(java.lang.String value)The primary text.voidsetTextToSecondaryTextHorizontalPadding(double value)Horizontal (minimum) padding between the text and secondary text.voidsetTextToSecondaryTextVerticalPadding(double value)Vertical padding between the text and secondary text.static voidsetVersion_static(long aVersion)static java.lang.ObjectsidebarCellConfiguration()Returns the default configuration for a sidebar list cell.static java.lang.ObjectsidebarHeaderConfiguration()Returns the default configuration for a sidebar list header.static java.lang.ObjectsidebarSubtitleCellConfiguration()Returns the default configuration for a sidebar list cell with subtitle text.static java.lang.ObjectsubtitleCellConfiguration()Returns the default configuration for a list cell with subtitle text.static org.moe.natj.objc.Classsuperclass_static()static booleansupportsSecureCoding()java.lang.Stringtext()The primary text.UIListContentTextPropertiestextProperties()Additional properties to configure the primary text.doubletextToSecondaryTextHorizontalPadding()Horizontal (minimum) padding between the text and secondary text.doubletextToSecondaryTextVerticalPadding()Vertical padding between the text and secondary text.java.lang.ObjectupdatedConfigurationForState(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 java.lang.ObjectvalueCellConfiguration()Returns the default configuration for a list cell with side-by-side value text.static longversion_static()-
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()
-
accompaniedSidebarCellConfiguration
public static java.lang.Object accompaniedSidebarCellConfiguration()
Returns the default configuration for an accompanied sidebar list cell.
-
accompaniedSidebarSubtitleCellConfiguration
public static java.lang.Object accompaniedSidebarSubtitleCellConfiguration()
Returns the default configuration for an accompanied sidebar list cell with subtitle text.
-
alloc
public static UIListContentConfiguration alloc()
-
allocWithZone
public static java.lang.Object allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
-
attributedText
public NSAttributedString attributedText()
An attributed variant of the primary text, which supersedes the `text` and some properties of the `textConfiguration` if set.
-
automaticallyNotifiesObserversForKey
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
-
axesPreservingSuperviewLayoutMargins
public long axesPreservingSuperviewLayoutMargins()
Whether the content view will preserve inherited layout margins from its superview on the horizontal and/or vertical axes.
-
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)
-
cellConfiguration
public static java.lang.Object cellConfiguration()
Returns the default configuration for a list cell.
-
classFallbacksForKeyedArchiver
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
-
classForKeyedUnarchiver
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
-
copyWithZone
public java.lang.Object copyWithZone(org.moe.natj.general.ptr.VoidPtr zone)
- Specified by:
copyWithZonein interfaceNSCopying
-
debugDescription_static
public static java.lang.String debugDescription_static()
-
description_static
public static java.lang.String description_static()
-
directionalLayoutMargins
public NSDirectionalEdgeInsets directionalLayoutMargins()
The margins for the content to the edges of the content view. (When preserving superview layout margins on one or both axes, these are just minimum margins, as inherited margins may be larger.)
-
encodeWithCoder
public void encodeWithCoder(NSCoder coder)
- Specified by:
encodeWithCoderin interfaceNSCoding
-
groupedFooterConfiguration
public static java.lang.Object groupedFooterConfiguration()
Returns the default configuration for a grouped list footer.
-
groupedHeaderConfiguration
public static java.lang.Object groupedHeaderConfiguration()
Returns the default configuration for a grouped list header.
-
hash_static
public static long hash_static()
-
image
public UIImage image()
The image to display.
-
imageProperties
public UIListContentImageProperties imageProperties()
Additional properties to configure the image.
-
imageToTextPadding
public double imageToTextPadding()
Padding between the image and text. Only applies when there is both an image and text.
-
init
public UIListContentConfiguration init()
-
initWithCoder
public UIListContentConfiguration initWithCoder(NSCoder coder)
Description copied from interface:NSCodingNS_DESIGNATED_INITIALIZER- Specified by:
initWithCoderin interfaceNSCoding
-
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)
-
makeContentView
public UIView makeContentView()
Description copied from interface:UIContentConfigurationInitializes and returns a new instance of the content view using this configuration.- Specified by:
makeContentViewin interfaceUIContentConfiguration
-
new_objc
public static java.lang.Object new_objc()
-
plainFooterConfiguration
public static java.lang.Object plainFooterConfiguration()
Returns the default configuration for a plain list footer.
-
plainHeaderConfiguration
public static java.lang.Object plainHeaderConfiguration()
Returns the default configuration for a plain list header.
-
prefersSideBySideTextAndSecondaryText
public boolean prefersSideBySideTextAndSecondaryText()
When YES, the text and secondary text will be positioned side-by-side if there is sufficient space. Otherwise, the text will be stacked in a vertical layout.
-
resolveClassMethod
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
-
resolveInstanceMethod
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
-
secondaryAttributedText
public NSAttributedString secondaryAttributedText()
An attributed variant of the secondary text, which supersedes the `secondaryText` and some properties of the `secondaryTextConfiguration` if set.
-
secondaryText
public java.lang.String secondaryText()
The secondary text.
-
secondaryTextProperties
public UIListContentTextProperties secondaryTextProperties()
Additional properties to configure the secondary text.
-
setAttributedText
public void setAttributedText(NSAttributedString value)
An attributed variant of the primary text, which supersedes the `text` and some properties of the `textConfiguration` if set.
-
setAxesPreservingSuperviewLayoutMargins
public void setAxesPreservingSuperviewLayoutMargins(long value)
Whether the content view will preserve inherited layout margins from its superview on the horizontal and/or vertical axes.
-
setDirectionalLayoutMargins
public void setDirectionalLayoutMargins(NSDirectionalEdgeInsets value)
The margins for the content to the edges of the content view. (When preserving superview layout margins on one or both axes, these are just minimum margins, as inherited margins may be larger.)
-
setImage
public void setImage(UIImage value)
The image to display.
-
setImageToTextPadding
public void setImageToTextPadding(double value)
Padding between the image and text. Only applies when there is both an image and text.
-
setPrefersSideBySideTextAndSecondaryText
public void setPrefersSideBySideTextAndSecondaryText(boolean value)
When YES, the text and secondary text will be positioned side-by-side if there is sufficient space. Otherwise, the text will be stacked in a vertical layout.
-
setSecondaryAttributedText
public void setSecondaryAttributedText(NSAttributedString value)
An attributed variant of the secondary text, which supersedes the `secondaryText` and some properties of the `secondaryTextConfiguration` if set.
-
setSecondaryText
public void setSecondaryText(java.lang.String value)
The secondary text.
-
setText
public void setText(java.lang.String value)
The primary text.
-
setTextToSecondaryTextHorizontalPadding
public void setTextToSecondaryTextHorizontalPadding(double value)
Horizontal (minimum) padding between the text and secondary text. Only applies when there is both text and secondary text, and they are in a side-by-side layout.
-
setTextToSecondaryTextVerticalPadding
public void setTextToSecondaryTextVerticalPadding(double value)
Vertical padding between the text and secondary text. Only applies when there is both text and secondary text, and they are in a stacked layout.
-
setVersion_static
public static void setVersion_static(long aVersion)
-
sidebarCellConfiguration
public static java.lang.Object sidebarCellConfiguration()
Returns the default configuration for a sidebar list cell.
-
sidebarHeaderConfiguration
public static java.lang.Object sidebarHeaderConfiguration()
Returns the default configuration for a sidebar list header.
-
sidebarSubtitleCellConfiguration
public static java.lang.Object sidebarSubtitleCellConfiguration()
Returns the default configuration for a sidebar list cell with subtitle text.
-
subtitleCellConfiguration
public static java.lang.Object subtitleCellConfiguration()
Returns the default configuration for a list cell with subtitle text.
-
superclass_static
public static org.moe.natj.objc.Class superclass_static()
-
supportsSecureCoding
public static boolean supportsSecureCoding()
-
_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
-
text
public java.lang.String text()
The primary text.
-
textProperties
public UIListContentTextProperties textProperties()
Additional properties to configure the primary text.
-
textToSecondaryTextHorizontalPadding
public double textToSecondaryTextHorizontalPadding()
Horizontal (minimum) padding between the text and secondary text. Only applies when there is both text and secondary text, and they are in a side-by-side layout.
-
textToSecondaryTextVerticalPadding
public double textToSecondaryTextVerticalPadding()
Vertical padding between the text and secondary text. Only applies when there is both text and secondary text, and they are in a stacked layout.
-
updatedConfigurationForState
public java.lang.Object updatedConfigurationForState(UIConfigurationState state)
Description copied from interface:UIContentConfigurationReturns 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.- Specified by:
updatedConfigurationForStatein interfaceUIContentConfiguration
-
valueCellConfiguration
public static java.lang.Object valueCellConfiguration()
Returns the default configuration for a list cell with side-by-side value text.
-
version_static
public static long version_static()
-
-