:: com :: sun :: star :: script ::
|
unpublished |
interface XDefaultProperty |
|
|
|
- Usage Restrictions
- not published
- Description
- An object supporting this interface indicates to interested
parties or clients the name of the default propery for
this object.
For example where ExampleObject is an instance of an Object that
supports this interface which returns the default property name
"Value".A scripting engine could use this information to support
syntax like ExampleObject = "foo"
which would be equivalent to writing
ExampleObject.Value = "foo"
or
bar = ExampleObject
which would be equivalent to writing
bar = ExampleObject.Value
|
Methods' Details |
getDefaultPropertyName
string |
getDefaultPropertyName(); |
- Description
- Returns the name of the default property
- Returns
- The
string name of default property
|
|
Top of Page
Copyright © 2012, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.