Package org.robovm.apple.uikit
Class UIAlertView
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.uikit.UIResponder
-
- org.robovm.apple.uikit.UIView
-
- org.robovm.apple.uikit.UIAlertView
-
- All Implemented Interfaces:
CALayerDelegate
,NSCoding
,NSObjectProtocol
,UIAccessibility
,UIAccessibilityIdentification
,UIAppearanceContainer
,UICoordinateSpace
,UIDynamicItem
,UIFocusEnvironment
,UIFocusItem
,UIFocusItemContainer
,UITraitEnvironment
,org.robovm.objc.ObjCProtocol
@Deprecated public class UIAlertView extends UIView
Deprecated.Deprecated in iOS 9.0. UIAlertView is deprecated. Use UIAlertController with a preferredStyle of UIAlertControllerStyleAlert instead- Since:
- Available in iOS 2.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UIAlertView.UIAlertViewPtr
Deprecated.-
Nested classes/interfaces inherited from class org.robovm.apple.uikit.UIView
UIView.UIViewPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.uikit.UIResponder
UIResponder.UIResponderPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
Nested classes/interfaces inherited from class org.robovm.objc.ObjCObject
org.robovm.objc.ObjCObject.ObjCObjectPtr, org.robovm.objc.ObjCObject.Super
-
Nested classes/interfaces inherited from interface org.robovm.apple.uikit.UIAccessibility
UIAccessibility.Notifications
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description UIAlertView()
Deprecated.UIAlertView(java.lang.String title, java.lang.String message, UIAlertViewDelegate delegate, java.lang.String cancelButtonTitle, java.lang.String... otherButtonTitles)
Deprecated.UIAlertView(CGRect frame)
Deprecated.UIAlertView(NSCoder decoder)
Deprecated.protected
UIAlertView(NSObject.Handle h, long handle)
Deprecated.protected
UIAlertView(NSObject.SkipInit skipInit)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description long
addButton(java.lang.String title)
Deprecated.void
dismiss(long buttonIndex, boolean animated)
Deprecated.UIAlertViewStyle
getAlertViewStyle()
Deprecated.java.lang.String
getButtonTitle(long buttonIndex)
Deprecated.long
getCancelButtonIndex()
Deprecated.UIAlertViewDelegate
getDelegate()
Deprecated.long
getFirstOtherButtonIndex()
Deprecated.java.lang.String
getMessage()
Deprecated.long
getNumberOfButtons()
Deprecated.UITextField
getTextField(long textFieldIndex)
Deprecated.java.lang.String
getTitle()
Deprecated.protected long
init(java.lang.String title, java.lang.String message, UIAlertViewDelegate delegate, java.lang.String cancelButtonTitle, long otherButtonTitles)
Deprecated.protected long
init(CGRect frame)
Deprecated.protected long
init(NSCoder decoder)
Deprecated.boolean
isVisible()
Deprecated.void
setAlertViewStyle(UIAlertViewStyle v)
Deprecated.void
setCancelButtonIndex(long v)
Deprecated.void
setDelegate(UIAlertViewDelegate v)
Deprecated.void
setMessage(java.lang.String v)
Deprecated.void
setTitle(java.lang.String v)
Deprecated.void
show()
Deprecated.-
Methods inherited from class org.robovm.apple.uikit.UIView
addConstraint, addConstraints, addGestureRecognizer, addInteraction, addKeyframe, addLayoutGuide, addMotionEffect, addSubview, animate, animate, animate, animate, animateKeyframes, areAnimationsEnabled, autoresizesSubviews, beginAnimations, bringSubviewToFront, canBecomeFocused, clearsContextBeforeDrawing, clipsToBounds, commitAnimations, convertPointFromCoordinateSpace, convertPointFromView, convertPointToCoordinateSpace, convertPointToView, convertRectFromCoordinateSpace, convertRectFromView, convertRectToCoordinateSpace, convertRectToView, decodeRestorableState, didAddSubview, didHintFocusMovement, didMoveToSuperview, didMoveToWindow, didUpdateFocus, displayLayer, draw, draw, drawLayer, drawViewHierarchy, encode, encodeRestorableState, endEditing, exchangeSubview, exerciseAmbiguityInLayout, focusItemsInRect, gestureRecognizerShouldBegin, getAccessibilityIdentifier, getAction, getAlignmentRectForFrame, getAlignmentRectInsets, getAlpha, getAutoresizingMask, getBackgroundColor, getBottomAnchor, getBounds, getCenter, getCenterXAnchor, getCenterYAnchor, getCollisionBoundingPath, getCollisionBoundsType, getConstraints, getConstraintsAffectingLayout, getContentCompressionResistancePriority, getContentHuggingPriority, getContentMode, getContentScaleFactor, getCoordinateSpace, getDirectionalLayoutMargins, getEffectiveUserInterfaceLayoutDirection, getFirstBaselineAnchor, getFocusItemContainer, getFrame, getFrameForAlignmentRect, getGestureRecognizers, getHeightAnchor, getInheritedAnimationDuration, getInteractions, getIntrinsicContentSize, getLastBaselineAnchor, getLayer, getLayerClass, getLayoutGuides, getLayoutMargins, getLayoutMarginsGuide, getLeadingAnchor, getLeftAnchor, getMaskView, getMotionEffects, getParentFocusEnvironment, getPreferredFocusedView, getPreferredFocusEnvironments, getReadableContentGuide, getResizableSnapshot, getRestorationIdentifier, getRightAnchor, getSafeAreaInsets, getSafeAreaLayoutGuide, getSemanticContentAttribute, getSizeThatFits, getSnapshot, getSubviews, getSuperview, getSystemLayoutSizeFittingSize, getSystemLayoutSizeFittingSize, getTag, getTintAdjustmentMode, getTintColor, getTopAnchor, getTrailingAnchor, getTraitCollection, getTransform, getUserInterfaceLayoutDirection, getUserInterfaceLayoutDirection, getViewForBaselineLayout, getViewForFirstBaselineLayout, getViewForLastBaselineLayout, getViewPrintFormatter, getViewWithTag, getWidthAnchor, getWindow, hasAmbiguousLayout, hitTest, insertSubview, insertSubviewAbove, insertSubviewBelow, invalidateIntrinsicContentSize, isAccessibilityIgnoresInvertColors, isDescendantOf, isExclusiveTouch, isFocused, isHidden, isInsetsLayoutMarginsFromSafeArea, isMultipleTouchEnabled, isOpaque, isPointInside, isUserInteractionEnabled, layoutIfNeeded, layoutMarginsDidChange, layoutSublayers, layoutSubviews, needsUpdateConstraints, NoIntrinsicMetric, performSystemAnimation, performWithoutAnimation, preservesSuperviewLayoutMargins, removeConstraint, removeConstraints, removeFromSuperview, removeGestureRecognizer, removeInteraction, removeLayoutGuide, removeMotionEffect, requiresConstraintBasedLayout, safeAreaInsetsDidChange, sendSubviewToBack, setAccessibilityIdentifier, setAccessibilityIgnoresInvertColors, setAlpha, setAnimationBeginsFromCurrentState, setAnimationCurve, setAnimationDelay, setAnimationDelegate, setAnimationDidStopSelector, setAnimationDurationInSeconds, setAnimationRepeatAutoreverses, setAnimationRepeatCount, setAnimationsEnabled, setAnimationStartDate, setAnimationTransition, setAnimationWillStartSelector, setAutoresizesSubviews, setAutoresizingMask, setBackgroundColor, setBounds, setCenter, setClearsContextBeforeDrawing, setClipsToBounds, setContentCompressionResistancePriority, setContentHuggingPriority, setContentMode, setContentScaleFactor, setDirectionalLayoutMargins, setExclusiveTouch, setFrame, setGestureRecognizers, setHidden, setInsetsLayoutMarginsFromSafeArea, setInteractions, setLayoutMargins, setMaskView, setMotionEffects, setMultipleTouchEnabled, setNeedsDisplay, setNeedsDisplay, setNeedsFocusUpdate, setNeedsLayout, setNeedsUpdateConstraints, setOpaque, setPreservesSuperviewLayoutMargins, setRestorationIdentifier, setSemanticContentAttribute, setTag, setTintAdjustmentMode, setTintColor, setTransform, setTranslatesAutoresizingMaskIntoConstraints, setUserInteractionEnabled, shouldUpdateFocus, sizeToFit, tintColorDidChange, traitCollectionDidChange, transition, transition, translatesAutoresizingMaskIntoConstraints, updateConstraints, updateConstraintsIfNeeded, updateFocusIfNeeded, willDrawLayer, willMoveToSuperview, willMoveToWindow, willRemoveSubview
-
Methods inherited from class org.robovm.apple.uikit.UIResponder
areAccessibilityElementsHidden, becomeFirstResponder, canBecomeFirstResponder, canPerformAction, canResignFirstResponder, clearTextInputContextIdentifier, getAccessibilityActivationPoint, getAccessibilityAttributedHint, getAccessibilityAttributedLabel, getAccessibilityAttributedValue, getAccessibilityFrame, getAccessibilityHint, getAccessibilityLabel, getAccessibilityLanguage, getAccessibilityNavigationStyle, getAccessibilityPath, getAccessibilityTraits, getAccessibilityValue, getActionTarget, getInputAccessoryView, getInputAccessoryViewController, getInputAssistantItem, getInputView, getInputViewController, getKeyCommands, getNextResponder, getTextInputContextIdentifier, getTextInputMode, getUndoManager, getUserActivity, isAccessibilityElement, isAccessibilityViewModal, isFirstResponder, motionBegan, motionCancelled, motionEnded, pressesBegan, pressesCancelled, pressesChanged, pressesEnded, reloadInputViews, remoteControlReceived, resignFirstResponder, restoreUserActivityState, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedValue, setAccessibilityElement, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityTraits, setAccessibilityValue, setAccessibilityViewModal, setShouldGroupAccessibilityChildren, setUserActivity, shouldGroupAccessibilityChildren, touchesBegan, touchesCancelled, touchesEnded, touchesEstimatedPropertiesUpdated, touchesMoved, updateUserActivityState
-
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, willChangeValues
-
-
-
-
Constructor Detail
-
UIAlertView
public UIAlertView()
Deprecated.
-
UIAlertView
protected UIAlertView(NSObject.Handle h, long handle)
Deprecated.
-
UIAlertView
protected UIAlertView(NSObject.SkipInit skipInit)
Deprecated.
-
UIAlertView
public UIAlertView(CGRect frame)
Deprecated.
-
UIAlertView
public UIAlertView(NSCoder decoder)
Deprecated.
-
UIAlertView
public UIAlertView(java.lang.String title, java.lang.String message, UIAlertViewDelegate delegate, java.lang.String cancelButtonTitle, java.lang.String... otherButtonTitles)
Deprecated.
-
-
Method Detail
-
init
protected long init(java.lang.String title, java.lang.String message, UIAlertViewDelegate delegate, java.lang.String cancelButtonTitle, long otherButtonTitles)
Deprecated.
-
getDelegate
public UIAlertViewDelegate getDelegate()
Deprecated.
-
setDelegate
public void setDelegate(UIAlertViewDelegate v)
Deprecated.
-
getTitle
public java.lang.String getTitle()
Deprecated.
-
setTitle
public void setTitle(java.lang.String v)
Deprecated.
-
getMessage
public java.lang.String getMessage()
Deprecated.
-
setMessage
public void setMessage(java.lang.String v)
Deprecated.
-
getNumberOfButtons
public long getNumberOfButtons()
Deprecated.
-
getCancelButtonIndex
public long getCancelButtonIndex()
Deprecated.
-
setCancelButtonIndex
public void setCancelButtonIndex(long v)
Deprecated.
-
getFirstOtherButtonIndex
public long getFirstOtherButtonIndex()
Deprecated.
-
isVisible
public boolean isVisible()
Deprecated.
-
getAlertViewStyle
public UIAlertViewStyle getAlertViewStyle()
Deprecated.- Since:
- Available in iOS 5.0 and later.
-
setAlertViewStyle
public void setAlertViewStyle(UIAlertViewStyle v)
Deprecated.- Since:
- Available in iOS 5.0 and later.
-
addButton
public long addButton(java.lang.String title)
Deprecated.
-
getButtonTitle
public java.lang.String getButtonTitle(long buttonIndex)
Deprecated.
-
show
public void show()
Deprecated.
-
dismiss
public void dismiss(long buttonIndex, boolean animated)
Deprecated.
-
getTextField
public UITextField getTextField(long textFieldIndex)
Deprecated.- Since:
- Available in iOS 5.0 and later.
-
-