NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
PKToolPicker(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
accessInstanceVariablesDirectly() |
void |
addObserver(PKToolPickerObserver observer)
Add an observer for a tool picker changes.
|
static PKToolPicker |
alloc() |
static PKToolPicker |
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) |
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
long |
colorUserInterfaceStyle()
Set `colorUserInterfaceStyle` to cause this tool picker to create colors for a canvas view of the
specified user interface style.
|
static java.lang.String |
debugDescription_static() |
static java.lang.String |
description_static() |
CGRect |
frameObscuredInView(UIView view)
The frame within a specific view that the tool picker covers.
|
static long |
hash_static() |
PKToolPicker |
init()
Returns a new `PKToolPicker` instance.
|
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 |
isRulerActive()
Is the ruler toggled such that it should be active on canvases.
|
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
boolean |
isVisible()
Is the tool picker visible.
|
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
static PKToolPicker |
new_objc() |
long |
overrideUserInterfaceStyle()
Set `overrideUserInterfaceStyle` to cause this tool picker UI to have a specific user interface style.
|
void |
removeObserver(PKToolPickerObserver observer)
Remove an observer for a tool picker changes.
|
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
PKTool |
selectedTool()
The currently selected tool.
|
void |
setColorUserInterfaceStyle(long value)
Set `colorUserInterfaceStyle` to cause this tool picker to create colors for a canvas view of the
specified user interface style.
|
void |
setOverrideUserInterfaceStyle(long value)
Set `overrideUserInterfaceStyle` to cause this tool picker UI to have a specific user interface style.
|
void |
setRulerActive(boolean value)
Is the ruler toggled such that it should be active on canvases.
|
void |
setSelectedTool(PKTool value)
The currently selected tool.
|
void |
setShowsDrawingPolicyControls(boolean value)
If this is true the tool picker will show UI that allows the default drawing policy to be changed.
|
void |
setStateAutosaveName(java.lang.String value)
The name used to automatically save the tool picker's state in the defaults system.
|
static void |
setVersion_static(long aVersion) |
void |
setVisibleForFirstResponder(boolean visible,
UIResponder responder)
Sets when this tool picker should be visible.
|
static PKToolPicker |
sharedToolPickerForWindow(UIWindow window)
Returns the shared `PKToolPicker` instance for a window.
|
boolean |
showsDrawingPolicyControls()
If this is true the tool picker will show UI that allows the default drawing policy to be changed.
|
java.lang.String |
stateAutosaveName()
The name used to automatically save the tool picker's state in the defaults system.
|
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 addObserver(PKToolPickerObserver observer)
Adding a `PKCanvasView` as an observer, will also set its initial state. Observers are held weakly.
public static PKToolPicker alloc()
public static PKToolPicker 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 long colorUserInterfaceStyle()
By default this is `UIUserInterfaceStyleUnspecified`.
public static java.lang.String debugDescription_static()
public static java.lang.String description_static()
public CGRect frameObscuredInView(UIView view)
view - The view in which to return the frame to avoid.public static long hash_static()
public PKToolPicker init()
If two tool pickers are visible for the same first responder, or the same tool picker is visible in two windows the result is deterministic, but undefined.
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 isRulerActive()
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public boolean isVisible()
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static PKToolPicker new_objc()
public long overrideUserInterfaceStyle()
By default this is `UIUserInterfaceStyleUnspecified`.
public void removeObserver(PKToolPickerObserver observer)
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public PKTool selectedTool()
public void setColorUserInterfaceStyle(long value)
By default this is `UIUserInterfaceStyleUnspecified`.
public void setOverrideUserInterfaceStyle(long value)
By default this is `UIUserInterfaceStyleUnspecified`.
public void setRulerActive(boolean value)
public void setSelectedTool(PKTool value)
public static void setVersion_static(long aVersion)
public void setVisibleForFirstResponder(boolean visible,
UIResponder responder)
visible - The visible state of this tool picker.responder - The first responder for which this visible state applies.public static PKToolPicker sharedToolPickerForWindow(UIWindow window)
public static org.moe.natj.objc.Class superclass_static()
public static long version_static()
public void setShowsDrawingPolicyControls(boolean value)
By default this is true.
public void setStateAutosaveName(java.lang.String value)
public boolean showsDrawingPolicyControls()
By default this is true.
public java.lang.String stateAutosaveName()