public class NSCollectionLayoutItem extends NSObject implements NSCopying
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
NSCollectionLayoutItem(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
accessInstanceVariablesDirectly() |
static NSCollectionLayoutItem |
alloc() |
static NSCollectionLayoutItem |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
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() |
NSDirectionalEdgeInsets |
contentInsets()
+---------------------+
+-------------+<----|Specified layout size|
| | +---------------------+
| +-------+ | +--------------------------+
| |~~~~~~~| | |Final size (after |
| |~~~~~~~|<-+-----|contentInsets are applied)|
| +-------+ | +--------------------------+
| |
+-------------+
|
java.lang.Object |
copyWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
static java.lang.String |
debugDescription_static() |
static java.lang.String |
description_static() |
NSCollectionLayoutEdgeSpacing |
edgeSpacing()
+--------+
| Top |
+--------+
|
|
+-------+--------------------------+
| v |
| +------+ |
+--------+ | |~~~~~~| +--------+ |
|Leading |-----+-> |~~~~~~| <------|Trailing| |
+--------+ | |~~~~~~| +--------+ |
| +------+ |
| ^ |
+--------+-------------------------+
|
|
+--------+
| Bottom |
+--------+
|
static long |
hash_static() |
NSCollectionLayoutItem |
init() |
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 NSCollectionLayoutItem |
itemWithLayoutSize(NSCollectionLayoutSize layoutSize) |
static NSCollectionLayoutItem |
itemWithLayoutSizeSupplementaryItems(NSCollectionLayoutSize layoutSize,
NSArray<? extends NSCollectionLayoutSupplementaryItem> supplementaryItems) |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
NSCollectionLayoutSize |
layoutSize() |
static NSCollectionLayoutItem |
new_objc() |
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
void |
setContentInsets(NSDirectionalEdgeInsets value)
+---------------------+
+-------------+<----|Specified layout size|
| | +---------------------+
| +-------+ | +--------------------------+
| |~~~~~~~| | |Final size (after |
| |~~~~~~~|<-+-----|contentInsets are applied)|
| +-------+ | +--------------------------+
| |
+-------------+
|
void |
setEdgeSpacing(NSCollectionLayoutEdgeSpacing value)
+--------+
| Top |
+--------+
|
|
+-------+--------------------------+
| v |
| +------+ |
+--------+ | |~~~~~~| +--------+ |
|Leading |-----+-> |~~~~~~| <------|Trailing| |
+--------+ | |~~~~~~| +--------+ |
| +------+ |
| ^ |
+--------+-------------------------+
|
|
+--------+
| Bottom |
+--------+
|
static void |
setVersion_static(long aVersion) |
static org.moe.natj.objc.Class |
superclass_static() |
NSArray<? extends NSCollectionLayoutSupplementaryItem> |
supplementaryItems() |
static long |
version_static() |
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 NSCollectionLayoutItem(org.moe.natj.general.Pointer peer)
public static boolean accessInstanceVariablesDirectly()
public static NSCollectionLayoutItem alloc()
public static NSCollectionLayoutItem allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
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 NSDirectionalEdgeInsets contentInsets()
Use contentInsets on an item to adjust the final size of the item after layout is computed. useful for grid style layouts to apply even spacing around each the edges of each item.
Note: contentInsets are ignored for any axis with an .estimated dimension
public java.lang.Object copyWithZone(org.moe.natj.general.ptr.VoidPtr zone)
copyWithZone in interface NSCopyingpublic static java.lang.String debugDescription_static()
public static java.lang.String description_static()
public NSCollectionLayoutEdgeSpacing edgeSpacing()
Specifies additional space required surrounding and item when laying out. Flexible spacing can be used to apportion remaining space after items are laid out to evenly align items among available layout space.
public static long hash_static()
public NSCollectionLayoutItem init()
public 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 NSCollectionLayoutItem itemWithLayoutSize(NSCollectionLayoutSize layoutSize)
public static NSCollectionLayoutItem itemWithLayoutSizeSupplementaryItems(NSCollectionLayoutSize layoutSize, NSArray<? extends NSCollectionLayoutSupplementaryItem> supplementaryItems)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public NSCollectionLayoutSize layoutSize()
public static NSCollectionLayoutItem new_objc()
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public void setContentInsets(NSDirectionalEdgeInsets value)
Use contentInsets on an item to adjust the final size of the item after layout is computed. useful for grid style layouts to apply even spacing around each the edges of each item.
Note: contentInsets are ignored for any axis with an .estimated dimension
public void setEdgeSpacing(NSCollectionLayoutEdgeSpacing value)
Specifies additional space required surrounding and item when laying out. Flexible spacing can be used to apportion remaining space after items are laid out to evenly align items among available layout space.
public static void setVersion_static(long aVersion)
public static org.moe.natj.objc.Class superclass_static()
public NSArray<? extends NSCollectionLayoutSupplementaryItem> supplementaryItems()
public static long version_static()