Package apple.uikit
Class UIResponder
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.uikit.UIResponder
-
- All Implemented Interfaces:
NSObject,UIActivityItemsConfigurationProviding,UIPasteConfigurationSupporting,UIResponderStandardEditActions,UIUserActivityRestoring
- Direct Known Subclasses:
SKNode,UIAccessibilityElement,UIApplication,UIScene,UIView,UIViewController
public class UIResponder extends NSObject implements UIResponderStandardEditActions, UIUserActivityRestoring, UIPasteConfigurationSupporting, UIActivityItemsConfigurationProviding
API-Since: 2.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class apple.NSObject
NSObject.Block_accessibilityActivateBlock_ret, NSObject.Block_accessibilityActivationPointBlock_ret, NSObject.Block_accessibilityAttributedHintBlock_ret, NSObject.Block_accessibilityAttributedLabelBlock_ret, NSObject.Block_accessibilityAttributedUserInputLabelsBlock_ret, NSObject.Block_accessibilityAttributedValueBlock_ret, NSObject.Block_accessibilityContainerTypeBlock_ret, NSObject.Block_accessibilityCustomActionsBlock_ret, NSObject.Block_accessibilityCustomRotorsBlock_ret, NSObject.Block_accessibilityDecrementBlock_ret, NSObject.Block_accessibilityElementsBlock_ret, NSObject.Block_accessibilityElementsHiddenBlock_ret, NSObject.Block_accessibilityFrameBlock_ret, NSObject.Block_accessibilityHeaderElementsBlock_ret, NSObject.Block_accessibilityHintBlock_ret, NSObject.Block_accessibilityIdentifierBlock_ret, NSObject.Block_accessibilityIncrementBlock_ret, NSObject.Block_accessibilityLabelBlock_ret, NSObject.Block_accessibilityLanguageBlock_ret, NSObject.Block_accessibilityMagicTapBlock_ret, NSObject.Block_accessibilityNavigationStyleBlock_ret, NSObject.Block_accessibilityPathBlock_ret, NSObject.Block_accessibilityPerformEscapeBlock_ret, NSObject.Block_accessibilityRespondsToUserInteractionBlock_ret, NSObject.Block_accessibilityShouldGroupAccessibilityChildrenBlock_ret, NSObject.Block_accessibilityTextualContextBlock_ret, NSObject.Block_accessibilityTraitsBlock_ret, NSObject.Block_accessibilityUserInputLabelsBlock_ret, NSObject.Block_accessibilityValueBlock_ret, NSObject.Block_accessibilityViewIsModalBlock_ret, NSObject.Block_automationElementsBlock_ret, NSObject.Block_isAccessibilityElementBlock_ret, NSObject.Block_setAccessibilityActivateBlock, NSObject.Block_setAccessibilityActivationPointBlock, NSObject.Block_setAccessibilityAttributedHintBlock, NSObject.Block_setAccessibilityAttributedLabelBlock, NSObject.Block_setAccessibilityAttributedUserInputLabelsBlock, NSObject.Block_setAccessibilityAttributedValueBlock, NSObject.Block_setAccessibilityContainerTypeBlock, NSObject.Block_setAccessibilityCustomActionsBlock, NSObject.Block_setAccessibilityCustomRotorsBlock, NSObject.Block_setAccessibilityDecrementBlock, NSObject.Block_setAccessibilityElementsBlock, NSObject.Block_setAccessibilityElementsHiddenBlock, NSObject.Block_setAccessibilityFrameBlock, NSObject.Block_setAccessibilityHeaderElementsBlock, NSObject.Block_setAccessibilityHintBlock, NSObject.Block_setAccessibilityIdentifierBlock, NSObject.Block_setAccessibilityIncrementBlock, NSObject.Block_setAccessibilityLabelBlock, NSObject.Block_setAccessibilityLanguageBlock, NSObject.Block_setAccessibilityMagicTapBlock, NSObject.Block_setAccessibilityNavigationStyleBlock, NSObject.Block_setAccessibilityPathBlock, NSObject.Block_setAccessibilityPerformEscapeBlock, NSObject.Block_setAccessibilityRespondsToUserInteractionBlock, NSObject.Block_setAccessibilityShouldGroupAccessibilityChildrenBlock, NSObject.Block_setAccessibilityTextualContextBlock, NSObject.Block_setAccessibilityTraitsBlock, NSObject.Block_setAccessibilityUserInputLabelsBlock, NSObject.Block_setAccessibilityValueBlock, NSObject.Block_setAccessibilityViewIsModalBlock, NSObject.Block_setAutomationElementsBlock, NSObject.Block_setIsAccessibilityElementBlock, NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret
-
Nested classes/interfaces inherited from interface apple.uikit.protocol.UIResponderStandardEditActions
UIResponderStandardEditActions.Block_updateTextAttributesWithConversionHandler
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedUIResponder(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static booleanaccessInstanceVariablesDirectly()@Nullable UIActivityItemsConfigurationReadingactivityItemsConfiguration()API-Since: 15.0static UIResponderalloc()static UIResponderallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)static booleanautomaticallyNotifiesObserversForKey(@NotNull java.lang.String key)booleanbecomeFirstResponder()voidbuildMenuWithBuilder(@NotNull UIMenuBuilder builder)Overrides for menu building and validation API-Since: 13.0booleancanBecomeFirstResponder()default is NOstatic voidcancelPreviousPerformRequestsWithTarget(@NotNull java.lang.Object aTarget)static voidcancelPreviousPerformRequestsWithTargetSelectorObject(@NotNull java.lang.Object aTarget, @NotNull org.moe.natj.objc.SEL aSelector, @Nullable java.lang.Object anArgument)booleancanPasteItemProviders(@NotNull NSArray<? extends NSItemProvider> itemProviders)booleancanPerformActionWithSender(@NotNull org.moe.natj.objc.SEL action, @Nullable java.lang.Object sender)API-Since: 3.0booleancanResignFirstResponder()default is YESvoidcaptureTextFromCamera(@Nullable java.lang.Object sender)API-Since: 15.0static @NotNull NSArray<java.lang.String>classFallbacksForKeyedArchiver()static @NotNull org.moe.natj.objc.ClassclassForKeyedUnarchiver()static voidclearTextInputContextIdentifier(@NotNull java.lang.String identifier)This call is to remove stored app identifier state that is no longer needed.voidcopy(@Nullable java.lang.Object sender)API-Since: 3.0voidcut(@Nullable java.lang.Object sender)API-Since: 3.0static java.lang.StringdebugDescription_static()voiddecreaseSize(@Nullable java.lang.Object sender)API-Since: 7.0voiddelete(@Nullable java.lang.Object sender)API-Since: 3.2static java.lang.Stringdescription_static()voidduplicate(@Nullable java.lang.Object sender)API-Since: 16.0longeditingInteractionConfiguration()Productivity editing interaction support for undo/redo/cut/copy/paste gestures API-Since: 13.0voidexport(@Nullable java.lang.Object sender)API-Since: 16.0voidfind(@Nullable java.lang.Object sender)API-Since: 16.0voidfindAndReplace(@Nullable java.lang.Object sender)API-Since: 16.0voidfindNext(@Nullable java.lang.Object sender)API-Since: 16.0voidfindPrevious(@Nullable java.lang.Object sender)API-Since: 16.0static longhash_static()voidincreaseSize(@Nullable java.lang.Object sender)API-Since: 7.0UIResponderinit()@Nullable UIViewinputAccessoryView()API-Since: 3.2@Nullable UIInputViewControllerinputAccessoryViewController()API-Since: 8.0@NotNull UITextInputAssistantIteminputAssistantItem()This method is for clients that wish to put buttons on the Shortcuts Bar, shown on top of the keyboard.@Nullable UIViewinputView()Called and presented when object becomes first responder.@Nullable UIInputViewControllerinputViewController()For viewController equivalents of -inputView and -inputAccessoryView Called and presented when object becomes first responder.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)booleanisFirstResponder()static booleanisSubclassOfClass(org.moe.natj.objc.Class aClass)@Nullable NSArray<? extends UIKeyCommand>keyCommands()returns an array of UIKeyCommand objects< API-Since: 7.0static @NotNull NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(@NotNull java.lang.String key)voidmakeTextWritingDirectionLeftToRight(@Nullable java.lang.Object sender)API-Since: 5.0voidmakeTextWritingDirectionRightToLeft(@Nullable java.lang.Object sender)API-Since: 5.0voidmotionBeganWithEvent(long motion, @Nullable UIEvent event)API-Since: 3.0voidmotionCancelledWithEvent(long motion, @Nullable UIEvent event)API-Since: 3.0voidmotionEndedWithEvent(long motion, @Nullable UIEvent event)API-Since: 3.0voidmove(@Nullable java.lang.Object sender)API-Since: 16.0static UIRespondernew_objc()@Nullable UIRespondernextResponder()voidpaste(@Nullable java.lang.Object sender)API-Since: 3.0voidpasteAndGo(@Nullable java.lang.Object sender)API-Since: 15.0voidpasteAndMatchStyle(@Nullable java.lang.Object sender)API-Since: 15.0voidpasteAndSearch(@Nullable java.lang.Object sender)API-Since: 15.0@Nullable UIPasteConfigurationpasteConfiguration()voidpasteItemProviders(@NotNull NSArray<? extends NSItemProvider> itemProviders)voidpressesBeganWithEvent(@NotNull NSSet<? extends UIPress> presses, @Nullable UIPressesEvent event)Generally, all responders which do custom press handling should override all four of these methods.voidpressesCancelledWithEvent(@NotNull NSSet<? extends UIPress> presses, @Nullable UIPressesEvent event)API-Since: 9.0voidpressesChangedWithEvent(@NotNull NSSet<? extends UIPress> presses, @Nullable UIPressesEvent event)API-Since: 9.0voidpressesEndedWithEvent(@NotNull NSSet<? extends UIPress> presses, @Nullable UIPressesEvent event)API-Since: 9.0voidprint(@Nullable java.lang.Object sender)API-Since: 15.0voidreloadInputViews()If called while object is first responder, reloads inputView, inputAccessoryView, and textInputMode.voidremoteControlReceivedWithEvent(@Nullable UIEvent event)API-Since: 4.0voidrename(@Nullable java.lang.Object sender)API-Since: 16.0booleanresignFirstResponder()static booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)voidrestoreUserActivityState(@NotNull NSUserActivity activity)voidselect(@Nullable java.lang.Object sender)API-Since: 3.0voidselectAll(@Nullable java.lang.Object sender)API-Since: 3.0voidsetActivityItemsConfiguration(@Nullable UIActivityItemsConfigurationReading value)API-Since: 13.0voidsetPasteConfiguration(@Nullable UIPasteConfiguration value)voidsetUserActivity(@Nullable NSUserActivity value)API-Since: 8.0static voidsetVersion_static(long aVersion)static org.moe.natj.objc.Classsuperclass_static()@Nullable java.lang.ObjecttargetForActionWithSender(@NotNull org.moe.natj.objc.SEL action, @Nullable java.lang.Object sender)Allows an action to be forwarded to another target.@Nullable java.lang.StringtextInputContextIdentifier()When the first responder changes and an identifier is queried, the system will establish a context to track the textInputMode automatically.@Nullable UITextInputModetextInputMode()When queried, returns the current UITextInputMode, from which the keyboard language can be determined.voidtoggleBoldface(@Nullable java.lang.Object sender)API-Since: 6.0voidtoggleItalics(@Nullable java.lang.Object sender)API-Since: 6.0voidtoggleUnderline(@Nullable java.lang.Object sender)API-Since: 6.0voidtouchesBeganWithEvent(@NotNull NSSet<? extends UITouch> touches, @Nullable UIEvent event)Generally, all responders which do custom touch handling should override all four of these methods.voidtouchesCancelledWithEvent(@NotNull NSSet<? extends UITouch> touches, @Nullable UIEvent event)voidtouchesEndedWithEvent(@NotNull NSSet<? extends UITouch> touches, @Nullable UIEvent event)voidtouchesEstimatedPropertiesUpdated(@NotNull NSSet<? extends UITouch> touches)API-Since: 9.1voidtouchesMovedWithEvent(@NotNull NSSet<? extends UITouch> touches, @Nullable UIEvent event)@Nullable NSUndoManagerundoManager()API-Since: 3.0voidupdateTextAttributesWithConversionHandler(UIResponderStandardEditActions.Block_updateTextAttributesWithConversionHandler conversionHandler)API-Since: 13.0voidupdateUserActivityState(@NotNull NSUserActivity activity)API-Since: 8.0@Nullable NSUserActivityuserActivity()API-Since: 8.0voiduseSelectionForFind(@Nullable java.lang.Object sender)API-Since: 16.0static booleanuseStoredAccessor()Deprecated.voidvalidateCommand(@NotNull UICommand command)API-Since: 13.0static longversion_static()-
Methods inherited from class apple.NSObject
accessibilityActivate, accessibilityActivateBlock, accessibilityActivationPoint, accessibilityActivationPointBlock, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedHintBlock, accessibilityAttributedLabel, accessibilityAttributedLabelBlock, accessibilityAttributedUserInputLabels, accessibilityAttributedUserInputLabelsBlock, accessibilityAttributedValue, accessibilityAttributedValueBlock, accessibilityContainerType, accessibilityContainerTypeBlock, accessibilityCustomActions, accessibilityCustomActionsBlock, accessibilityCustomRotors, accessibilityCustomRotorsBlock, accessibilityDecrement, accessibilityDecrementBlock, accessibilityDirectTouchOptions, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsBlock, accessibilityElementsHidden, accessibilityElementsHiddenBlock, accessibilityFrame, accessibilityFrameBlock, accessibilityHeaderElementsBlock, accessibilityHint, accessibilityHintBlock, accessibilityIdentifierBlock, accessibilityIncrement, accessibilityIncrementBlock, accessibilityLabel, accessibilityLabelBlock, accessibilityLanguage, accessibilityLanguageBlock, accessibilityMagicTapBlock, accessibilityNavigationStyle, accessibilityNavigationStyleBlock, accessibilityPath, accessibilityPathBlock, accessibilityPerformEscape, accessibilityPerformEscapeBlock, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityRespondsToUserInteractionBlock, accessibilityScroll, accessibilityShouldGroupAccessibilityChildrenBlock, accessibilityTextualContext, accessibilityTextualContextBlock, accessibilityTraits, accessibilityTraitsBlock, accessibilityUserInputLabels, accessibilityUserInputLabelsBlock, accessibilityValue, accessibilityValueBlock, accessibilityViewIsModal, accessibilityViewIsModalBlock, accessibilityZoomInAtPoint, accessibilityZoomOutAtPoint, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, automationElements, automationElementsBlock, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hash, indexOfAccessibilityElement, isAccessibilityElement, isAccessibilityElementBlock, 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, setAccessibilityActivateBlock, setAccessibilityActivationPoint, setAccessibilityActivationPointBlock, setAccessibilityAttributedHint, setAccessibilityAttributedHintBlock, setAccessibilityAttributedLabel, setAccessibilityAttributedLabelBlock, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedUserInputLabelsBlock, setAccessibilityAttributedValue, setAccessibilityAttributedValueBlock, setAccessibilityContainerType, setAccessibilityContainerTypeBlock, setAccessibilityCustomActions, setAccessibilityCustomActionsBlock, setAccessibilityCustomRotors, setAccessibilityCustomRotorsBlock, setAccessibilityDecrementBlock, setAccessibilityDirectTouchOptions, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsBlock, setAccessibilityElementsHidden, setAccessibilityElementsHiddenBlock, setAccessibilityFrame, setAccessibilityFrameBlock, setAccessibilityHeaderElementsBlock, setAccessibilityHint, setAccessibilityHintBlock, setAccessibilityIdentifierBlock, setAccessibilityIncrementBlock, setAccessibilityLabel, setAccessibilityLabelBlock, setAccessibilityLanguage, setAccessibilityLanguageBlock, setAccessibilityMagicTapBlock, setAccessibilityNavigationStyle, setAccessibilityNavigationStyleBlock, setAccessibilityPath, setAccessibilityPathBlock, setAccessibilityPerformEscapeBlock, setAccessibilityRespondsToUserInteraction, setAccessibilityRespondsToUserInteractionBlock, setAccessibilityShouldGroupAccessibilityChildrenBlock, setAccessibilityTextualContext, setAccessibilityTextualContextBlock, setAccessibilityTraits, setAccessibilityTraitsBlock, setAccessibilityUserInputLabels, setAccessibilityUserInputLabelsBlock, setAccessibilityValue, setAccessibilityValueBlock, setAccessibilityViewIsModal, setAccessibilityViewIsModalBlock, setAutomationElements, setAutomationElementsBlock, setIsAccessibilityElement, setIsAccessibilityElementBlock, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, storedValueForKey, superclass, takeStoredValueForKey, takeValueForKey, takeValueForKeyPath, takeValuesFromDictionary, unableToSetNilForKey, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, valuesForKeys, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKey
-
-
-
-
Method Detail
-
accessInstanceVariablesDirectly
public static boolean accessInstanceVariablesDirectly()
-
alloc
public static UIResponder alloc()
-
allocWithZone
public static UIResponder allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
-
automaticallyNotifiesObserversForKey
public static boolean automaticallyNotifiesObserversForKey(@NotNull @NotNull java.lang.String key)
-
cancelPreviousPerformRequestsWithTarget
public static void cancelPreviousPerformRequestsWithTarget(@NotNull @NotNull java.lang.Object aTarget)
-
cancelPreviousPerformRequestsWithTargetSelectorObject
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(@NotNull @NotNull java.lang.Object aTarget, @NotNull @NotNull org.moe.natj.objc.SEL aSelector, @Nullable @Nullable java.lang.Object anArgument)
-
classFallbacksForKeyedArchiver
@NotNull public static @NotNull NSArray<java.lang.String> classFallbacksForKeyedArchiver()
-
classForKeyedUnarchiver
@NotNull public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
-
clearTextInputContextIdentifier
public static void clearTextInputContextIdentifier(@NotNull @NotNull java.lang.String identifier)This call is to remove stored app identifier state that is no longer needed. API-Since: 7.0
-
debugDescription_static
public static java.lang.String debugDescription_static()
-
description_static
public static java.lang.String description_static()
-
hash_static
public static long hash_static()
-
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)
-
isSubclassOfClass
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
-
keyPathsForValuesAffectingValueForKey
@NotNull public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(@NotNull @NotNull java.lang.String key)
-
new_objc
public static UIResponder new_objc()
-
resolveClassMethod
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
-
resolveInstanceMethod
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
-
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()
-
becomeFirstResponder
public boolean becomeFirstResponder()
-
canBecomeFirstResponder
public boolean canBecomeFirstResponder()
default is NO
-
canPerformActionWithSender
public boolean canPerformActionWithSender(@NotNull @NotNull org.moe.natj.objc.SEL action, @Nullable @Nullable java.lang.Object sender)API-Since: 3.0
-
canResignFirstResponder
public boolean canResignFirstResponder()
default is YES
-
copy
public void copy(@Nullable @Nullable java.lang.Object sender)Description copied from interface:UIResponderStandardEditActionsAPI-Since: 3.0- Specified by:
copyin interfaceUIResponderStandardEditActions
-
cut
public void cut(@Nullable @Nullable java.lang.Object sender)Description copied from interface:UIResponderStandardEditActionsAPI-Since: 3.0- Specified by:
cutin interfaceUIResponderStandardEditActions
-
decreaseSize
public void decreaseSize(@Nullable @Nullable java.lang.Object sender)Description copied from interface:UIResponderStandardEditActionsAPI-Since: 7.0- Specified by:
decreaseSizein interfaceUIResponderStandardEditActions
-
delete
public void delete(@Nullable @Nullable java.lang.Object sender)Description copied from interface:UIResponderStandardEditActionsAPI-Since: 3.2- Specified by:
deletein interfaceUIResponderStandardEditActions
-
increaseSize
public void increaseSize(@Nullable @Nullable java.lang.Object sender)Description copied from interface:UIResponderStandardEditActionsAPI-Since: 7.0- Specified by:
increaseSizein interfaceUIResponderStandardEditActions
-
init
public UIResponder init()
-
inputAccessoryView
@Nullable public @Nullable UIView inputAccessoryView()
API-Since: 3.2
-
inputAccessoryViewController
@Nullable public @Nullable UIInputViewController inputAccessoryViewController()
API-Since: 8.0
-
inputAssistantItem
@NotNull public @NotNull UITextInputAssistantItem inputAssistantItem()
This method is for clients that wish to put buttons on the Shortcuts Bar, shown on top of the keyboard. You may modify the returned inputAssistantItem to add to or replace the existing items on the bar. Modifications made to the returned UITextInputAssistantItem are reflected automatically. This method should not be overridden. Goes up the responder chain. API-Since: 9.0
-
inputView
@Nullable public @Nullable UIView inputView()
Called and presented when object becomes first responder. Goes up the responder chain. API-Since: 3.2
-
inputViewController
@Nullable public @Nullable UIInputViewController inputViewController()
For viewController equivalents of -inputView and -inputAccessoryView Called and presented when object becomes first responder. Goes up the responder chain. API-Since: 8.0
-
isFirstResponder
public boolean isFirstResponder()
-
keyCommands
@Nullable public @Nullable NSArray<? extends UIKeyCommand> keyCommands()
returns an array of UIKeyCommand objects< API-Since: 7.0
-
makeTextWritingDirectionLeftToRight
public void makeTextWritingDirectionLeftToRight(@Nullable @Nullable java.lang.Object sender)Description copied from interface:UIResponderStandardEditActionsAPI-Since: 5.0- Specified by:
makeTextWritingDirectionLeftToRightin interfaceUIResponderStandardEditActions
-
makeTextWritingDirectionRightToLeft
public void makeTextWritingDirectionRightToLeft(@Nullable @Nullable java.lang.Object sender)Description copied from interface:UIResponderStandardEditActionsAPI-Since: 5.0- Specified by:
makeTextWritingDirectionRightToLeftin interfaceUIResponderStandardEditActions
-
motionBeganWithEvent
public void motionBeganWithEvent(long motion, @Nullable @Nullable UIEvent event)API-Since: 3.0
-
motionCancelledWithEvent
public void motionCancelledWithEvent(long motion, @Nullable @Nullable UIEvent event)API-Since: 3.0
-
motionEndedWithEvent
public void motionEndedWithEvent(long motion, @Nullable @Nullable UIEvent event)API-Since: 3.0
-
nextResponder
@Nullable public @Nullable UIResponder nextResponder()
-
paste
public void paste(@Nullable @Nullable java.lang.Object sender)Description copied from interface:UIResponderStandardEditActionsAPI-Since: 3.0- Specified by:
pastein interfaceUIResponderStandardEditActions
-
pressesBeganWithEvent
public void pressesBeganWithEvent(@NotNull @NotNull NSSet<? extends UIPress> presses, @Nullable @Nullable UIPressesEvent event)Generally, all responders which do custom press handling should override all four of these methods. Your responder will receive either pressesEnded:withEvent or pressesCancelled:withEvent: for each press it is handling (those presses it received in pressesBegan:withEvent:). pressesChanged:withEvent: will be invoked for presses that provide an analog value (like thumbsticks or analog push buttons) *** You must handle cancelled presses to ensure correct behavior in your application. Failure to do so is very likely to lead to incorrect behavior or crashes. API-Since: 9.0
-
pressesCancelledWithEvent
public void pressesCancelledWithEvent(@NotNull @NotNull NSSet<? extends UIPress> presses, @Nullable @Nullable UIPressesEvent event)API-Since: 9.0
-
pressesChangedWithEvent
public void pressesChangedWithEvent(@NotNull @NotNull NSSet<? extends UIPress> presses, @Nullable @Nullable UIPressesEvent event)API-Since: 9.0
-
pressesEndedWithEvent
public void pressesEndedWithEvent(@NotNull @NotNull NSSet<? extends UIPress> presses, @Nullable @Nullable UIPressesEvent event)API-Since: 9.0
-
reloadInputViews
public void reloadInputViews()
If called while object is first responder, reloads inputView, inputAccessoryView, and textInputMode. Otherwise ignored. API-Since: 3.2
-
remoteControlReceivedWithEvent
public void remoteControlReceivedWithEvent(@Nullable @Nullable UIEvent event)API-Since: 4.0
-
resignFirstResponder
public boolean resignFirstResponder()
-
restoreUserActivityState
public void restoreUserActivityState(@NotNull @NotNull NSUserActivity activity)- Specified by:
restoreUserActivityStatein interfaceUIUserActivityRestoring
-
select
public void select(@Nullable @Nullable java.lang.Object sender)Description copied from interface:UIResponderStandardEditActionsAPI-Since: 3.0- Specified by:
selectin interfaceUIResponderStandardEditActions
-
selectAll
public void selectAll(@Nullable @Nullable java.lang.Object sender)Description copied from interface:UIResponderStandardEditActionsAPI-Since: 3.0- Specified by:
selectAllin interfaceUIResponderStandardEditActions
-
setUserActivity
public void setUserActivity(@Nullable @Nullable NSUserActivity value)API-Since: 8.0
-
targetForActionWithSender
@Nullable public @Nullable java.lang.Object targetForActionWithSender(@NotNull @NotNull org.moe.natj.objc.SEL action, @Nullable @Nullable java.lang.Object sender)Allows an action to be forwarded to another target. By default checks -canPerformAction:withSender: to either return self, or go up the responder chain. API-Since: 7.0
-
textInputContextIdentifier
@Nullable public @Nullable java.lang.String textInputContextIdentifier()
When the first responder changes and an identifier is queried, the system will establish a context to track the textInputMode automatically. The system will save and restore the state of that context to the user defaults via the app identifier. Use of -textInputMode above will supersede use of -textInputContextIdentifier. API-Since: 7.0
-
textInputMode
@Nullable public @Nullable UITextInputMode textInputMode()
When queried, returns the current UITextInputMode, from which the keyboard language can be determined. When overridden it should return a previously-queried UITextInputMode object, which will attempt to be set inside that app, but not persistently affect the user's system-wide keyboard settings. API-Since: 7.0
-
toggleBoldface
public void toggleBoldface(@Nullable @Nullable java.lang.Object sender)Description copied from interface:UIResponderStandardEditActionsAPI-Since: 6.0- Specified by:
toggleBoldfacein interfaceUIResponderStandardEditActions
-
toggleItalics
public void toggleItalics(@Nullable @Nullable java.lang.Object sender)Description copied from interface:UIResponderStandardEditActionsAPI-Since: 6.0- Specified by:
toggleItalicsin interfaceUIResponderStandardEditActions
-
toggleUnderline
public void toggleUnderline(@Nullable @Nullable java.lang.Object sender)Description copied from interface:UIResponderStandardEditActionsAPI-Since: 6.0- Specified by:
toggleUnderlinein interfaceUIResponderStandardEditActions
-
touchesBeganWithEvent
public void touchesBeganWithEvent(@NotNull @NotNull NSSet<? extends UITouch> touches, @Nullable @Nullable UIEvent event)Generally, all responders which do custom touch handling should override all four of these methods. Your responder will receive either touchesEnded:withEvent: or touchesCancelled:withEvent: for each touch it is handling (those touches it received in touchesBegan:withEvent:). *** You must handle cancelled touches to ensure correct behavior in your application. Failure to do so is very likely to lead to incorrect behavior or crashes.
-
touchesCancelledWithEvent
public void touchesCancelledWithEvent(@NotNull @NotNull NSSet<? extends UITouch> touches, @Nullable @Nullable UIEvent event)
-
touchesEndedWithEvent
public void touchesEndedWithEvent(@NotNull @NotNull NSSet<? extends UITouch> touches, @Nullable @Nullable UIEvent event)
-
touchesEstimatedPropertiesUpdated
public void touchesEstimatedPropertiesUpdated(@NotNull @NotNull NSSet<? extends UITouch> touches)API-Since: 9.1
-
touchesMovedWithEvent
public void touchesMovedWithEvent(@NotNull @NotNull NSSet<? extends UITouch> touches, @Nullable @Nullable UIEvent event)
-
undoManager
@Nullable public @Nullable NSUndoManager undoManager()
API-Since: 3.0
-
updateUserActivityState
public void updateUserActivityState(@NotNull @NotNull NSUserActivity activity)API-Since: 8.0
-
userActivity
@Nullable public @Nullable NSUserActivity userActivity()
API-Since: 8.0
-
canPasteItemProviders
public boolean canPasteItemProviders(@NotNull @NotNull NSArray<? extends NSItemProvider> itemProviders)- Specified by:
canPasteItemProvidersin interfaceUIPasteConfigurationSupporting
-
pasteConfiguration
@Nullable public @Nullable UIPasteConfiguration pasteConfiguration()
- Specified by:
pasteConfigurationin interfaceUIPasteConfigurationSupporting
-
pasteItemProviders
public void pasteItemProviders(@NotNull @NotNull NSArray<? extends NSItemProvider> itemProviders)- Specified by:
pasteItemProvidersin interfaceUIPasteConfigurationSupporting
-
setPasteConfiguration
public void setPasteConfiguration(@Nullable @Nullable UIPasteConfiguration value)- Specified by:
setPasteConfigurationin interfaceUIPasteConfigurationSupporting
-
activityItemsConfiguration
@Nullable public @Nullable UIActivityItemsConfigurationReading activityItemsConfiguration()
Description copied from interface:UIActivityItemsConfigurationProvidingAPI-Since: 15.0- Specified by:
activityItemsConfigurationin interfaceUIActivityItemsConfigurationProviding
-
buildMenuWithBuilder
public void buildMenuWithBuilder(@NotNull @NotNull UIMenuBuilder builder)Overrides for menu building and validation API-Since: 13.0
-
editingInteractionConfiguration
public long editingInteractionConfiguration()
Productivity editing interaction support for undo/redo/cut/copy/paste gestures API-Since: 13.0
-
setActivityItemsConfiguration
public void setActivityItemsConfiguration(@Nullable @Nullable UIActivityItemsConfigurationReading value)API-Since: 13.0
-
updateTextAttributesWithConversionHandler
public void updateTextAttributesWithConversionHandler(@NotNull UIResponderStandardEditActions.Block_updateTextAttributesWithConversionHandler conversionHandler)Description copied from interface:UIResponderStandardEditActionsAPI-Since: 13.0- Specified by:
updateTextAttributesWithConversionHandlerin interfaceUIResponderStandardEditActions
-
validateCommand
public void validateCommand(@NotNull @NotNull UICommand command)API-Since: 13.0
-
captureTextFromCamera
public void captureTextFromCamera(@Nullable @Nullable java.lang.Object sender)API-Since: 15.0
-
pasteAndGo
public void pasteAndGo(@Nullable @Nullable java.lang.Object sender)Description copied from interface:UIResponderStandardEditActionsAPI-Since: 15.0- Specified by:
pasteAndGoin interfaceUIResponderStandardEditActions
-
pasteAndMatchStyle
public void pasteAndMatchStyle(@Nullable @Nullable java.lang.Object sender)Description copied from interface:UIResponderStandardEditActionsAPI-Since: 15.0- Specified by:
pasteAndMatchStylein interfaceUIResponderStandardEditActions
-
pasteAndSearch
public void pasteAndSearch(@Nullable @Nullable java.lang.Object sender)Description copied from interface:UIResponderStandardEditActionsAPI-Since: 15.0- Specified by:
pasteAndSearchin interfaceUIResponderStandardEditActions
-
print
public void print(@Nullable @Nullable java.lang.Object sender)Description copied from interface:UIResponderStandardEditActionsAPI-Since: 15.0- Specified by:
printin interfaceUIResponderStandardEditActions
-
duplicate
public void duplicate(@Nullable @Nullable java.lang.Object sender)Description copied from interface:UIResponderStandardEditActionsAPI-Since: 16.0- Specified by:
duplicatein interfaceUIResponderStandardEditActions
-
export
public void export(@Nullable @Nullable java.lang.Object sender)Description copied from interface:UIResponderStandardEditActionsAPI-Since: 16.0- Specified by:
exportin interfaceUIResponderStandardEditActions
-
find
public void find(@Nullable @Nullable java.lang.Object sender)Description copied from interface:UIResponderStandardEditActionsAPI-Since: 16.0- Specified by:
findin interfaceUIResponderStandardEditActions
-
findAndReplace
public void findAndReplace(@Nullable @Nullable java.lang.Object sender)Description copied from interface:UIResponderStandardEditActionsAPI-Since: 16.0- Specified by:
findAndReplacein interfaceUIResponderStandardEditActions
-
findNext
public void findNext(@Nullable @Nullable java.lang.Object sender)Description copied from interface:UIResponderStandardEditActionsAPI-Since: 16.0- Specified by:
findNextin interfaceUIResponderStandardEditActions
-
findPrevious
public void findPrevious(@Nullable @Nullable java.lang.Object sender)Description copied from interface:UIResponderStandardEditActionsAPI-Since: 16.0- Specified by:
findPreviousin interfaceUIResponderStandardEditActions
-
move
public void move(@Nullable @Nullable java.lang.Object sender)Description copied from interface:UIResponderStandardEditActionsAPI-Since: 16.0- Specified by:
movein interfaceUIResponderStandardEditActions
-
rename
public void rename(@Nullable @Nullable java.lang.Object sender)Description copied from interface:UIResponderStandardEditActionsAPI-Since: 16.0- Specified by:
renamein interfaceUIResponderStandardEditActions
-
useSelectionForFind
public void useSelectionForFind(@Nullable @Nullable java.lang.Object sender)Description copied from interface:UIResponderStandardEditActionsAPI-Since: 16.0- Specified by:
useSelectionForFindin interfaceUIResponderStandardEditActions
-
useStoredAccessor
@Deprecated public static boolean useStoredAccessor()
Deprecated.
-
-