:: com :: sun :: star :: script ::
|
unpublished |
interface XDefaultProperty |
|
|
|
- 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 © 2010 Sun Microsystems, Inc.