Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.13

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: beans ::

template struct Defaulted<T>
Description
A value of a given type that can be defaulted.

This structure is used as the type of interface attributes corresponding to instances of Property that have the PropertyAttribute::MAYBEDEFAULT.


Elements' Summary
Value The underlying value of this structure instance.  
IsDefaulted Marks this structure instance as defaulted.  
Elements' Details
Value
T Value;
Description
The underlying value of this structure instance.

Even if this structure instance is defaulted, this member should contain a useful value. If there is no useful value for a defaulted structure instance, Optional can be used as the type of this member.

IsDefaulted
boolean IsDefaulted;
Description
Marks this structure instance as defaulted.
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.