public class UICommand extends UIMenuElement
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
UICommand(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
_supportsSecureCoding()
This property must return YES on all classes that allow secure coding.
|
static boolean |
accessInstanceVariablesDirectly() |
org.moe.natj.objc.SEL |
action()
Action to take on choosing this command.
|
static UICommand |
alloc() |
static UICommand |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
NSArray<? extends UICommandAlternate> |
alternates()
Alternates that differ in modifier flags, if any.
|
long |
attributes()
Command attributes.
|
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() |
static UICommand |
commandWithTitleImageActionPropertyList(java.lang.String title,
UIImage image,
org.moe.natj.objc.SEL action,
java.lang.Object propertyList)
Initializes a keyless command.
|
static UICommand |
commandWithTitleImageActionPropertyListAlternates(java.lang.String title,
UIImage image,
org.moe.natj.objc.SEL action,
java.lang.Object propertyList,
NSArray<? extends UICommandAlternate> alternates)
Initializes a keyless command with alternates.
|
static java.lang.String |
debugDescription_static() |
static java.lang.String |
description_static() |
java.lang.String |
discoverabilityTitle()
Elaborated title, if any.
|
static long |
hash_static() |
UIImage |
image()
Image that can appear next to this command
|
UICommand |
init() |
UICommand |
initWithCoder(NSCoder coder)
NS_DESIGNATED_INITIALIZER
|
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) |
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
static UICommand |
new_objc() |
java.lang.Object |
propertyList()
Property list object to distinguish commands, if needed.
|
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
void |
setAttributes(long value)
Command attributes.
|
void |
setDiscoverabilityTitle(java.lang.String value)
Elaborated title, if any.
|
void |
setImage(UIImage value)
Image that can appear next to this command
|
void |
setState(long value)
State that can appear next to the command.
|
void |
setTitle(java.lang.String value)
Short display title.
|
static void |
setVersion_static(long aVersion) |
long |
state()
State that can appear next to the command.
|
static org.moe.natj.objc.Class |
superclass_static() |
static boolean |
supportsSecureCoding() |
java.lang.String |
title()
Short display title.
|
static long |
version_static() |
accessibilityIdentifier, copyWithZone, encodeWithCoder, setAccessibilityIdentifier, setSubtitle, subtitleaccessibilityActivate, 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 org.moe.natj.objc.SEL action()
public static UICommand alloc()
public static UICommand allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public NSArray<? extends UICommandAlternate> alternates()
public long attributes()
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 static UICommand commandWithTitleImageActionPropertyList(java.lang.String title, UIImage image, org.moe.natj.objc.SEL action, java.lang.Object propertyList)
title - Short display title. This should be localized.image - Image that can appear next to this command, if needed.action - Action to take on choosing this command.propertyList - Property list object to distinguish commands, if needed.public static UICommand commandWithTitleImageActionPropertyListAlternates(java.lang.String title, UIImage image, org.moe.natj.objc.SEL action, java.lang.Object propertyList, NSArray<? extends UICommandAlternate> alternates)
title - Short display title. This should be localized.image - Image that can appear next to this command, if needed.action - Action to take on choosing this command.propertyList - Property list object to distinguish commands, if needed.alternates - Alternates that differ in modifier flags.public static java.lang.String debugDescription_static()
public static java.lang.String description_static()
public java.lang.String discoverabilityTitle()
public static long hash_static()
public UIImage image()
image in class UIMenuElementpublic UICommand init()
init in class UIMenuElementpublic UICommand initWithCoder(NSCoder coder)
NSCodinginitWithCoder in interface NSCodinginitWithCoder in class UIMenuElementpublic 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 static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static UICommand new_objc()
public java.lang.Object propertyList()
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public void setAttributes(long value)
public void setDiscoverabilityTitle(java.lang.String value)
public void setImage(UIImage value)
public void setState(long value)
public void setTitle(java.lang.String value)
public static void setVersion_static(long aVersion)
public long state()
public static org.moe.natj.objc.Class superclass_static()
public static boolean supportsSecureCoding()
public boolean _supportsSecureCoding()
NSSecureCoding_supportsSecureCoding in interface NSSecureCoding_supportsSecureCoding in class UIMenuElementpublic java.lang.String title()
title in class UIMenuElementpublic static long version_static()