Progress Box

Overview

Progress Box is a popup box with title, text, one or more buttons and a Spinner to demonstrate loading

Source Code

Methods

Type

Name

Description

Constructor

ProgressBox(String title, String msg)

Creates a ProgressBox with text and an Ok Button

Constructor

ProgressBox(String title, String text, String[ ] buttonCaptions)

Creates a ProgressBox with text and the specified Button

Constructor

ProgressBox(String title, String text, String[ ] buttonCaptions, boolean allSameWidth)

Creates a ProgressBox with text and the specified Buttons. The boolean sets the buttons to have the same width

Constructor

ProgressBox(String title, String text, String[ ] buttonCaptions, boolean allSameWidth, int gap, int insideGap)

Creates a ProgressBox with text and the specified Buttons. The boolean sets the buttons to have the same width. The integers specify the external and internal spacing, respectively.

Constructor

ProgressBox(String title, String text, String[ ] buttonCaptions, int gap, int insideGap)

Creates a ProgressBox with text and the specified Buttons. The integers specify the external and internal spacing, respectively

void

onPopup( )

Method called immediately before showing the ProgressBox

References

Last updated

Was this helpful?