UIAlertSheet Klassenreferenz

#import <UIAlertSheet.h>

Abgeleitet von UIView.

Basisklasse für PortraitAlertSheet und UITelAlertSheet.

Aufstellung aller Elemente


Öffentliche Methoden

(id) - initWithTitle:buttons:defaultButtonIndex:delegate:context:
(id) - initWithFrame:
(void) - dealloc
(BOOL) - requiresPortraitOrientation
(int) - _currentOrientation
(void) - _setAlertSheetStyleFromButtonBar:
(id) - buttons
(void) - _createTitleLabelIfNeeded
(void) - _createBodyTextLabelIfNeeded
(void) - _createTaglineTextLabelIfNeeded
(void) - _setupTitleStyle
(void) - setTitle:
(void) - setBodyText:
(void) - setTaglineText:
(void) - setTitleMaxLineCount:
(void) - setBodyTextMaxLineCount:
(id) - addTextFieldWithValue:label:
(id) - textFieldAtIndex:
(int) - textFieldCount
(id) - textField
(id) - keyboard
(void) - setDefaultButton:
(void) - setDestructiveButton:
(id) - _addButtonWithTitle:label:buttonClass:
(id) - addButtonWithTitle:label:
(id) - addButtonWithTitle:
(id) - addButtonWithTitle:buttonClass:
(int) - buttonCount
(void) - setDelegate:
(id) - delegate
(void) - setContext:
(id) - context
(void) - _buttonClicked:
(void) - _cleanupAfterPopupAnimation
(void) - setTableShouldShowMinimumContent:
(id) - table
(BOOL) - _needsKeyboard
(void) - setShowsOverSpringBoardAlerts:
(void) - _performPopup:
(void) - _growAnimationDidStop:finished:
(void) - _bubbleAnimationShrinkDidStop:finished:
(void) - _bubbleAnimationNormalDidStop:finished:
(BOOL) - _isAnimating
(void) - _addToStack
(void) - _removeFromStack
(void) - _popoutAnimationDidStop:finished:
(void) - _performPopoutAnimationAnimated:
(void) - _repopup
(void) - _tellSpringboardShowingSheet:
(void) - _tellSpringboardHidingSheet:
(void) - _createAlertWindowIfNeeded:
(BOOL) - _canShowAlerts
(void) - _removeAlertWindowOrShowAnOldAlert
(void) - _temporarilyHideAnimated:
(void) - _setupInitialFrame
(void) - _rotatingAnimationDidStop:
(void) - layoutAnimated:
(void) - _layoutPopupAlertWithOrientation:animated:
(void) - _layoutIfNeeded
(void) - _adjustLabelFontSizes
(BOOL) - isBodyTextTruncated
(void) - popupAlertAnimated:atOffset:
(void) - popupAlertAnimated:
(void) - _presentSheetFromView:above:
(void) - presentSheetFromBehindView:
(void) - presentSheetFromAboveView:
(void) - presentSheetInView:
(void) - presentSheetToAboveView:
(void) - _presentSheetStartingFromYCoordinate:
(void) - _slideSheetOut:
(void) - dismiss
(void) - dismissAnimated:
(struct CGSize- backgroundSize
(float) - _titleVerticalTopInset
(float) - _titleVerticalBottomInset
(float) - _titleHorizontalInset
(float) - _bottomVerticalInset
(void) - drawRect:
(void) - _appSuspended:
(void) - _alertSheetAnimationDidStop:finished:
(void) - setNumberOfRows:
(int) - alertSheetStyle
(void) - setAlertSheetStyle:
(void) - setDimsBackground:
(void) - setSuspendTag:
(void) - setBlocksInteraction:
(void) - setRunsModal:
(struct CGRect- titleRect
(float) - _maxHeight
(float) - _buttonHeight
(void) - layout
(void) - presentSheetFromButtonBar:

Öffentliche, statische Methoden

(struct CGSize+ minimumSize
(id) + topMostAlert
(id) + visibleAlert
(BOOL) + atLeastOneAlertVisible
(void) + _reorientAlertWindowTo:animated:
(void) + noteOrientationChangingTo:
(void) + hideTopmostMiniAlert:
(void) + hideAlertsForTermination
(void) + showTopmostMiniAlert:
(void) + wantsToShowMiniAlerts:
(BOOL) + _hideTopMostAlertAnimated:
(id) + _popupAlertBackground

Geschützte Attribute

id _delegate
UITextLabel_titleLabel
UITextLabel_bodyTextLabel
UITextLabel_taglineTextLabel
float _startY
id _context
UIPushButton_defaultButton
UIPushButton_destructiveButton
UIButtonBar_buttonBar
UIWindow_dimWindow
int _suspendTag
float _bodyTextHeight
NSMutableArray_buttons
NSMutableArray_textFields
UIKeyboard_keyboard
UITable_table
int _orientation
struct {
   unsigned int   numberOfRows:7
   unsigned int   delegateAlertSheetButtonClicked:1
   unsigned int   delegateDidPresentAlertSheet:1
   unsigned int   delegateDidDismissAlertSheet:1
   unsigned int   hideButtonBar:1
   unsigned int   alertStyle:3
   unsigned int   dontDimBackground:1
   unsigned int   dismissSuspended:1
   unsigned int   dontBlockInteraction:1
   unsigned int   sheetWasPoppedUp:1
   unsigned int   animating:1
   unsigned int   hideWhenDoneAnimating:1
   unsigned int   titleMaxLineCount:2
   unsigned int   bodyTextMaxLineCount:3
   unsigned int   runsModal:1
   unsigned int   runningModal:1
   unsigned int   addedTextView:1
   unsigned int   addedTableShadows:1
   unsigned int   showOverSBAlerts:1
   unsigned int   showMinTableContent:1
   unsigned int   bodyTextTruncated:1
   unsigned int   delegateBodyTextAlignment:1
   unsigned int   extra:31
_asFlags

Ausführliche Beschreibung

Definiert in Zeile 11 der Datei UIAlertSheet.h.


Dokumentation der Elementfunktionen

+ (struct CGSize) minimumSize  

+ (id) topMostAlert  

+ (id) visibleAlert  

+ (BOOL) atLeastOneAlertVisible  

+ (void) _reorientAlertWindowTo: (int)  fp8
animated: (BOOL)  fp12 

+ (void) noteOrientationChangingTo: (int)  fp8  

+ (void) hideTopmostMiniAlert: (int)  fp8  

+ (void) hideAlertsForTermination  

+ (void) showTopmostMiniAlert: (char *)  fp8  

+ (void) wantsToShowMiniAlerts: (char *)  fp8  

+ (BOOL) _hideTopMostAlertAnimated: (BOOL)  fp8  

+ (id) _popupAlertBackground  

- (id) initWithTitle: (id)  fp8
buttons: (id)  fp12
defaultButtonIndex: (int)  fp16
delegate: (id)  fp20
context: (id)  fp24 

Implementiert in UITelAlertSheet.

- (id) initWithFrame: (struct CGRect fp8  

Implementiert UIView.

- (void) dealloc  

Implementiert UIView.

- (BOOL) requiresPortraitOrientation  

Implementiert in PortraitAlertSheet.

- (int) _currentOrientation  

- (void) _setAlertSheetStyleFromButtonBar: (id)  fp8  

- (id) buttons  

- (void) _createTitleLabelIfNeeded  

- (void) _createBodyTextLabelIfNeeded  

- (void) _createTaglineTextLabelIfNeeded  

- (void) _setupTitleStyle  

- (void) setTitle: (id)  fp8  

- (void) setBodyText: (id)  fp8  

- (void) setTaglineText: (id)  fp8  

- (void) setTitleMaxLineCount: (int)  fp8  

- (void) setBodyTextMaxLineCount: (int)  fp8  

- (id) addTextFieldWithValue: (id)  fp8
label: (id)  fp12 

- (id) textFieldAtIndex: (int)  fp8  

- (int) textFieldCount  

- (id) textField  

- (id) keyboard  

- (void) setDefaultButton: (id)  fp8  

- (void) setDestructiveButton: (id)  fp8  

- (id) _addButtonWithTitle: (id)  fp8
label: (id)  fp12
buttonClass: (Class)  fp16 

- (id) addButtonWithTitle: (id)  fp8
label: (id)  fp12 

- (id) addButtonWithTitle: (id)  fp8  

- (id) addButtonWithTitle: (id)  fp8
buttonClass: (Class)  fp12 

- (int) buttonCount  

- (void) setDelegate: (id)  fp8  

- (id) delegate  

- (void) setContext: (id)  fp8  

- (id) context  

- (void) _buttonClicked: (id)  fp8  

- (void) _cleanupAfterPopupAnimation  

- (void) setTableShouldShowMinimumContent: (BOOL)  fp8  

- (id) table  

- (BOOL) _needsKeyboard  

- (void) setShowsOverSpringBoardAlerts: (BOOL)  fp8  

- (void) _performPopup: (BOOL)  fp8  

- (void) _growAnimationDidStop: (id)  fp8
finished: (id)  fp12 

- (void) _bubbleAnimationShrinkDidStop: (id)  fp8
finished: (id)  fp12 

- (void) _bubbleAnimationNormalDidStop: (id)  fp8
finished: (id)  fp12 

- (BOOL) _isAnimating  

- (void) _addToStack  

- (void) _removeFromStack  

- (void) _popoutAnimationDidStop: (id)  fp8
finished: (id)  fp12 

- (void) _performPopoutAnimationAnimated: (BOOL)  fp8  

- (void) _repopup  

- (void) _tellSpringboardShowingSheet: (BOOL)  fp8  

- (void) _tellSpringboardHidingSheet: (BOOL)  fp8  

- (void) _createAlertWindowIfNeeded: (BOOL)  fp8  

- (BOOL) _canShowAlerts  

- (void) _removeAlertWindowOrShowAnOldAlert  

- (void) _temporarilyHideAnimated: (BOOL)  fp8  

- (void) _setupInitialFrame  

- (void) _rotatingAnimationDidStop: (id)  fp8  

- (void) layoutAnimated: (BOOL)  fp8  

- (void) _layoutPopupAlertWithOrientation: (int)  fp8
animated: (BOOL)  fp12 

- (void) _layoutIfNeeded  

- (void) _adjustLabelFontSizes  

- (BOOL) isBodyTextTruncated  

- (void) popupAlertAnimated: (BOOL)  fp8
atOffset: (float)  fp12 

- (void) popupAlertAnimated: (BOOL)  fp8  

- (void) _presentSheetFromView: (id)  fp8
above: (BOOL)  fp12 

- (void) presentSheetFromBehindView: (id)  fp8  

- (void) presentSheetFromAboveView: (id)  fp8  

- (void) presentSheetInView: (id)  fp8  

- (void) presentSheetToAboveView: (id)  fp8  

- (void) _presentSheetStartingFromYCoordinate: (double)  fp8  

- (void) _slideSheetOut: (BOOL)  fp8  

- (void) dismiss  

- (void) dismissAnimated: (BOOL)  fp8  

- (struct CGSize) backgroundSize  

- (float) _titleVerticalTopInset  

- (float) _titleVerticalBottomInset  

- (float) _titleHorizontalInset  

- (float) _bottomVerticalInset  

- (void) drawRect: (struct CGRect fp8  

- (void) _appSuspended: (id)  fp8  

- (void) _alertSheetAnimationDidStop: (id)  fp8
finished: (id)  fp12 

- (void) setNumberOfRows: (int)  fp8  

- (int) alertSheetStyle  

- (void) setAlertSheetStyle: (int)  fp8  

- (void) setDimsBackground: (BOOL)  fp8  

- (void) setSuspendTag: (int)  fp8  

- (void) setBlocksInteraction: (BOOL)  fp8  

- (void) setRunsModal: (BOOL)  fp8  

- (struct CGRect) titleRect  

- (float) _maxHeight  

- (float) _buttonHeight  

- (void) layout  

- (void) presentSheetFromButtonBar: (id)  fp8  


Dokumentation der Datenelemente

- (id) _delegate [protected]

Definiert in Zeile 13 der Datei UIAlertSheet.h.

- (UITextLabel*) _titleLabel [protected]

Definiert in Zeile 14 der Datei UIAlertSheet.h.

- (UITextLabel*) _bodyTextLabel [protected]

Definiert in Zeile 15 der Datei UIAlertSheet.h.

- (UITextLabel*) _taglineTextLabel [protected]

Definiert in Zeile 16 der Datei UIAlertSheet.h.

- (float) _startY [protected]

Definiert in Zeile 17 der Datei UIAlertSheet.h.

- (id) _context [protected]

Definiert in Zeile 18 der Datei UIAlertSheet.h.

- (UIPushButton*) _defaultButton [protected]

Definiert in Zeile 19 der Datei UIAlertSheet.h.

- (UIPushButton*) _destructiveButton [protected]

Definiert in Zeile 20 der Datei UIAlertSheet.h.

- (UIButtonBar*) _buttonBar [protected]

Definiert in Zeile 21 der Datei UIAlertSheet.h.

- (UIWindow*) _dimWindow [protected]

Definiert in Zeile 22 der Datei UIAlertSheet.h.

- (int) _suspendTag [protected]

Definiert in Zeile 23 der Datei UIAlertSheet.h.

- (float) _bodyTextHeight [protected]

Definiert in Zeile 24 der Datei UIAlertSheet.h.

- (NSMutableArray*) _buttons [protected]

Definiert in Zeile 25 der Datei UIAlertSheet.h.

- (NSMutableArray*) _textFields [protected]

Definiert in Zeile 26 der Datei UIAlertSheet.h.

- (UIKeyboard*) _keyboard [protected]

Definiert in Zeile 27 der Datei UIAlertSheet.h.

- (UITable*) _table [protected]

Definiert in Zeile 28 der Datei UIAlertSheet.h.

- (int) _orientation [protected]

Definiert in Zeile 29 der Datei UIAlertSheet.h.

- (unsigned int) numberOfRows [protected]

Definiert in Zeile 31 der Datei UIAlertSheet.h.

- (unsigned int) delegateAlertSheetButtonClicked [protected]

Definiert in Zeile 32 der Datei UIAlertSheet.h.

- (unsigned int) delegateDidPresentAlertSheet [protected]

Definiert in Zeile 33 der Datei UIAlertSheet.h.

- (unsigned int) delegateDidDismissAlertSheet [protected]

Definiert in Zeile 34 der Datei UIAlertSheet.h.

- (unsigned int) hideButtonBar [protected]

Definiert in Zeile 35 der Datei UIAlertSheet.h.

- (unsigned int) alertStyle [protected]

Definiert in Zeile 36 der Datei UIAlertSheet.h.

- (unsigned int) dontDimBackground [protected]

Definiert in Zeile 37 der Datei UIAlertSheet.h.

- (unsigned int) dismissSuspended [protected]

Definiert in Zeile 38 der Datei UIAlertSheet.h.

- (unsigned int) dontBlockInteraction [protected]

Definiert in Zeile 39 der Datei UIAlertSheet.h.

- (unsigned int) sheetWasPoppedUp [protected]

Definiert in Zeile 40 der Datei UIAlertSheet.h.

- (unsigned int) animating [protected]

Definiert in Zeile 41 der Datei UIAlertSheet.h.

- (unsigned int) hideWhenDoneAnimating [protected]

Definiert in Zeile 42 der Datei UIAlertSheet.h.

- (unsigned int) titleMaxLineCount [protected]

Definiert in Zeile 43 der Datei UIAlertSheet.h.

- (unsigned int) bodyTextMaxLineCount [protected]

Definiert in Zeile 44 der Datei UIAlertSheet.h.

- (unsigned int) runsModal [protected]

Definiert in Zeile 45 der Datei UIAlertSheet.h.

- (unsigned int) runningModal [protected]

Definiert in Zeile 46 der Datei UIAlertSheet.h.

- (unsigned int) addedTextView [protected]

Definiert in Zeile 47 der Datei UIAlertSheet.h.

- (unsigned int) addedTableShadows [protected]

Definiert in Zeile 48 der Datei UIAlertSheet.h.

- (unsigned int) showOverSBAlerts [protected]

Definiert in Zeile 49 der Datei UIAlertSheet.h.

- (unsigned int) showMinTableContent [protected]

Definiert in Zeile 50 der Datei UIAlertSheet.h.

- (unsigned int) bodyTextTruncated [protected]

Definiert in Zeile 51 der Datei UIAlertSheet.h.

- (unsigned int) delegateBodyTextAlignment [protected]

Definiert in Zeile 52 der Datei UIAlertSheet.h.

- (unsigned int) extra [protected]

Definiert in Zeile 53 der Datei UIAlertSheet.h.

struct { ... } UIAlertSheet::_asFlags [protected]


Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Datei: