Package org.robovm.apple.uikit
Class UIKeyCommand
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.objc.ObjCObject
org.robovm.apple.foundation.NSObject
org.robovm.apple.uikit.UIMenuElement
org.robovm.apple.uikit.UICommand
org.robovm.apple.uikit.UIKeyCommand
- All Implemented Interfaces:
NSCoding,NSObjectProtocol,NSSecureCoding,UIAccessibilityIdentification,ObjCProtocol
public class UIKeyCommand extends UICommand
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUIKeyCommand.UIKeyCommandPtrNested classes/interfaces inherited from class org.robovm.apple.uikit.UICommand
UICommand.Tags, UICommand.UICommandPtrNested classes/interfaces inherited from class org.robovm.apple.uikit.UIMenuElement
UIMenuElement.UIMenuElementPtrNested 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 UIKeyCommand()UIKeyCommand(String title, UIImage image, Selector action, String input, UIKeyModifierFlags modifierFlags, NSObject propertyList)UIKeyCommand(String title, UIImage image, Selector action, String input, UIKeyModifierFlags modifierFlags, NSObject propertyList, NSArray<UICommandAlternate> alternates)UIKeyCommand(String input, UIKeyModifierFlags modifierFlags, Selector action)UIKeyCommand(String input, UIKeyModifierFlags modifierFlags, Selector action, String discoverabilityTitle)Deprecated.Deprecated in iOS 13.0.UIKeyCommand(NSCoder coder)protectedUIKeyCommand(NSObject.Handle h, long handle)protectedUIKeyCommand(NSObject.SkipInit skipInit) -
Method Summary
Methods inherited from class org.robovm.apple.uikit.UIMenuElement
encode, getAccessibilityIdentifier, getSubtitle, setAccessibilityIdentifier, setSubtitleMethods 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
-
UIKeyCommand
public UIKeyCommand() -
UIKeyCommand
-
UIKeyCommand
-
UIKeyCommand
-
UIKeyCommand
-
UIKeyCommand
public UIKeyCommand(String title, UIImage image, Selector action, String input, UIKeyModifierFlags modifierFlags, NSObject propertyList, NSArray<UICommandAlternate> alternates) -
UIKeyCommand
-
UIKeyCommand
@Deprecated public UIKeyCommand(String input, UIKeyModifierFlags modifierFlags, Selector action, String discoverabilityTitle)Deprecated.Deprecated in iOS 13.0. Use keyCommandWithInput:modifierFlags:action:- Since:
- Available in iOS 9.0 and later.
-
-
Method Details
-
getTitle
-
setTitle
-
getImage
-
setImage
-
getDiscoverabilityTitle
- Overrides:
getDiscoverabilityTitlein classUICommand- Since:
- Available in iOS 9.0 and later.
-
setDiscoverabilityTitle
- Overrides:
setDiscoverabilityTitlein classUICommand- Since:
- Available in iOS 9.0 and later.
-
getAction
-
getInput
-
getModifierFlags
-
getPropertyList
- Overrides:
getPropertyListin classUICommand- Since:
- Available in iOS 13.0 and later.
-
getAttributes
- Overrides:
getAttributesin classUICommand- Since:
- Available in iOS 13.0 and later.
-
setAttributes
- Overrides:
setAttributesin classUICommand- Since:
- Available in iOS 13.0 and later.
-
getState
-
setState
-
getAlternates
- Overrides:
getAlternatesin classUICommand- Since:
- Available in iOS 13.0 and later.
-
wantsPriorityOverSystemBehavior
public boolean wantsPriorityOverSystemBehavior()- Since:
- Available in iOS 15.0 and later.
-
setWantsPriorityOverSystemBehavior
public void setWantsPriorityOverSystemBehavior(boolean v)- Since:
- Available in iOS 15.0 and later.
-
allowsAutomaticLocalization
public boolean allowsAutomaticLocalization()- Since:
- Available in iOS 15.0 and later.
-
setAllowsAutomaticLocalization
public void setAllowsAutomaticLocalization(boolean v)- Since:
- Available in iOS 15.0 and later.
-
allowsAutomaticMirroring
public boolean allowsAutomaticMirroring()- Since:
- Available in iOS 15.0 and later.
-
setAllowsAutomaticMirroring
public void setAllowsAutomaticMirroring(boolean v)- Since:
- Available in iOS 15.0 and later.
-
supportsSecureCoding
public static boolean supportsSecureCoding() -
UpArrow
-
DownArrow
-
LeftArrow
-
RightArrow
-
Escape
-
PageUp
-
PageDown
-
Home
- Since:
- Available in iOS 13.4 and later.
-
End
- Since:
- Available in iOS 13.4 and later.
-
F1
- Since:
- Available in iOS 13.4 and later.
-
F2
- Since:
- Available in iOS 13.4 and later.
-
F3
- Since:
- Available in iOS 13.4 and later.
-
F4
- Since:
- Available in iOS 13.4 and later.
-
F5
- Since:
- Available in iOS 13.4 and later.
-
F6
- Since:
- Available in iOS 13.4 and later.
-
F7
- Since:
- Available in iOS 13.4 and later.
-
F8
- Since:
- Available in iOS 13.4 and later.
-
F9
- Since:
- Available in iOS 13.4 and later.
-
F10
- Since:
- Available in iOS 13.4 and later.
-
F11
- Since:
- Available in iOS 13.4 and later.
-
F12
- Since:
- Available in iOS 13.4 and later.
-
Delete
- Since:
- Available in iOS 15.0 and later.
-
init
-
create
-
create
protected static long create(String title, UIImage image, Selector action, String input, UIKeyModifierFlags modifierFlags, NSObject propertyList, NSArray<UICommandAlternate> alternates) -
create
-
create
@Deprecated protected static long create(String input, UIKeyModifierFlags modifierFlags, Selector action, String discoverabilityTitle)Deprecated.Deprecated in iOS 13.0. Use keyCommandWithInput:modifierFlags:action:- Since:
- Available in iOS 9.0 and later.
-