Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: awt ::

interface XProgressBar
Description
gives access to the value and settings of a progress bar.

Methods' Summary
setForegroundColor sets the foreground color (RGB) of the control.  
setBackgroundColor sets the background color (RGB) of the control.  
setRange sets the minimum and the maximum progress value of the progress bar.  
setValue sets the progress value of the progress bar.  
getValue returns the current progress value of the progress bar.  
Methods' Details
setForegroundColor
[oneway] void
setForegroundColor( [in] ::com::sun::star::util::Color  Color );

Description
sets the foreground color (RGB) of the control.
setBackgroundColor
[oneway] void
setBackgroundColor( [in] ::com::sun::star::util::Color  Color );

Description
sets the background color (RGB) of the control.
setRange
[oneway] void
setRange( [in] long  Min,
[in] long  Max );

Description
sets the minimum and the maximum progress value of the progress bar.

If the minimum value is greater than the maximum value, the method exchanges the values automatically.

setValue
[oneway] void
setValue( [in] long  Value );

Description
sets the progress value of the progress bar.
getValue
long
getValue();

Description
returns the current progress value of the progress bar.
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.