C# Class BigTed.ProgressHUD

Inheritance: UIView
Afficher le fichier Open project: nicwise/BTProgressHUD Class Usage Examples

Méthodes publiques

Свойство Type Description
HudBackgroundColour UIColor
HudFont UIFont
HudForegroundColor UIColor
HudStatusShadowColor UIColor
HudTextAlignment UITextAlignment
HudToastBackgroundColor UIColor
Ring Ring

Private Properties

Свойство Type Description
CreateCirclePath UIBezierPath
CreateRingLayer CAShapeLayer
PointOnCircle global::System.Drawing.PointF
ProgressHUD CoreAnimation

Méthodes publiques

Méthode Description
CancelRingLayerAnimation ( ) : void
Dismiss ( ) : void
DismissWorker ( ) : void
Draw ( global::System.Drawing.RectangleF rect ) : void
IsLandscape ( UIInterfaceOrientation orientation ) : bool
IsPortrait ( UIInterfaceOrientation orientation ) : bool
MoveToPoint ( global::System.Drawing.PointF newCenter, float angle ) : void
PositionHUD ( NSNotification notification ) : void
ProgressHUD ( global::System.Drawing.RectangleF frame ) : CoreAnimation
RegisterNotifications ( ) : void
SetFadeoutTimer ( NSTimer newtimer ) : void
SetOSSpecificLookAndFeel ( ) : void
SetProgressTimer ( NSTimer newtimer ) : void
SetStatus ( string status ) : void
SetStatusWorker ( string status ) : void
Show ( string cancelCaption, Action cancelCallback, string status = null, float progress = -1, MaskType maskType = MaskType.None, double timeoutMs = 1000 ) : void
Show ( string status = null, float progress = -1, MaskType maskType = MaskType.None, double timeoutMs = 1000 ) : void
ShowContinuousProgress ( string status = null, MaskType maskType = MaskType.None, double timeoutMs = 1000, UIImage img = null ) : void
ShowContinuousProgressTest ( string status = null, MaskType maskType = MaskType.None, double timeoutMs = 1000 ) : void
ShowErrorWithStatus ( string status, double timeoutMs = 1000 ) : void
ShowImage ( UIImage image, string status, double timeoutMs = 1000 ) : void
ShowImageWorker ( UIImage image, string status, TimeSpan duration ) : void
ShowProgressWorker ( float progress = -1, string status = null, MaskType maskType = MaskType.None, bool textOnly = false, ToastPosition toastPosition = ToastPosition.Center, string cancelCaption = null, Action cancelCallback = null, double timeoutMs = 1000, bool showContinuousProgress = false, UIImage displayContinuousImage = null ) : void
ShowSuccessWithStatus ( string status, double timeoutMs = 1000 ) : void
ShowToast ( string status, MaskType maskType = MaskType.None, ToastPosition toastPosition = ToastPosition.Center, double timeoutMs = 1000 ) : void
StartDismissTimer ( TimeSpan duration ) : void
StartProgressTimer ( TimeSpan duration ) : void
StopProgressTimer ( ) : void
UnRegisterNotifications ( ) : void
UpdatePosition ( bool textOnly = false ) : void
UpdateProgress ( ) : void

Private Methods

Méthode Description
CreateCirclePath ( global::System.Drawing.PointF center, float radius, int sampleCount ) : UIBezierPath
CreateRingLayer ( global::System.Drawing.PointF center, float radius, float lineWidth, UIColor color ) : CAShapeLayer
PointOnCircle ( global::System.Drawing.PointF center, float radius, float angleInDegrees ) : global::System.Drawing.PointF
ProgressHUD ( ) : CoreAnimation

Method Details

CancelRingLayerAnimation() public méthode

public CancelRingLayerAnimation ( ) : void
Résultat void

Dismiss() public méthode

public Dismiss ( ) : void
Résultat void

DismissWorker() public méthode

public DismissWorker ( ) : void
Résultat void

Draw() public méthode

public Draw ( global::System.Drawing.RectangleF rect ) : void
rect global::System.Drawing.RectangleF
Résultat void

IsLandscape() public méthode

public IsLandscape ( UIInterfaceOrientation orientation ) : bool
orientation UIInterfaceOrientation
Résultat bool

IsPortrait() public méthode

public IsPortrait ( UIInterfaceOrientation orientation ) : bool
orientation UIInterfaceOrientation
Résultat bool

MoveToPoint() public méthode

public MoveToPoint ( global::System.Drawing.PointF newCenter, float angle ) : void
newCenter global::System.Drawing.PointF
angle float
Résultat void

PositionHUD() public méthode

public PositionHUD ( NSNotification notification ) : void
notification NSNotification
Résultat void

ProgressHUD() public méthode

public ProgressHUD ( global::System.Drawing.RectangleF frame ) : CoreAnimation
frame global::System.Drawing.RectangleF
Résultat CoreAnimation

RegisterNotifications() public méthode

public RegisterNotifications ( ) : void
Résultat void

SetFadeoutTimer() public méthode

public SetFadeoutTimer ( NSTimer newtimer ) : void
newtimer NSTimer
Résultat void

SetOSSpecificLookAndFeel() public méthode

public SetOSSpecificLookAndFeel ( ) : void
Résultat void

SetProgressTimer() public méthode

public SetProgressTimer ( NSTimer newtimer ) : void
newtimer NSTimer
Résultat void

SetStatus() public méthode

public SetStatus ( string status ) : void
status string
Résultat void

SetStatusWorker() public méthode

public SetStatusWorker ( string status ) : void
status string
Résultat void

Show() public méthode

public Show ( string cancelCaption, Action cancelCallback, string status = null, float progress = -1, MaskType maskType = MaskType.None, double timeoutMs = 1000 ) : void
cancelCaption string
cancelCallback Action
status string
progress float
maskType MaskType
timeoutMs double
Résultat void

Show() public méthode

public Show ( string status = null, float progress = -1, MaskType maskType = MaskType.None, double timeoutMs = 1000 ) : void
status string
progress float
maskType MaskType
timeoutMs double
Résultat void

ShowContinuousProgress() public méthode

public ShowContinuousProgress ( string status = null, MaskType maskType = MaskType.None, double timeoutMs = 1000, UIImage img = null ) : void
status string
maskType MaskType
timeoutMs double
img UIImage
Résultat void

ShowContinuousProgressTest() public méthode

public ShowContinuousProgressTest ( string status = null, MaskType maskType = MaskType.None, double timeoutMs = 1000 ) : void
status string
maskType MaskType
timeoutMs double
Résultat void

ShowErrorWithStatus() public méthode

public ShowErrorWithStatus ( string status, double timeoutMs = 1000 ) : void
status string
timeoutMs double
Résultat void

ShowImage() public méthode

public ShowImage ( UIImage image, string status, double timeoutMs = 1000 ) : void
image UIImage
status string
timeoutMs double
Résultat void

ShowImageWorker() public méthode

public ShowImageWorker ( UIImage image, string status, TimeSpan duration ) : void
image UIImage
status string
duration TimeSpan
Résultat void

ShowProgressWorker() public méthode

public ShowProgressWorker ( float progress = -1, string status = null, MaskType maskType = MaskType.None, bool textOnly = false, ToastPosition toastPosition = ToastPosition.Center, string cancelCaption = null, Action cancelCallback = null, double timeoutMs = 1000, bool showContinuousProgress = false, UIImage displayContinuousImage = null ) : void
progress float
status string
maskType MaskType
textOnly bool
toastPosition ToastPosition
cancelCaption string
cancelCallback Action
timeoutMs double
showContinuousProgress bool
displayContinuousImage UIImage
Résultat void

ShowSuccessWithStatus() public méthode

public ShowSuccessWithStatus ( string status, double timeoutMs = 1000 ) : void
status string
timeoutMs double
Résultat void

ShowToast() public méthode

public ShowToast ( string status, MaskType maskType = MaskType.None, ToastPosition toastPosition = ToastPosition.Center, double timeoutMs = 1000 ) : void
status string
maskType MaskType
toastPosition ToastPosition
timeoutMs double
Résultat void

StartDismissTimer() public méthode

public StartDismissTimer ( TimeSpan duration ) : void
duration TimeSpan
Résultat void

StartProgressTimer() public méthode

public StartProgressTimer ( TimeSpan duration ) : void
duration TimeSpan
Résultat void

StopProgressTimer() public méthode

public StopProgressTimer ( ) : void
Résultat void

UnRegisterNotifications() public méthode

public UnRegisterNotifications ( ) : void
Résultat void

UpdatePosition() public méthode

public UpdatePosition ( bool textOnly = false ) : void
textOnly bool
Résultat void

UpdateProgress() public méthode

public UpdateProgress ( ) : void
Résultat void

Property Details

HudBackgroundColour public_oe property

public UIColor HudBackgroundColour
Résultat UIColor

HudFont public_oe property

public UIFont HudFont
Résultat UIFont

HudForegroundColor public_oe property

public UIColor HudForegroundColor
Résultat UIColor

HudStatusShadowColor public_oe property

public UIColor HudStatusShadowColor
Résultat UIColor

HudTextAlignment public_oe property

public UITextAlignment HudTextAlignment
Résultat UITextAlignment

HudToastBackgroundColor public_oe property

public UIColor HudToastBackgroundColor
Résultat UIColor

Ring public_oe property

public Ring Ring
Résultat Ring