NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
PDFAnnotation(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
accessInstanceVariablesDirectly() |
PDFAction |
action()
Optional action performed when a user clicks / taps an annotation.
|
void |
addBezierPath(UIBezierPath path)
Add or remove paths from the annotation.
|
long |
alignment()
Alignment of text within annotation bounds.
|
static PDFAnnotation |
alloc() |
static PDFAnnotation |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
boolean |
allowsToggleToOff()
For radio buttons, indicates whether clicking on widget whose state is already On toggles it Off.
|
NSDictionary<?,?> |
annotationKeyValues()
List all key-value pairs for this annotation; returns a deep copy of all pairs.
|
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
UIColor |
backgroundColor()
Background color characteristics.
|
PDFBorder |
border()
Optional border or border style that describes how to draw the annotation border (if any).
|
CGRect |
bounds()
Required for all annotations.
|
long |
buttonWidgetState()
The current state of a button widget annotation.
|
java.lang.String |
buttonWidgetStateString()
The string that represents the ON state of a button widget annotation.
|
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument) |
java.lang.String |
caption()
Label for the button.
|
NSArray<java.lang.String> |
choices()
The choices are an array of strings indicating the options (items) in either a list or pop-up menu.
|
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
UIColor |
color()
For many annotations ("Circle", "Square") the stroke color.
|
java.lang.String |
contents()
A string of text associated with an annotation.
|
java.lang.Object |
copyWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
static java.lang.String |
debugDescription_static() |
static java.lang.String |
description_static() |
PDFDestination |
destination()
Destination for the link.
|
void |
drawWithBoxInContext(long box,
CGContextRef context)
Draw method.
|
void |
encodeWithCoder(NSCoder coder) |
long |
endLineStyle() |
CGPoint |
endPoint() |
java.lang.String |
fieldName()
Widget annotations backed by form data have (internal) field names with which to associate a value or data.
|
UIFont |
font()
Font and font color associated with the text field.
|
UIColor |
fontColor()
Width of line used to stroke border.
|
boolean |
hasAppearanceStream()
Returns YES if the annotation has an appearance stream.
|
boolean |
hasComb()
Used to configure combing for PDF text fields.
|
static long |
hash_static() |
long |
iconType()
The type of icon displayed in the PDF.
|
PDFAnnotation |
init() |
PDFAnnotation |
initWithBoundsForTypeWithProperties(CGRect bounds,
java.lang.String annotationType,
NSDictionary<?,?> properties)
Create a custom annotation with bounds, a type (PDFAnnotationSubtype), and an (optional) dictionary of annotation properties.
|
PDFAnnotation |
initWithCoder(NSCoder coder)
NS_DESIGNATED_INITIALIZER
|
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) |
UIColor |
interiorColor()
Interior color of the annotation.
|
boolean |
isHighlighted()
The highlight state dictates how the annotation is drawn.
|
boolean |
isListChoice()
There are two flavors of Choice widget annotations, lists and pop-up menus.
|
boolean |
isMultiline()
Used to configure multiline PDF text fields.
|
boolean |
isOpen()
Used to tell if an annotation is open or closed.
|
boolean |
isPasswordField()
Used to determine if a PDF text field is a password field.
|
boolean |
isReadOnly()
Determines if a text field should be editable or not.
|
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
static long |
lineStyleFromName(java.lang.String name)
Class methods to help with mapping PDFLineStyle to the associated name based on PDF specification
Used by annotations type(s): /Line.
|
long |
markupType()
Type of mark-up (highlight, strike-out or underline).
|
long |
maximumLength()
Maximum characters allowed (optional, zero indicates no specified maximum).
|
NSDate |
modificationDate()
Optional (-[modificationDate] may return nil).
|
static java.lang.String |
nameForLineStyle(long style) |
static PDFAnnotation |
new_objc() |
PDFPage |
page()
Returns the page the annotation is associated with (may return nil if annotation not associated with a page).
|
NSArray<? extends UIBezierPath> |
paths()
Array of NSBezierPaths / UIBezierPaths that comprise the annotation.
|
PDFAnnotation |
popup() |
NSArray<? extends NSValue> |
quadrilateralPoints()
Array of n * 4 points, packed as NSValue pointValue / CGPointValue, defining n quadrilaterals in page space where n is the number of quad points.
|
boolean |
radiosInUnison()
For radio buttons, indicates whether a group of radio buttons will turn on and off in
unison; that is if one is checked, they are all checked.
|
void |
removeBezierPath(UIBezierPath path) |
void |
removeValueForAnnotationKey(java.lang.String key)
Remove the key-value pair from the annotation dictionary.
|
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
void |
setAction(PDFAction value)
Optional action performed when a user clicks / taps an annotation.
|
void |
setAlignment(long value)
Alignment of text within annotation bounds.
|
void |
setAllowsToggleToOff(boolean value)
For radio buttons, indicates whether clicking on widget whose state is already On toggles it Off.
|
void |
setBackgroundColor(UIColor value)
Background color characteristics.
|
boolean |
setBooleanForAnnotationKey(boolean value,
java.lang.String key) |
void |
setBorder(PDFBorder value)
Optional border or border style that describes how to draw the annotation border (if any).
|
void |
setBounds(CGRect value)
Required for all annotations.
|
void |
setButtonWidgetState(long value)
The current state of a button widget annotation.
|
void |
setButtonWidgetStateString(java.lang.String value)
The string that represents the ON state of a button widget annotation.
|
void |
setCaption(java.lang.String value)
Label for the button.
|
void |
setChoices(NSArray<java.lang.String> value)
The choices are an array of strings indicating the options (items) in either a list or pop-up menu.
|
void |
setColor(UIColor value)
For many annotations ("Circle", "Square") the stroke color.
|
void |
setComb(boolean value)
Used to configure combing for PDF text fields.
|
void |
setContents(java.lang.String value)
A string of text associated with an annotation.
|
void |
setDestination(PDFDestination value)
Destination for the link.
|
void |
setEndLineStyle(long value) |
void |
setEndPoint(CGPoint value) |
void |
setFieldName(java.lang.String value)
Widget annotations backed by form data have (internal) field names with which to associate a value or data.
|
void |
setFont(UIFont value)
Font and font color associated with the text field.
|
void |
setFontColor(UIColor value)
Width of line used to stroke border.
|
void |
setHighlighted(boolean value)
The highlight state dictates how the annotation is drawn.
|
void |
setIconType(long value)
The type of icon displayed in the PDF.
|
void |
setInteriorColor(UIColor value)
Interior color of the annotation.
|
void |
setListChoice(boolean value)
There are two flavors of Choice widget annotations, lists and pop-up menus.
|
void |
setMarkupType(long value)
Type of mark-up (highlight, strike-out or underline).
|
void |
setMaximumLength(long value)
Maximum characters allowed (optional, zero indicates no specified maximum).
|
void |
setModificationDate(NSDate value)
Optional (-[modificationDate] may return nil).
|
void |
setMultiline(boolean value)
Used to configure multiline PDF text fields.
|
void |
setOpen(boolean value)
Used to tell if an annotation is open or closed.
|
void |
setPage_unsafe(PDFPage value)
Returns the page the annotation is associated with (may return nil if annotation not associated with a page).
|
void |
setPage(PDFPage value)
Returns the page the annotation is associated with (may return nil if annotation not associated with a page).
|
void |
setPopup(PDFAnnotation value) |
void |
setQuadrilateralPoints(NSArray<? extends NSValue> value)
Array of n * 4 points, packed as NSValue pointValue / CGPointValue, defining n quadrilaterals in page space where n is the number of quad points.
|
void |
setRadiosInUnison(boolean value)
For radio buttons, indicates whether a group of radio buttons will turn on and off in
unison; that is if one is checked, they are all checked.
|
void |
setReadOnly(boolean value)
Determines if a text field should be editable or not.
|
boolean |
setRectForAnnotationKey(CGRect value,
java.lang.String key) |
void |
setShouldDisplay(boolean value)
Indicates whether the annotation should be displayed on screen (depending upon -[shouldPrint] it may still print).
|
void |
setShouldPrint(boolean value)
Indicates whether the annotation should be printed or not.
|
void |
setStampName(java.lang.String value)
Name of stamp annotation.
|
void |
setStartLineStyle(long value)
Style used for ornaments at the lines start and end (optional, PDF 1.4).
|
void |
setStartPoint(CGPoint value)
Points specifying start and end points for line annotation (required).
|
void |
setType(java.lang.String value)
Returns the annotation type (called "Subtype" in the PDF specification since "Annot" is the type).
|
void |
setURL(NSURL value)
URL for the link.
|
void |
setUserName(java.lang.String value)
Optional (-[userName] may return nil).
|
boolean |
setValueForAnnotationKey(java.lang.Object value,
java.lang.String key)
Allows you to set a key-value pair in this annotation's dictionary.
|
void |
setValues(NSArray<java.lang.String> value)
The choices are an array of strings indicating the option’s export values in either a list or pop-up menu.
|
static void |
setVersion_static(long aVersion) |
void |
setWidgetControlType(long value)
The type of button widget control type (radio button, push button, or checkbox).
|
void |
setWidgetDefaultStringValue(java.lang.String value)
The string value for a widget annotation.
|
void |
setWidgetFieldType(java.lang.String value)
The specific field type of a widget annotation (button, choice, or text).
|
void |
setWidgetStringValue(java.lang.String value)
The string value for a widget annotation.
|
boolean |
shouldDisplay()
Indicates whether the annotation should be displayed on screen (depending upon -[shouldPrint] it may still print).
|
boolean |
shouldPrint()
Indicates whether the annotation should be printed or not.
|
java.lang.String |
stampName()
Name of stamp annotation.
|
long |
startLineStyle()
Style used for ornaments at the lines start and end (optional, PDF 1.4).
|
CGPoint |
startPoint()
Points specifying start and end points for line annotation (required).
|
static org.moe.natj.objc.Class |
superclass_static() |
java.lang.String |
type()
Returns the annotation type (called "Subtype" in the PDF specification since "Annot" is the type).
|
NSURL |
URL()
URL for the link.
|
java.lang.String |
userName()
Optional (-[userName] may return nil).
|
java.lang.Object |
valueForAnnotationKey(java.lang.String key)
Retrieves a deep copy of the key-value pair based on the given key; key can either be
from the keys PDFAnnotationKey, or an appropriate string from the PDF specification.
|
NSArray<java.lang.String> |
values()
The choices are an array of strings indicating the option’s export values in either a list or pop-up menu.
|
static long |
version_static() |
long |
widgetControlType()
The type of button widget control type (radio button, push button, or checkbox).
|
java.lang.String |
widgetDefaultStringValue()
The string value for a widget annotation.
|
java.lang.String |
widgetFieldType()
The specific field type of a widget annotation (button, choice, or text).
|
java.lang.String |
widgetStringValue()
The string value for a widget annotation.
|
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 NSURL URL()
public static boolean accessInstanceVariablesDirectly()
public PDFAction action()
public void addBezierPath(UIBezierPath path)
public long alignment()
public static PDFAnnotation alloc()
public static PDFAnnotation allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public boolean allowsToggleToOff()
public NSDictionary<?,?> annotationKeyValues()
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public UIColor backgroundColor()
public PDFBorder border()
public CGRect bounds()
public long buttonWidgetState()
public java.lang.String buttonWidgetStateString()
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 java.lang.String caption()
public NSArray<java.lang.String> choices()
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
public UIColor color()
public java.lang.String contents()
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 PDFDestination destination()
public void drawWithBoxInContext(long box,
CGContextRef context)
public void encodeWithCoder(NSCoder coder)
encodeWithCoder in interface NSCodingpublic long endLineStyle()
public CGPoint endPoint()
public java.lang.String fieldName()
public UIFont font()
public UIColor fontColor()
public boolean hasAppearanceStream()
public boolean hasComb()
public static long hash_static()
public long iconType()
public PDFAnnotation init()
public PDFAnnotation initWithBoundsForTypeWithProperties(CGRect bounds, java.lang.String annotationType, NSDictionary<?,?> properties)
public PDFAnnotation initWithCoder(NSCoder coder)
NSCodinginitWithCoder in interface NSCodingpublic 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 UIColor interiorColor()
public boolean isHighlighted()
public boolean isListChoice()
public boolean isMultiline()
public boolean isOpen()
public boolean isPasswordField()
public boolean isReadOnly()
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static long lineStyleFromName(java.lang.String name)
public long markupType()
public long maximumLength()
public NSDate modificationDate()
public static java.lang.String nameForLineStyle(long style)
public static PDFAnnotation new_objc()
public PDFPage page()
public NSArray<? extends UIBezierPath> paths()
public PDFAnnotation popup()
public NSArray<? extends NSValue> quadrilateralPoints()
public boolean radiosInUnison()
public void removeBezierPath(UIBezierPath path)
public void removeValueForAnnotationKey(java.lang.String key)
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public void setAction(PDFAction value)
public void setAlignment(long value)
public void setAllowsToggleToOff(boolean value)
public void setBackgroundColor(UIColor value)
public boolean setBooleanForAnnotationKey(boolean value,
java.lang.String key)
public void setBorder(PDFBorder value)
public void setBounds(CGRect value)
public void setButtonWidgetState(long value)
public void setButtonWidgetStateString(java.lang.String value)
public void setCaption(java.lang.String value)
public void setChoices(NSArray<java.lang.String> value)
public void setColor(UIColor value)
public void setComb(boolean value)
public void setContents(java.lang.String value)
public void setDestination(PDFDestination value)
public void setEndLineStyle(long value)
public void setEndPoint(CGPoint value)
public void setFieldName(java.lang.String value)
public void setFont(UIFont value)
public void setFontColor(UIColor value)
public void setHighlighted(boolean value)
public void setIconType(long value)
public void setInteriorColor(UIColor value)
public void setListChoice(boolean value)
public void setMarkupType(long value)
public void setMaximumLength(long value)
public void setModificationDate(NSDate value)
public void setMultiline(boolean value)
public void setOpen(boolean value)
public void setPage_unsafe(PDFPage value)
public void setPage(PDFPage value)
public void setPopup(PDFAnnotation value)
public void setQuadrilateralPoints(NSArray<? extends NSValue> value)
public void setRadiosInUnison(boolean value)
public void setReadOnly(boolean value)
public boolean setRectForAnnotationKey(CGRect value, java.lang.String key)
public void setShouldDisplay(boolean value)
public void setShouldPrint(boolean value)
public void setStampName(java.lang.String value)
public void setStartLineStyle(long value)
public void setStartPoint(CGPoint value)
public void setType(java.lang.String value)
public void setURL(NSURL value)
public void setUserName(java.lang.String value)
public boolean setValueForAnnotationKey(java.lang.Object value,
java.lang.String key)
public void setValues(NSArray<java.lang.String> value)
public static void setVersion_static(long aVersion)
public void setWidgetControlType(long value)
public void setWidgetDefaultStringValue(java.lang.String value)
public void setWidgetFieldType(java.lang.String value)
public void setWidgetStringValue(java.lang.String value)
public boolean shouldDisplay()
public boolean shouldPrint()
public java.lang.String stampName()
public long startLineStyle()
public CGPoint startPoint()
public static org.moe.natj.objc.Class superclass_static()
public java.lang.String type()
public java.lang.String userName()
public java.lang.Object valueForAnnotationKey(java.lang.String key)
public NSArray<java.lang.String> values()
public static long version_static()
public long widgetControlType()
public java.lang.String widgetDefaultStringValue()
public java.lang.String widgetFieldType()
public java.lang.String widgetStringValue()