Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: ucb ::

interface XProgressHandler
Description
Handle a tasks notification that it has made some progress.

Methods' Summary
push The task notifies the handler that it has started some new activity (possibly a sub-activity of another activity already making progress; therefore, these notifications behave in a stack-like manner).  
update The task notifies the handler that its current activity is making progress.  
pop The task notifies the handler that it has finished its current activity.  
Methods' Details
push
void
push( [in] any  Status );

Description
The task notifies the handler that it has started some new activity (possibly a sub-activity of another activity already making progress; therefore, these notifications behave in a stack-like manner).
Parameter Status
An object representing the new activity. There has to be an agreement between caller and callee of methods XProgressHandler::push and XProgressHandler::update as to which Status arguments are meaningful. For example, a string argument to XProgressHandler::push should be used to transport some status text that describes the progress being made (possibly followed by one or more XProgressHandler::updates with string arguments, if the appropriate status text changes as progress is being made).
update
void
update( [in] any  Status );

Description
The task notifies the handler that its current activity is making progress.
Parameter Status
An object representing the progress made. See the documentation of XProgressHandler::push for more information.
pop
void
pop();

Description
The task notifies the handler that it has finished its current activity.
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.