C# Class BigTed.ProgressHUD

Inheritance: UIView
ファイルを表示 Open project: nicwise/BTProgressHUD Class Usage Examples

Public Properties

Property Type Description
HudBackgroundColour UIColor
HudFont UIFont
HudForegroundColor UIColor
HudStatusShadowColor UIColor
HudTextAlignment UITextAlignment
HudToastBackgroundColor UIColor
Ring Ring

Private Properties

Property Type Description
CreateCirclePath UIBezierPath
CreateRingLayer CAShapeLayer
PointOnCircle global::System.Drawing.PointF
ProgressHUD CoreAnimation

Public Methods

Method 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

Method 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 method

public CancelRingLayerAnimation ( ) : void
return void

Dismiss() public method

public Dismiss ( ) : void
return void

DismissWorker() public method

public DismissWorker ( ) : void
return void

Draw() public method

public Draw ( global::System.Drawing.RectangleF rect ) : void
rect global::System.Drawing.RectangleF
return void

IsLandscape() public method

public IsLandscape ( UIInterfaceOrientation orientation ) : bool
orientation UIInterfaceOrientation
return bool

IsPortrait() public method

public IsPortrait ( UIInterfaceOrientation orientation ) : bool
orientation UIInterfaceOrientation
return bool

MoveToPoint() public method

public MoveToPoint ( global::System.Drawing.PointF newCenter, float angle ) : void
newCenter global::System.Drawing.PointF
angle float
return void

PositionHUD() public method

public PositionHUD ( NSNotification notification ) : void
notification NSNotification
return void

ProgressHUD() public method

public ProgressHUD ( global::System.Drawing.RectangleF frame ) : CoreAnimation
frame global::System.Drawing.RectangleF
return CoreAnimation

RegisterNotifications() public method

public RegisterNotifications ( ) : void
return void

SetFadeoutTimer() public method

public SetFadeoutTimer ( NSTimer newtimer ) : void
newtimer NSTimer
return void

SetOSSpecificLookAndFeel() public method

public SetOSSpecificLookAndFeel ( ) : void
return void

SetProgressTimer() public method

public SetProgressTimer ( NSTimer newtimer ) : void
newtimer NSTimer
return void

SetStatus() public method

public SetStatus ( string status ) : void
status string
return void

SetStatusWorker() public method

public SetStatusWorker ( string status ) : void
status string
return void

Show() public method

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
return void

Show() public method

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

ShowContinuousProgress() public method

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

ShowContinuousProgressTest() public method

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

ShowErrorWithStatus() public method

public ShowErrorWithStatus ( string status, double timeoutMs = 1000 ) : void
status string
timeoutMs double
return void

ShowImage() public method

public ShowImage ( UIImage image, string status, double timeoutMs = 1000 ) : void
image UIImage
status string
timeoutMs double
return void

ShowImageWorker() public method

public ShowImageWorker ( UIImage image, string status, TimeSpan duration ) : void
image UIImage
status string
duration TimeSpan
return void

ShowProgressWorker() public method

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
return void

ShowSuccessWithStatus() public method

public ShowSuccessWithStatus ( string status, double timeoutMs = 1000 ) : void
status string
timeoutMs double
return void

ShowToast() public method

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

StartDismissTimer() public method

public StartDismissTimer ( TimeSpan duration ) : void
duration TimeSpan
return void

StartProgressTimer() public method

public StartProgressTimer ( TimeSpan duration ) : void
duration TimeSpan
return void

StopProgressTimer() public method

public StopProgressTimer ( ) : void
return void

UnRegisterNotifications() public method

public UnRegisterNotifications ( ) : void
return void

UpdatePosition() public method

public UpdatePosition ( bool textOnly = false ) : void
textOnly bool
return void

UpdateProgress() public method

public UpdateProgress ( ) : void
return void

Property Details

HudBackgroundColour public_oe property

public UIColor HudBackgroundColour
return UIColor

HudFont public_oe property

public UIFont HudFont
return UIFont

HudForegroundColor public_oe property

public UIColor HudForegroundColor
return UIColor

HudStatusShadowColor public_oe property

public UIColor HudStatusShadowColor
return UIColor

HudTextAlignment public_oe property

public UITextAlignment HudTextAlignment
return UITextAlignment

HudToastBackgroundColor public_oe property

public UIColor HudToastBackgroundColor
return UIColor

Ring public_oe property

public Ring Ring
return Ring