NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
PDFSelection(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
accessInstanceVariablesDirectly() |
void |
addSelection(PDFSelection selection)
Add a selection to this selection.
|
void |
addSelections(NSArray<? extends PDFSelection> selections)
For adding several selections, you can get better performance calling -[addSelections:] and passing in an array of
PDFSelections than calling -[addSelection] above inside a loop.
|
static PDFSelection |
alloc() |
static PDFSelection |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
NSAttributedString |
attributedString() |
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
CGRect |
boundsForPage(PDFPage page)
Given a PDFPage, returns the bounds in page-space of the text covered by the selection on that page.
|
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() |
UIColor |
color()
If no color is ever specified, PDFSelections will draw using [NSColor selectedTextBackgroundColor] when active and
[NSColor secondarySelectedControlColor] when not active.
|
java.lang.Object |
copyWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
static java.lang.String |
debugDescription_static() |
static java.lang.String |
description_static() |
void |
drawForPageActive(PDFPage page,
boolean active)
Calls the below method passing kPDFDisplayBoxCropBox for box.
|
void |
drawForPageWithBoxActive(PDFPage page,
long box,
boolean active)
Draws the selection in page space relative to the origin of box.
|
void |
extendSelectionAtEnd(long succeed)
Extends the selection at either end.
|
void |
extendSelectionAtStart(long precede) |
void |
extendSelectionForLineBoundaries()
Extend to the selection to the beginning and end of the currently selected lines of text.
|
static long |
hash_static() |
PDFSelection |
init() |
PDFSelection |
initWithDocument(PDFDocument document)
Returns and empty PDFSelection.
|
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 PDFSelection |
new_objc() |
long |
numberOfTextRangesOnPage(PDFPage page)
Returns the number of contiguous ranges of text on the specified page.
|
NSArray<? extends PDFPage> |
pages()
Array of pages covered by the selection.
|
NSRange |
rangeAtIndexOnPage(long index,
PDFPage page)
Returns a range of contiguous text at index on the specified page.
|
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
NSArray<? extends PDFSelection> |
selectionsByLine()
Returns an array of PDFSelection objects - one for each line of text covered by the receiver.
|
void |
setColor(UIColor value)
If no color is ever specified, PDFSelections will draw using [NSColor selectedTextBackgroundColor] when active and
[NSColor secondarySelectedControlColor] when not active.
|
static void |
setVersion_static(long aVersion) |
java.lang.String |
string()
String representing the text covered by the selection.
|
static org.moe.natj.objc.Class |
superclass_static() |
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 void addSelection(PDFSelection selection)
public void addSelections(NSArray<? extends PDFSelection> selections)
public static PDFSelection alloc()
public static PDFSelection allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public NSAttributedString attributedString()
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public CGRect boundsForPage(PDFPage page)
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 UIColor color()
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 void drawForPageActive(PDFPage page, boolean active)
public void drawForPageWithBoxActive(PDFPage page, long box, boolean active)
public void extendSelectionAtEnd(long succeed)
public void extendSelectionAtStart(long precede)
public void extendSelectionForLineBoundaries()
public static long hash_static()
public PDFSelection init()
public PDFSelection initWithDocument(PDFDocument document)
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 PDFSelection new_objc()
public long numberOfTextRangesOnPage(PDFPage page)
public NSArray<? extends PDFPage> pages()
public NSRange rangeAtIndexOnPage(long index, PDFPage page)
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public NSArray<? extends PDFSelection> selectionsByLine()
public void setColor(UIColor value)
public static void setVersion_static(long aVersion)
public java.lang.String string()
public static org.moe.natj.objc.Class superclass_static()
public static long version_static()