Package org.robovm.apple.uikit
Class UIResponder
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.objc.ObjCObject
org.robovm.apple.foundation.NSObject
org.robovm.apple.uikit.UIResponder
- All Implemented Interfaces:
NSObjectProtocol,UIActivityItemsConfigurationProviding,UIPasteConfigurationSupporting,UIResponderStandardEditActions,UIUserActivityRestoring,ObjCProtocol
- Direct Known Subclasses:
SKNode,UIAccessibilityElement,UIApplication,UIScene,UIView,UIViewController
public class UIResponder extends NSObject implements UIResponderStandardEditActions, UIUserActivityRestoring, UIPasteConfigurationSupporting, UIActivityItemsConfigurationProviding
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUIResponder.UIResponderPtrNested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInitNested classes/interfaces inherited from class org.robovm.objc.ObjCObject
ObjCObject.ObjCObjectPtr, ObjCObject.Super -
Field Summary
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAINFields inherited from class org.robovm.objc.ObjCObject
customClass -
Constructor Summary
Constructors Modifier Constructor Description UIResponder()protectedUIResponder(long handle)Deprecated.protectedUIResponder(NSObject.Handle h, long handle)protectedUIResponder(NSObject.SkipInit skipInit) -
Method Summary
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValuesMethods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRefMethods inherited from class org.robovm.rt.bro.NativeObject
as, getHandle, setHandle
-
Constructor Details
-
UIResponder
public UIResponder() -
UIResponder
Deprecated. -
UIResponder
-
UIResponder
-
-
Method Details
-
getNextResponder
-
canBecomeFirstResponder
public boolean canBecomeFirstResponder() -
canResignFirstResponder
public boolean canResignFirstResponder() -
isFirstResponder
public boolean isFirstResponder() -
getUndoManager
-
getEditingInteractionConfiguration
- Since:
- Available in iOS 13.0 and later.
-
getKeyCommands
-
getInputView
-
getInputAccessoryView
-
getInputAssistantItem
- Since:
- Available in iOS 9.0 and later.
-
getInputViewController
-
getInputAccessoryViewController
-
getTextInputMode
-
getTextInputContextIdentifier
-
getUserActivity
-
setUserActivity
-
getActivityItemsConfiguration
- Specified by:
getActivityItemsConfigurationin interfaceUIActivityItemsConfigurationProviding- Since:
- Available in iOS 13.0 and later.
-
setActivityItemsConfiguration
- Since:
- Available in iOS 13.0 and later.
-
getPasteConfiguration
- Specified by:
getPasteConfigurationin interfaceUIPasteConfigurationSupporting
-
setPasteConfiguration
- Specified by:
setPasteConfigurationin interfaceUIPasteConfigurationSupporting
-
becomeFirstResponder
public boolean becomeFirstResponder() -
resignFirstResponder
public boolean resignFirstResponder() -
touchesBegan
-
touchesMoved
-
touchesEnded
-
touchesCancelled
-
touchesEstimatedPropertiesUpdated
- Since:
- Available in iOS 9.1 and later.
-
pressesBegan
- Since:
- Available in iOS 9.0 and later.
-
pressesChanged
- Since:
- Available in iOS 9.0 and later.
-
pressesEnded
- Since:
- Available in iOS 9.0 and later.
-
pressesCancelled
- Since:
- Available in iOS 9.0 and later.
-
motionBegan
-
motionEnded
-
motionCancelled
-
remoteControlReceived
-
canPerformAction
-
getActionTarget
-
buildMenu
- Since:
- Available in iOS 13.0 and later.
-
validateCommand
- Since:
- Available in iOS 13.0 and later.
-
reloadInputViews
public void reloadInputViews() -
clearTextInputContextIdentifier
-
updateUserActivityState
-
restoreUserActivityState
- Specified by:
restoreUserActivityStatein interfaceUIUserActivityRestoring
-
captureTextFromCamera
- Since:
- Available in iOS 15.0 and later.
-
cut
- Specified by:
cutin interfaceUIResponderStandardEditActions
-
copy
- Specified by:
copyin interfaceUIResponderStandardEditActions
-
paste
- Specified by:
pastein interfaceUIResponderStandardEditActions
-
pasteAndMatchStyle
- Specified by:
pasteAndMatchStylein interfaceUIResponderStandardEditActions- Since:
- Available in iOS 15.0 and later.
-
pasteAndGo
- Specified by:
pasteAndGoin interfaceUIResponderStandardEditActions- Since:
- Available in iOS 15.0 and later.
-
pasteAndSearch
- Specified by:
pasteAndSearchin interfaceUIResponderStandardEditActions- Since:
- Available in iOS 15.0 and later.
-
select
- Specified by:
selectin interfaceUIResponderStandardEditActions
-
selectAll
- Specified by:
selectAllin interfaceUIResponderStandardEditActions
-
delete
- Specified by:
deletein interfaceUIResponderStandardEditActions
-
makeTextWritingDirectionLeftToRight
- Specified by:
makeTextWritingDirectionLeftToRightin interfaceUIResponderStandardEditActions
-
makeTextWritingDirectionRightToLeft
- Specified by:
makeTextWritingDirectionRightToLeftin interfaceUIResponderStandardEditActions
-
toggleBoldface
- Specified by:
toggleBoldfacein interfaceUIResponderStandardEditActions
-
toggleItalics
- Specified by:
toggleItalicsin interfaceUIResponderStandardEditActions
-
toggleUnderline
- Specified by:
toggleUnderlinein interfaceUIResponderStandardEditActions
-
increaseSize
- Specified by:
increaseSizein interfaceUIResponderStandardEditActions
-
decreaseSize
- Specified by:
decreaseSizein interfaceUIResponderStandardEditActions
-
updateTextAttributes
public void updateTextAttributes(Block1<NSDictionary<NSString,?>,NSDictionary<NSString,?>> conversionHandler)- Specified by:
updateTextAttributesin interfaceUIResponderStandardEditActions- Since:
- Available in iOS 13.0 and later.
-
print
- Specified by:
printin interfaceUIResponderStandardEditActions- Since:
- Available in iOS 15.0 and later.
-
pasteItemProviders
- Specified by:
pasteItemProvidersin interfaceUIPasteConfigurationSupporting
-
canPasteItemProviders
- Specified by:
canPasteItemProvidersin interfaceUIPasteConfigurationSupporting
-