Package apple.pdfkit
Class PDFOutline
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.pdfkit.PDFOutline
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class apple.NSObject
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPDFOutline(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static booleanaccessInstanceVariablesDirectly()PDFActionaction()Action performed when a user clicks on the PDFOutline.static PDFOutlinealloc()static java.lang.ObjectallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)static booleanautomaticallyNotifiesObserversForKey(java.lang.String key)static voidcancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)static voidcancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget, org.moe.natj.objc.SEL aSelector, java.lang.Object anArgument)PDFOutlinechildAtIndex(long index)PDFOutline child at index.static NSArray<java.lang.String>classFallbacksForKeyedArchiver()static org.moe.natj.objc.ClassclassForKeyedUnarchiver()static java.lang.StringdebugDescription_static()static java.lang.Stringdescription_static()PDFDestinationdestination()Set: Has no effect on the root PDFOutline item.PDFDocumentdocument()The PDFDocument the outline is associated with.static longhash_static()longindex()Returns the index of the outline item - that is, relative to its siblings (and from the perspective of the parent).PDFOutlineinit()Returns a PDFOutline object.voidinsertChildAtIndex(PDFOutline child, long index)To build up a PDFOutline hierarchy, you call this method to add children outline items.static NSObject.Function_instanceMethodForSelector_retinstanceMethodForSelector(org.moe.natj.objc.SEL aSelector)static NSMethodSignatureinstanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)static booleaninstancesRespondToSelector(org.moe.natj.objc.SEL aSelector)booleanisOpen()Indicates whether PDFOutline item is initially disclosed or not.static booleanisSubclassOfClass(org.moe.natj.objc.Class aClass)static NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(java.lang.String key)java.lang.Stringlabel()The label for the outline.static java.lang.Objectnew_objc()longnumberOfChildren()Number of PDFOutline children this PDFOutline has.PDFOutlineparent()Returns the parent outline (the root outline will return nil).voidremoveFromParent()Removes self from parent (for root outline, does nothing since the root has no parent).static booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)voidsetAction(PDFAction value)Action performed when a user clicks on the PDFOutline.voidsetDestination(PDFDestination value)Set: Has no effect on the root PDFOutline item.voidsetIsOpen(boolean value)Indicates whether PDFOutline item is initially disclosed or not.voidsetLabel(java.lang.String value)The label for the outline.static voidsetVersion_static(long aVersion)static org.moe.natj.objc.Classsuperclass_static()static longversion_static()-
Methods inherited from class apple.NSObject
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, willChangeValuesAtIndexesForKey
-
-
-
-
Method Detail
-
accessInstanceVariablesDirectly
public static boolean accessInstanceVariablesDirectly()
-
action
public PDFAction action()
Action performed when a user clicks on the PDFOutline. Equivalent to calling -[destination] above when the outline has a destination (-[action] will return a PDFActionGoTo object). Some outlines do not have destinations however and you must therefore call this method. The root outline item will never return either an action or a destination. Calling -[setAction] on the root item has no effect.
-
alloc
public static PDFOutline alloc()
-
allocWithZone
public static java.lang.Object allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
-
automaticallyNotifiesObserversForKey
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
-
cancelPreviousPerformRequestsWithTarget
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
-
cancelPreviousPerformRequestsWithTargetSelectorObject
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget, org.moe.natj.objc.SEL aSelector, java.lang.Object anArgument)
-
childAtIndex
public PDFOutline childAtIndex(long index)
PDFOutline child at index. Will throw exception if index is out of range.
-
classFallbacksForKeyedArchiver
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
-
classForKeyedUnarchiver
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
-
debugDescription_static
public static java.lang.String debugDescription_static()
-
description_static
public static java.lang.String description_static()
-
destination
public PDFDestination destination()
Set: Has no effect on the root PDFOutline item. If the item previously had an action associated with it, the action is released (PDFOutline items cannot have both an action and a destination, they are mutually exclusive). The preferred way though is to call -[setAction] below.
-
document
public PDFDocument document()
The PDFDocument the outline is associated with.
-
hash_static
public static long hash_static()
-
index
public long index()
Returns the index of the outline item - that is, relative to its siblings (and from the perspective of the parent). The root outline item (or any item with no parent) is always index 0.
-
init
public PDFOutline init()
Returns a PDFOutline object. If this object is to be the outline root, you will need to add additional PDFOutline objects to form the outline hierarchy you desire. You will then need to add it to a PDFDocument by passing it to -[PDFDocument setOutlineRoot:]. If this is to be a child (non-root) outline you will need to set a label for it and either a destination or action for it. Also, you will need to add it as a child of another PDFOutline object.
-
insertChildAtIndex
public void insertChildAtIndex(PDFOutline child, long index)
To build up a PDFOutline hierarchy, you call this method to add children outline items. For the simplest of outlines you would, at the very least, have to add items to the outline root item. NOTE: Be careful when calling this for a PDFOutline item which already has a parent (for example when moving items around within an outline hierarchy) - you should retain the item and call -[removeFromParent] first.
-
instanceMethodForSelector
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
-
instanceMethodSignatureForSelector
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
-
instancesRespondToSelector
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
-
isOpen
public boolean isOpen()
Indicates whether PDFOutline item is initially disclosed or not. If the outline item has no children, -[isOpen] is always NO and calling -[setIsOpen] has no effect. The root item always returns YES for -[isOpen] and calling -[setIsOpen] also has no effect.
-
isSubclassOfClass
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
-
keyPathsForValuesAffectingValueForKey
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
-
label
public java.lang.String label()
The label for the outline. The root PDFOutline has no label and is only a container for children PDFOutlines.
-
new_objc
public static java.lang.Object new_objc()
-
numberOfChildren
public long numberOfChildren()
Number of PDFOutline children this PDFOutline has.
-
parent
public PDFOutline parent()
Returns the parent outline (the root outline will return nil).
-
removeFromParent
public void removeFromParent()
Removes self from parent (for root outline, does nothing since the root has no parent).
-
resolveClassMethod
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
-
resolveInstanceMethod
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
-
setAction
public void setAction(PDFAction value)
Action performed when a user clicks on the PDFOutline. Equivalent to calling -[destination] above when the outline has a destination (-[action] will return a PDFActionGoTo object). Some outlines do not have destinations however and you must therefore call this method. The root outline item will never return either an action or a destination. Calling -[setAction] on the root item has no effect.
-
setDestination
public void setDestination(PDFDestination value)
Set: Has no effect on the root PDFOutline item. If the item previously had an action associated with it, the action is released (PDFOutline items cannot have both an action and a destination, they are mutually exclusive). The preferred way though is to call -[setAction] below.
-
setIsOpen
public void setIsOpen(boolean value)
Indicates whether PDFOutline item is initially disclosed or not. If the outline item has no children, -[isOpen] is always NO and calling -[setIsOpen] has no effect. The root item always returns YES for -[isOpen] and calling -[setIsOpen] also has no effect.
-
setLabel
public void setLabel(java.lang.String value)
The label for the outline. The root PDFOutline has no label and is only a container for children PDFOutlines.
-
setVersion_static
public static void setVersion_static(long aVersion)
-
superclass_static
public static org.moe.natj.objc.Class superclass_static()
-
version_static
public static long version_static()
-
-