(incubating) | The Free and Open Productivity Suite
Announcing Apache OpenOffice 3.4

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: 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 Feather

Copyright & License | Privacy | Contact Us

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

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.