BBjProgressBar
Description
In BBj 3.0 and higher, the BBjProgressBar object provides methods for manipulating a GUI progress bar control.
Implemented Interfaces
Creation
BBjAPI > BBjSysGui > BBjWindow > BBjProgressBar
A BBjProgressBar object is created through the following BBjWindow methods:
Return Value |
Method |
---|---|
BBjProgressBar |
addProgressBar(int ID, number x, number y, number width, int height) |
BBjProgressBar |
addProgressBar(int ID, number x, number y, number width, number height, int minimum, int maximum) |
BBjProgressBar |
addProgressBar(int ID, number x, number y, number width, number height, int orientation) |
BBjProgressBar |
addProgressBar(int ID, number x, number y, number width, number height, int orientation, int minimum, int maximum) |
BBjProgressBar |
addProgressBar(int ID) |
BBjProgressBar |
addProgressBar(int ID, int min, int max) |
BBjProgressBar |
addProgressBar(int ID, int orientation) |
BBjProgressBar |
addProgressBar(int ID, int orientation, int min, int max) |
BBjProgressBar |
Methods of BBjProgressBar
Return Value |
Method |
int |
|
int |
|
int |
|
string |
getText() |
int |
getValue() |
boolean |
|
boolean |
|
void |
setIndeterminate(boolean indeterminate) |
void |
setMaximum(int maximum) |
void |
setMinimum(int minimum) |
void |
setOrientation(int orientation) |
void |
setStringPainted(boolean value) |
void |
setText(String text) |
void |
setValue(int value) |
Methods of BBjProgressBar implemented for DropTarget
Return Value | Method |
---|---|
int | getDropActions() |
void | setDropActions(int actions) |
BBjVector | getDropTypes() |
void | setDropTypes(BBjVector types) |
Methods of BBjProgressBar inherited from BBjControl
Events
Callback Code |
Object-oriented Event |
Read Record Event |
Code |
ON_DROP_TARGET_DROP |
D |
||
ON_GAINED_FOCUS |
f |
||
ON_LOST_FOCUS |
f |
||
ON_MOUSE_ENTER |
E |
||
ON_MOUSE_EXIT |
E |
||
ON_POPUP_REQUEST |
r |
||
ON_RIGHT_MOUSE_DOWN |
R |
CSS
The visual appearance of BUI controls is defined using CSS (cascading style sheets) rules. Easily change the default colors, border, and other settings by customizing these rules, all without changing any application code. See CSS API for a high-level overview of BUI CSS.
The BBjProgressBar defines the following CSS style names:
.BBjProgressBar
.BBjProgressBar.bbj-disabled
.BBjProgressBar-bar
.BBjProgressBar-text
.BBjProgressBar-text-firstHalf
.BBjProgressBar-text-secondHalf
Remarks
None.
Constants inherited from BBjControl
Example
|
See Also
CALLBACK Verb - Register BBj Subroutine
DWC Component: dwc-progressbar
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.