Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


:: com :: sun :: star :: script ::

unpublished interface XDefaultMethod
Usage Restrictions
not published
Description
An object supporting this interface indicates to interested parties or clients the name of the default method for this object.

For example where ExampleObject is an instance of an Object that supports this interface which returns the default method name "defaultMethod".A scripting engine could use this information to support syntax like

"ExampleObject( Param1 .... ParamN )"

which would be equivalent to writing

"ExampleObject.defaultMethod( Param1 ... ParamN )"


Methods' Summary
getDefaultMethodName Returns the name of the default method  
Methods' Details
getDefaultMethodName
string
getDefaultMethodName();

Description
Returns the name of the default method
Returns
The string name of default method
Top of Page

Apache Software Foundation

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

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, 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.