NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
NSItemProvider(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
accessInstanceVariablesDirectly() |
static NSItemProvider |
alloc() |
static NSItemProvider |
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) |
boolean |
canLoadObjectOfClass(NSItemProviderReading aClass) |
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
java.lang.Object |
copyWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
static java.lang.String |
debugDescription_static() |
static java.lang.String |
description_static() |
static long |
hash_static() |
boolean |
hasItemConformingToTypeIdentifier(java.lang.String typeIdentifier)
Returns YES if the item provider has at least one item that conforms to the supplied type identifier.
|
boolean |
hasRepresentationConformingToTypeIdentifierFileOptions(java.lang.String typeIdentifier,
long fileOptions) |
NSItemProvider |
init() |
NSItemProvider |
initWithContentsOfURL(NSURL fileURL)
Initialize an NSItemProvider with load handlers for the given file URL, and the file content.
|
NSItemProvider |
initWithItemTypeIdentifier(NSSecureCoding item,
java.lang.String typeIdentifier)
Initialize an NSItemProvider with an object assigned to a single UTI.
|
NSItemProvider |
initWithObject(NSItemProviderWriting object)
Instantiate an NSItemProvider by querying an object for its eligible type identifiers via the NSItemProviderWriting protocol.
|
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) |
NSProgress |
loadDataRepresentationForTypeIdentifierCompletionHandler(java.lang.String typeIdentifier,
NSItemProvider.Block_loadDataRepresentationForTypeIdentifierCompletionHandler completionHandler)
Copies the provided data into an NSData object.
|
NSProgress |
loadFileRepresentationForTypeIdentifierCompletionHandler(java.lang.String typeIdentifier,
NSItemProvider.Block_loadFileRepresentationForTypeIdentifierCompletionHandler completionHandler)
Writes a copy of the data to a temporary file.
|
NSProgress |
loadInPlaceFileRepresentationForTypeIdentifierCompletionHandler(java.lang.String typeIdentifier,
NSItemProvider.Block_loadInPlaceFileRepresentationForTypeIdentifierCompletionHandler completionHandler)
Open the original file in place, if possible.
|
void |
loadItemForTypeIdentifierOptionsCompletionHandler(java.lang.String typeIdentifier,
NSDictionary<?,?> options,
NSItemProvider.Block_loadItemForTypeIdentifierOptionsCompletionHandler completionHandler)
Loads the best matching item for a type identifier.
|
NSProgress |
loadObjectOfClassCompletionHandler(NSItemProviderReading aClass,
NSItemProvider.Block_loadObjectOfClassCompletionHandler completionHandler)
Instantiate an object using the NSItemProviderReading protocol.
|
void |
loadPreviewImageWithOptionsCompletionHandler(NSDictionary<?,?> options,
NSItemProvider.Block_loadPreviewImageWithOptionsCompletionHandler completionHandler)
Loads the preview image for this item by either calling the supplied preview block or falling back to a QuickLook-based handler.
|
static NSItemProvider |
new_objc() |
CGSize |
preferredPresentationSize()
Estimated presentation size, in points.
|
long |
preferredPresentationStyle() |
NSItemProvider.Block_previewImageHandler_ret |
previewImageHandler()
Sets a custom preview image handler block for this item provider.
|
void |
registerDataRepresentationForTypeIdentifierVisibilityLoadHandler(java.lang.String typeIdentifier,
long visibility,
NSItemProvider.Block_registerDataRepresentationForTypeIdentifierVisibilityLoadHandler loadHandler)
Registers a data-backed representation.
|
NSArray<java.lang.String> |
registeredTypeIdentifiers()
Returns the list of registered type identifiers, in the order they were registered.
|
NSArray<java.lang.String> |
registeredTypeIdentifiersWithFileOptions(long fileOptions) |
void |
registerFileRepresentationForTypeIdentifierFileOptionsVisibilityLoadHandler(java.lang.String typeIdentifier,
long fileOptions,
long visibility,
NSItemProvider.Block_registerFileRepresentationForTypeIdentifierFileOptionsVisibilityLoadHandler loadHandler)
Registers a file-backed representation.
|
void |
registerItemForTypeIdentifierLoadHandler(java.lang.String typeIdentifier,
NSItemProvider.Block_registerItemForTypeIdentifierLoadHandler loadHandler)
Registers a load handler that returns an object, assigned to a single UTI.
|
void |
registerObjectOfClassVisibilityLoadHandler(NSItemProviderWriting aClass,
long visibility,
NSItemProvider.Block_registerObjectOfClassVisibilityLoadHandler loadHandler)
Add representations from a class, but defer loading the object until needed.
|
void |
registerObjectVisibility(NSItemProviderWriting object,
long visibility)
Add representations from an object using the NSItemProviderWriting protocol.
|
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
void |
setPreferredPresentationSize(CGSize value)
Estimated presentation size, in points.
|
void |
setPreferredPresentationStyle(long value) |
void |
setPreviewImageHandler(NSItemProvider.Block_setPreviewImageHandler value)
Sets a custom preview image handler block for this item provider.
|
void |
setSuggestedName(java.lang.String value) |
void |
setTeamData(NSData value) |
static void |
setVersion_static(long aVersion) |
java.lang.String |
suggestedName() |
static org.moe.natj.objc.Class |
superclass_static() |
NSData |
teamData() |
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, willChangeValuesAtIndexesForKeypublic static boolean accessInstanceVariablesDirectly()
public static NSItemProvider alloc()
public static NSItemProvider 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 static java.lang.String debugDescription_static()
public static java.lang.String description_static()
public static long hash_static()
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 NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static NSItemProvider new_objc()
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public static void setVersion_static(long aVersion)
public static org.moe.natj.objc.Class superclass_static()
public static long version_static()
public java.lang.Object copyWithZone(org.moe.natj.general.ptr.VoidPtr zone)
copyWithZone in interface NSCopyingpublic boolean hasItemConformingToTypeIdentifier(java.lang.String typeIdentifier)
public NSItemProvider init()
public NSItemProvider initWithContentsOfURL(NSURL fileURL)
public NSItemProvider initWithItemTypeIdentifier(NSSecureCoding item, java.lang.String typeIdentifier)
public void loadItemForTypeIdentifierOptionsCompletionHandler(java.lang.String typeIdentifier,
NSDictionary<?,?> options,
NSItemProvider.Block_loadItemForTypeIdentifierOptionsCompletionHandler completionHandler)
public void loadPreviewImageWithOptionsCompletionHandler(NSDictionary<?,?> options, NSItemProvider.Block_loadPreviewImageWithOptionsCompletionHandler completionHandler)
public NSArray<java.lang.String> registeredTypeIdentifiers()
public boolean canLoadObjectOfClass(NSItemProviderReading aClass)
public boolean hasRepresentationConformingToTypeIdentifierFileOptions(java.lang.String typeIdentifier,
long fileOptions)
public NSItemProvider initWithObject(NSItemProviderWriting object)
public NSProgress loadDataRepresentationForTypeIdentifierCompletionHandler(java.lang.String typeIdentifier, NSItemProvider.Block_loadDataRepresentationForTypeIdentifierCompletionHandler completionHandler)
public NSProgress loadFileRepresentationForTypeIdentifierCompletionHandler(java.lang.String typeIdentifier, NSItemProvider.Block_loadFileRepresentationForTypeIdentifierCompletionHandler completionHandler)
public NSProgress loadInPlaceFileRepresentationForTypeIdentifierCompletionHandler(java.lang.String typeIdentifier, NSItemProvider.Block_loadInPlaceFileRepresentationForTypeIdentifierCompletionHandler completionHandler)
public NSProgress loadObjectOfClassCompletionHandler(NSItemProviderReading aClass, NSItemProvider.Block_loadObjectOfClassCompletionHandler completionHandler)
public CGSize preferredPresentationSize()
public long preferredPresentationStyle()
public void registerObjectVisibility(NSItemProviderWriting object, long visibility)
public NSArray<java.lang.String> registeredTypeIdentifiersWithFileOptions(long fileOptions)
public void setPreferredPresentationSize(CGSize value)
public void setPreferredPresentationStyle(long value)
public void setSuggestedName(java.lang.String value)
public void setTeamData(NSData value)
public java.lang.String suggestedName()
public NSData teamData()
public NSItemProvider.Block_previewImageHandler_ret previewImageHandler()
public void registerDataRepresentationForTypeIdentifierVisibilityLoadHandler(java.lang.String typeIdentifier,
long visibility,
NSItemProvider.Block_registerDataRepresentationForTypeIdentifierVisibilityLoadHandler loadHandler)
public void registerFileRepresentationForTypeIdentifierFileOptionsVisibilityLoadHandler(java.lang.String typeIdentifier,
long fileOptions,
long visibility,
NSItemProvider.Block_registerFileRepresentationForTypeIdentifierFileOptionsVisibilityLoadHandler loadHandler)
public void registerItemForTypeIdentifierLoadHandler(java.lang.String typeIdentifier,
NSItemProvider.Block_registerItemForTypeIdentifierLoadHandler loadHandler)
public void registerObjectOfClassVisibilityLoadHandler(NSItemProviderWriting aClass, long visibility, NSItemProvider.Block_registerObjectOfClassVisibilityLoadHandler loadHandler)
public void setPreviewImageHandler(NSItemProvider.Block_setPreviewImageHandler value)