FreeRDP
BlockAlertView Class Reference

#import <BlockAlertView.h>

Inheritance diagram for BlockAlertView:
Collaboration diagram for BlockAlertView:

Instance Methods

(id) - initWithTitle:message:
 
(void) - setDestructiveButtonWithTitle:block:
 
(void) - setCancelButtonWithTitle:block:
 
(void) - addButtonWithTitle:block:
 
(void) - addComponents:
 
(void) - show
 
(void) - dismissWithClickedButtonIndex:animated:
 
(void) - setupDisplay
 

Class Methods

(BlockAlertView *) + alertWithTitle:message:
 
(void) + showInfoAlertWithTitle:message:
 
(void) + showErrorAlert:
 

Protected Attributes

UIView * _view
 
NSMutableArray * _blocks
 
CGFloat _height
 
NSString * _title
 
NSString * _message
 
BOOL _shown
 
BOOL _cancelBounce
 

Properties

UIImage * backgroundImage
 
UIView * view
 
BOOL vignetteBackground
 

Method Documentation

◆ addButtonWithTitle:block:

- (void) addButtonWithTitle: (NSString *)  title
block: (void(^)())  block 

◆ addComponents:

- (void) addComponents: (CGRect)  frame

◆ alertWithTitle:message:

+ (BlockAlertView *) alertWithTitle: (NSString *)  title
message: (NSString *)  message 

◆ dismissWithClickedButtonIndex:animated:

- (void) dismissWithClickedButtonIndex: (NSInteger)  buttonIndex
animated: (BOOL)  animated 

◆ initWithTitle:message:

- (id) initWithTitle: (NSString *)  title
message: (NSString *)  message 

◆ setCancelButtonWithTitle:block:

- (void) setCancelButtonWithTitle: (NSString *)  title
block: (void(^)())  block 

◆ setDestructiveButtonWithTitle:block:

- (void) setDestructiveButtonWithTitle: (NSString *)  title
block: (void(^)())  block 

◆ setupDisplay

- (void) setupDisplay

◆ show

- (void) show

◆ showErrorAlert:

+ (void) showErrorAlert: (NSError *)  error

◆ showInfoAlertWithTitle:message:

+ (void) showInfoAlertWithTitle: (NSString *)  title
message: (NSString *)  message 

Field Documentation

◆ _blocks

- (NSMutableArray*) _blocks
protected

◆ _cancelBounce

- (BOOL) _cancelBounce
protected

◆ _height

- (CGFloat) _height
protected

◆ _message

- (NSString*) _message
protected

◆ _shown

- (BOOL) _shown
protected

◆ _title

- (NSString*) _title
protected

◆ _view

- (UIView*) _view
protected

Property Documentation

◆ backgroundImage

- (UIImage*) backgroundImage
readwritenonatomicretain

◆ view

- (UIView*) view
readnonatomicassign

◆ vignetteBackground

- (BOOL) vignetteBackground
readwritenonatomicassign

The documentation for this class was generated from the following files: