NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
NSDiffableDataSourceSectionSnapshot(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
accessInstanceVariablesDirectly() |
static NSDiffableDataSourceSectionSnapshot<?> |
alloc() |
static NSDiffableDataSourceSectionSnapshot<?> |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
void |
appendItems(NSArray<_ItemIdentifierType> items)
append items to Root
|
void |
appendItemsIntoParentItem(NSArray<_ItemIdentifierType> items,
_ItemIdentifierType parentItem)
append items into parent (creating a new Parent+Child relationship if not present; appends to existing children if present)
|
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() |
void |
collapseItems(NSArray<_ItemIdentifierType> items)
will log if item is not found
|
boolean |
containsItem(_ItemIdentifierType item) |
java.lang.Object |
copyWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
static java.lang.String |
debugDescription_static() |
void |
deleteAllItems() |
void |
deleteItems(NSArray<_ItemIdentifierType> items)
will also delete children
|
static java.lang.String |
description_static() |
NSArray<_ItemIdentifierType> |
expandedItems() |
void |
expandItems(NSArray<_ItemIdentifierType> items)
will log if item is not found
|
static long |
hash_static() |
long |
indexOfItem(_ItemIdentifierType item) |
NSDiffableDataSourceSectionSnapshot<?> |
init()
creates an empty snapshot
|
void |
insertItemsAfterItem(NSArray<_ItemIdentifierType> items,
_ItemIdentifierType afterIdentifier)
Insert After: respect any destination item's children and inserts the new items after them
at the same level as the destination item.
|
void |
insertItemsBeforeItem(NSArray<_ItemIdentifierType> items,
_ItemIdentifierType beforeIdentifier)
Insert Before will always match the level of the destination item.
|
_ItemIdentifierType |
insertSnapshotAfterItem(NSDiffableDataSourceSectionSnapshot<_ItemIdentifierType> snapshot,
_ItemIdentifierType item) |
void |
insertSnapshotBeforeItem(NSDiffableDataSourceSectionSnapshot<_ItemIdentifierType> snapshot,
_ItemIdentifierType item)
insert a subtree -- represented by a snapshot -- before/after a destination item
|
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) |
boolean |
isExpanded(_ItemIdentifierType item)
these methods are all O(1)
|
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
boolean |
isVisible(_ItemIdentifierType item) |
NSArray<_ItemIdentifierType> |
items() |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
long |
levelOfItem(_ItemIdentifierType item)
NSNotFound if not present
|
static NSDiffableDataSourceSectionSnapshot<?> |
new_objc() |
_ItemIdentifierType |
parentOfChildItem(_ItemIdentifierType childItem)
nil == root node
|
void |
replaceChildrenOfParentItemWithSnapshot(_ItemIdentifierType parentItem,
NSDiffableDataSourceSectionSnapshot<_ItemIdentifierType> snapshot) |
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
NSArray<_ItemIdentifierType> |
rootItems() |
static void |
setVersion_static(long aVersion) |
NSDiffableDataSourceSectionSnapshot<_ItemIdentifierType> |
snapshotOfParentItem(_ItemIdentifierType parentItem)
snapshot will not include parentItem
|
NSDiffableDataSourceSectionSnapshot<_ItemIdentifierType> |
snapshotOfParentItemIncludingParentItem(_ItemIdentifierType parentItem,
boolean includingParentItem) |
static org.moe.natj.objc.Class |
superclass_static() |
static long |
version_static() |
NSArray<_ItemIdentifierType> |
visibleItems() |
java.lang.String |
visualDescription()
debugging; displays hierarchy
legend:
* == visible
+ == expanded
- == collapsed
|
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 NSDiffableDataSourceSectionSnapshot(org.moe.natj.general.Pointer peer)
public static boolean accessInstanceVariablesDirectly()
public static NSDiffableDataSourceSectionSnapshot<?> alloc()
public static NSDiffableDataSourceSectionSnapshot<?> allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public void appendItems(NSArray<_ItemIdentifierType> items)
public void appendItemsIntoParentItem(NSArray<_ItemIdentifierType> items, _ItemIdentifierType parentItem)
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 void collapseItems(NSArray<_ItemIdentifierType> items)
public boolean containsItem(_ItemIdentifierType item)
public java.lang.Object copyWithZone(org.moe.natj.general.ptr.VoidPtr zone)
copyWithZone in interface NSCopyingpublic static java.lang.String debugDescription_static()
public void deleteAllItems()
public void deleteItems(NSArray<_ItemIdentifierType> items)
public static java.lang.String description_static()
public void expandItems(NSArray<_ItemIdentifierType> items)
public NSArray<_ItemIdentifierType> expandedItems()
public static long hash_static()
public long indexOfItem(_ItemIdentifierType item)
public NSDiffableDataSourceSectionSnapshot<?> init()
public void insertItemsAfterItem(NSArray<_ItemIdentifierType> items, _ItemIdentifierType afterIdentifier)
+---------+ | 0 | +---------+ +-+-------+-+ | 0 | | 1 | +-+-------+-+ +---------+ | 1 | | 2 | +---------+ +-+-------+-+ | 2 | | INS | +-+-------+-+ +---------+ | 3 | | 3 | +---------+ +---------+
+--------------------------------+ | insertAfter(INS, after:0) | +--------------------------------+
+---------+ | 0 | +---------+ +-+-------+-+ | 0 | | 1 | +-+-------+-+ +---------+ | 1 | | 2 | +---------+ +-+-------+-+ | 2 | | 3 | +-+-------+-+ +-+-------+-+ | 3 | | INS | +---+-----+---+ +-+-------+-+ | 4 | | 4 | +---------+ +---------+
+--------------------------------+ | insertAfter(INS, after:2) | +--------------------------------+
public void insertItemsBeforeItem(NSArray<_ItemIdentifierType> items, _ItemIdentifierType beforeIdentifier)
Examples:
+---------+ | 0 | +---------+ +-+-------+-+ | 0 | | INS | +-+-------+-+ +---------+ | 1 | | 1 | +---------+ +---------+ | 2 | | 2 | +-+-------+-+ +-+-------+-+ | 3 | | 3 | +---------+ +---------+
+--------------------------------+ | insertBefore(1) | +--------------------------------+
+---------+ | INS | +---------+ +---------+ | 0 | | 0 | +-+-------+-+ +-+-------+-+ | 1 | | 1 | +---------+ +---------+ | 2 | | 2 | +-+-------+-+ +-+-------+-+ | 3 | | 3 | +---------+ +---------+
+--------------------------------+ | insertBefore(0) | +--------------------------------+
public _ItemIdentifierType insertSnapshotAfterItem(NSDiffableDataSourceSectionSnapshot<_ItemIdentifierType> snapshot, _ItemIdentifierType item)
public void insertSnapshotBeforeItem(NSDiffableDataSourceSectionSnapshot<_ItemIdentifierType> snapshot, _ItemIdentifierType item)
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 boolean isExpanded(_ItemIdentifierType item)
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public boolean isVisible(_ItemIdentifierType item)
public NSArray<_ItemIdentifierType> items()
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public long levelOfItem(_ItemIdentifierType item)
public static NSDiffableDataSourceSectionSnapshot<?> new_objc()
public _ItemIdentifierType parentOfChildItem(_ItemIdentifierType childItem)
public void replaceChildrenOfParentItemWithSnapshot(_ItemIdentifierType parentItem, NSDiffableDataSourceSectionSnapshot<_ItemIdentifierType> snapshot)
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public NSArray<_ItemIdentifierType> rootItems()
public static void setVersion_static(long aVersion)
public NSDiffableDataSourceSectionSnapshot<_ItemIdentifierType> snapshotOfParentItem(_ItemIdentifierType parentItem)
public NSDiffableDataSourceSectionSnapshot<_ItemIdentifierType> snapshotOfParentItemIncludingParentItem(_ItemIdentifierType parentItem, boolean includingParentItem)
public static org.moe.natj.objc.Class superclass_static()
public static long version_static()
public NSArray<_ItemIdentifierType> visibleItems()
public java.lang.String visualDescription()