(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 :: form ::

interface XLoadable
Description
provides functionality to implement objects which may be loaded.

The object is typically implemented by high-level objects which can connect to a data source.

See also
XLoadListener
Developers Guide
Forms - Loadable Forms

Methods' Summary
load loads the data.  
unload unloads the data.  
reload does a smart refresh of the object.  
isLoaded returns if the object is in loaded state.  
addLoadListener adds the specified listener to receive load-related events  
removeLoadListener removes the specified listener.  
Methods' Details
load
[oneway] void
load();

Description
loads the data.

If the data is already loaded (->isLoaded), then the method returns silently. In this case, you should use ->reload.

unload
[oneway] void
unload();

Description
unloads the data.
reload
[oneway] void
reload();

Description
does a smart refresh of the object.

The final state will be the same as if unload and load were called, but reload is the more efficient way to do the same. If the object isn't loaded, nothing happens.

isLoaded
boolean
isLoaded();

Description
returns if the object is in loaded state.
addLoadListener
[oneway] void
addLoadListener( [in] XLoadListener  aListener );

Description
adds the specified listener to receive load-related events
Parameter aListener
the listener to add.
removeLoadListener
[oneway] void
removeLoadListener( [in] XLoadListener  aListener );

Description
removes the specified listener.
Parameter aListener
the listener to remove.
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.