public class UIAlertAction extends NSObject
| Modifier and Type | Method and Description |
|---|---|
static UIAlertAction |
actionWithTitle(String title,
int UIAlertActionStyle,
org.robovm.objc.block.VoidBlock1<UIAlertAction> handler)
Constructor of the UIAlertAction.
|
boolean |
isEnabled()
Returns a Boolean value that shows whether the alert is enabled or not.
|
void |
setEnabled(boolean enabled)
Sets a Boolean value that defines whether the alert is enabled or not.
|
int |
style()
Returns an integer that is related to the style of the action button.
|
String |
title()
Returns the title of the action button.
|
addObserver, observeValueForKeyPath, performSelector, performSelectorOnMainThread, release, removeObserver, removeObserver, retain, setValueForKey, setValueForUndefinedKey, valueForKey, valueForUndefinedKeypublic static UIAlertAction actionWithTitle(String title, int UIAlertActionStyle, org.robovm.objc.block.VoidBlock1<UIAlertAction> handler)
title - The title of the alert button. Not NULL.UIAlertActionStyle - The style of the alert button.handler - The handler of the alert button.UIAlertActionStylepublic String title()
public int style()
UIAlertActionStylepublic boolean isEnabled()
public void setEnabled(boolean enabled)
enabled - A Boolean value that defines whether the alert is enabled
or not.Copyright © 2020. All rights reserved.