Difference between revisions of "Documentation/DevGuide/AppendixA/Properties"

From Apache OpenOffice Wiki
Jump to: navigation, search
(Initial author Sun Microsystems, Inc.)
 
m (FINAL VERSION FOR L10N)
 
(3 intermediate revisions by 2 users not shown)
Line 5: Line 5:
 
|NextPage=Documentation/DevGuide/AppendixA/Events
 
|NextPage=Documentation/DevGuide/AppendixA/Events
 
}}
 
}}
{{DISPLAYTITLE:Properties}}
+
{{Documentation/DevGuideLanguages|Documentation/DevGuide/AppendixA/{{SUBPAGENAME}}}}
 +
{{DISPLAYTITLE:Properties}}
 
Properties are descriptive attributes of an objects that can be queried and changed at runtime using the <code>XPropertySet</code> interface.  
 
Properties are descriptive attributes of an objects that can be queried and changed at runtime using the <code>XPropertySet</code> interface.  
  
Line 17: Line 18:
  
 
{{PDL1}}
 
{{PDL1}}
[[Category: Appendix]]
+
 
 +
[[Category:Documentation/Developer's Guide/Appendix]]

Latest revision as of 09:01, 18 May 2009



Properties are descriptive attributes of an objects that can be queried and changed at runtime using the XPropertySet interface.

Naming

In non-scripting languages, such as Java or C/C++, property identifiers are simply strings. These identifiers always begin with an uppercase letter and use initial caps, for example, BackgroundColor. Avoid abbreviations.

Usage

Properties are used for non-structural attributes of an object. For structural attributes (composition) use get and set methods in an interface instead.

Content on this page is licensed under the Public Documentation License (PDL).
Personal tools
In other languages