<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.7.0-internal) on Thu Oct 16 10:00:05 EDT 2008 --> <TITLE> PropertySet (Java UNO Runtime Reference) </TITLE> <META NAME="date" CONTENT="2008-10-16"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="PropertySet (Java UNO Runtime Reference)"; } } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <HR> <!-- ========= START OF TOP NAVBAR ======= --> <A NAME="navbar_top"><!-- --></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/PropertySet.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> UDK 3.2.7 Java API Reference</EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../../com/sun/star/lib/uno/helper/MultiTypeInterfaceContainer.html" title="class in com.sun.star.lib.uno.helper"><B>PREV CLASS</B></A> <A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySetMixin.html" title="class in com.sun.star.lib.uno.helper"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../../index.html?com/sun/star/lib/uno/helper/PropertySet.html" target="_top"><B>FRAMES</B></A> <A HREF="PropertySet.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <!-- ======== START OF CLASS DATA ======== --> <H2> <FONT SIZE="-1"> com.sun.star.lib.uno.helper</FONT> <BR> Class PropertySet</H2> <PRE> <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A> <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../../com/sun/star/lib/uno/helper/WeakBase.html" title="class in com.sun.star.lib.uno.helper">com.sun.star.lib.uno.helper.WeakBase</A> <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../../com/sun/star/lib/uno/helper/ComponentBase.html" title="class in com.sun.star.lib.uno.helper">com.sun.star.lib.uno.helper.ComponentBase</A> <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by "><B>com.sun.star.lib.uno.helper.PropertySet</B> </PRE> <DL> <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../../../../common/ref/com/sun/star/beans/XFastPropertySet.html?is-external=true" title="class or interface in com.sun.star.beans">XFastPropertySet</A>, <A HREF="../../../../../../../../common/ref/com/sun/star/beans/XMultiPropertySet.html?is-external=true" title="class or interface in com.sun.star.beans">XMultiPropertySet</A>, <A HREF="../../../../../../../../common/ref/com/sun/star/beans/XPropertySet.html?is-external=true" title="class or interface in com.sun.star.beans">XPropertySet</A>, <A HREF="../../../../../../../../common/ref/com/sun/star/lang/XComponent.html?is-external=true" title="class or interface in com.sun.star.lang">XComponent</A>, <A HREF="../../../../../../../../common/ref/com/sun/star/lang/XTypeProvider.html?is-external=true" title="class or interface in com.sun.star.lang">XTypeProvider</A>, <A HREF="../../../../../../../../common/ref/com/sun/star/uno/XInterface.html?is-external=true" title="class or interface in com.sun.star.uno">XInterface</A>, <A HREF="../../../../../../../../common/ref/com/sun/star/uno/XWeak.html?is-external=true" title="class or interface in com.sun.star.uno">XWeak</A></DD> </DL> <HR> <DL> <DT><PRE>public class <B>PropertySet</B><DT>extends <A HREF="../../../../../../com/sun/star/lib/uno/helper/ComponentBase.html" title="class in com.sun.star.lib.uno.helper">ComponentBase</A><DT>implements <A HREF="../../../../../../../../common/ref/com/sun/star/beans/XPropertySet.html?is-external=true" title="class or interface in com.sun.star.beans">XPropertySet</A>, <A HREF="../../../../../../../../common/ref/com/sun/star/beans/XFastPropertySet.html?is-external=true" title="class or interface in com.sun.star.beans">XFastPropertySet</A>, <A HREF="../../../../../../../../common/ref/com/sun/star/beans/XMultiPropertySet.html?is-external=true" title="class or interface in com.sun.star.beans">XMultiPropertySet</A></DL> </PRE> <P> This class is an implementation of the interfaces com.sun.star.beans.XPropertySet, com.sun.star.beans.XFastPropertySet and com.sun.star.beans.XMultiPropertySet. This class has to be inherited to be used. The values of properties are stored in member variables of the inheriting class. By overriding the methods <A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#convertPropertyValue(com.sun.star.beans.Property, java.lang.Object[], java.lang.Object[], java.lang.Object)"><CODE>convertPropertyValue</CODE></A>, <A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#setPropertyValueNoBroadcast(com.sun.star.beans.Property, java.lang.Object)"><CODE>setPropertyValueNoBroadcast</CODE></A> and <A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#getPropertyValue(com.sun.star.beans.Property)"><CODE>getPropertyValue(Property)</CODE></A> one can determine how property values are stored. When using the supplied implementations of this class then the member variables which hold property values have to be declared in the class which inherits last in the inheriting chain and they have to be public<p> Properties have to be registered by one of the registerProperty methods. They take among other arguments an Object named <em>id</em> which has to be a String that represents the name of the member variable. The registering has to occur in the constructor of the inheriting class. It is no allowed to add or change properties later on.<p> Example: <pre> public class Foo extends PropertySet { protected int intProp; public Foo() { registerProperty("PropertyA", 0, new Type(int.class), (short)0, "intProp"); } } </pre> <P> <P> <HR> <P> <!-- =========== FIELD SUMMARY =========== --> <A NAME="field_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Field Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected <A HREF="../../../../../../com/sun/star/lib/uno/helper/MultiTypeInterfaceContainer.html" title="class in com.sun.star.lib.uno.helper">MultiTypeInterfaceContainer</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#aBoundLC">aBoundLC</A></B></CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected <A HREF="../../../../../../com/sun/star/lib/uno/helper/MultiTypeInterfaceContainer.html" title="class in com.sun.star.lib.uno.helper">MultiTypeInterfaceContainer</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#aVetoableLC">aVetoableLC</A></B></CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected <A HREF="../../../../../../../../common/ref/com/sun/star/beans/XPropertySetInfo.html?is-external=true" title="class or interface in com.sun.star.beans">XPropertySetInfo</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#propertySetInfo">propertySetInfo</A></B></CODE> <BR> </TD> </TR> </TABLE> <A NAME="fields_inherited_from_class_com.sun.star.lib.uno.helper.ComponentBase"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Fields inherited from class com.sun.star.lib.uno.helper.<A HREF="../../../../../../com/sun/star/lib/uno/helper/ComponentBase.html" title="class in com.sun.star.lib.uno.helper">ComponentBase</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../../../com/sun/star/lib/uno/helper/ComponentBase.html#bDisposed">bDisposed</A>, <A HREF="../../../../../../com/sun/star/lib/uno/helper/ComponentBase.html#bInDispose">bInDispose</A>, <A HREF="../../../../../../com/sun/star/lib/uno/helper/ComponentBase.html#listenerContainer">listenerContainer</A></CODE></TD> </TR> </TABLE> <A NAME="fields_inherited_from_class_com.sun.star.lib.uno.helper.WeakBase"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Fields inherited from class com.sun.star.lib.uno.helper.<A HREF="../../../../../../com/sun/star/lib/uno/helper/WeakBase.html" title="class in com.sun.star.lib.uno.helper">WeakBase</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../../../com/sun/star/lib/uno/helper/WeakBase.html#_mapImplementationIds">_mapImplementationIds</A>, <A HREF="../../../../../../com/sun/star/lib/uno/helper/WeakBase.html#_mapTypes">_mapTypes</A></CODE></TD> </TR> </TABLE> <A NAME="fields_inherited_from_class_com.sun.star.beans.XPropertySet"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Fields inherited from interface com.sun.star.beans.<A HREF="../../../../../../../../common/ref/com/sun/star/beans/XPropertySet.html?is-external=true" title="class or interface in com.sun.star.beans">XPropertySet</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/beans/XPropertySet.html?is-external=true#UNOTYPEINFO" title="class or interface in com.sun.star.beans">UNOTYPEINFO</A></CODE></TD> </TR> </TABLE> <A NAME="fields_inherited_from_class_com.sun.star.beans.XFastPropertySet"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Fields inherited from interface com.sun.star.beans.<A HREF="../../../../../../../../common/ref/com/sun/star/beans/XFastPropertySet.html?is-external=true" title="class or interface in com.sun.star.beans">XFastPropertySet</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/beans/XFastPropertySet.html?is-external=true#UNOTYPEINFO" title="class or interface in com.sun.star.beans">UNOTYPEINFO</A></CODE></TD> </TR> </TABLE> <A NAME="fields_inherited_from_class_com.sun.star.beans.XMultiPropertySet"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Fields inherited from interface com.sun.star.beans.<A HREF="../../../../../../../../common/ref/com/sun/star/beans/XMultiPropertySet.html?is-external=true" title="class or interface in com.sun.star.beans">XMultiPropertySet</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/beans/XMultiPropertySet.html?is-external=true#UNOTYPEINFO" title="class or interface in com.sun.star.beans">UNOTYPEINFO</A></CODE></TD> </TR> </TABLE> <A NAME="fields_inherited_from_class_com.sun.star.lang.XComponent"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Fields inherited from interface com.sun.star.lang.<A HREF="../../../../../../../../common/ref/com/sun/star/lang/XComponent.html?is-external=true" title="class or interface in com.sun.star.lang">XComponent</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/lang/XComponent.html?is-external=true#UNOTYPEINFO" title="class or interface in com.sun.star.lang">UNOTYPEINFO</A></CODE></TD> </TR> </TABLE> <A NAME="fields_inherited_from_class_com.sun.star.uno.XWeak"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Fields inherited from interface com.sun.star.uno.<A HREF="../../../../../../../../common/ref/com/sun/star/uno/XWeak.html?is-external=true" title="class or interface in com.sun.star.uno">XWeak</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/uno/XWeak.html?is-external=true#UNOTYPEINFO" title="class or interface in com.sun.star.uno">UNOTYPEINFO</A></CODE></TD> </TR> </TABLE> <A NAME="fields_inherited_from_class_com.sun.star.lang.XTypeProvider"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Fields inherited from interface com.sun.star.lang.<A HREF="../../../../../../../../common/ref/com/sun/star/lang/XTypeProvider.html?is-external=true" title="class or interface in com.sun.star.lang">XTypeProvider</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/lang/XTypeProvider.html?is-external=true#UNOTYPEINFO" title="class or interface in com.sun.star.lang">UNOTYPEINFO</A></CODE></TD> </TR> </TABLE> <!-- ======== CONSTRUCTOR SUMMARY ======== --> <A NAME="constructor_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Constructor Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#PropertySet()">PropertySet</A></B>()</CODE> <BR> </TD> </TR> </TABLE> <!-- ========== METHOD SUMMARY =========== --> <A NAME="method_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Method Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#addPropertiesChangeListener(java.lang.String[], com.sun.star.beans.XPropertiesChangeListener)">addPropertiesChangeListener</A></B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[] propNames, <A HREF="../../../../../../../../common/ref/com/sun/star/beans/XPropertiesChangeListener.html?is-external=true" title="class or interface in com.sun.star.beans">XPropertiesChangeListener</A> listener)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#addPropertyChangeListener(java.lang.String, com.sun.star.beans.XPropertyChangeListener)">addPropertyChangeListener</A></B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> str, <A HREF="../../../../../../../../common/ref/com/sun/star/beans/XPropertyChangeListener.html?is-external=true" title="class or interface in com.sun.star.beans">XPropertyChangeListener</A> xPropertyChangeListener)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#addVetoableChangeListener(java.lang.String, com.sun.star.beans.XVetoableChangeListener)">addVetoableChangeListener</A></B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> str, <A HREF="../../../../../../../../common/ref/com/sun/star/beans/XVetoableChangeListener.html?is-external=true" title="class or interface in com.sun.star.beans">XVetoableChangeListener</A> xVetoableChangeListener)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#assignPropertyId(com.sun.star.beans.Property, java.lang.Object)">assignPropertyId</A></B>(<A HREF="../../../../../../../../common/ref/com/sun/star/beans/Property.html?is-external=true" title="class or interface in com.sun.star.beans">Property</A> prop, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> id)</CODE> <BR> Assigns an identifyer object to a Property object so that the identifyer can be obtained by <A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#getPropertyId(com.sun.star.beans.Property)"><CODE>getPropertyId</CODE></A> later on.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#convertPropertyValue(com.sun.star.beans.Property, java.lang.Object[], java.lang.Object[], java.lang.Object)">convertPropertyValue</A></B>(<A HREF="../../../../../../../../common/ref/com/sun/star/beans/Property.html?is-external=true" title="class or interface in com.sun.star.beans">Property</A> property, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>[] newVal, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>[] curVal, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> setVal)</CODE> <BR> Converts a value in a way so that it is appropriate for storing as a property value, that is <A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#setPropertyValueNoBroadcast(com.sun.star.beans.Property, java.lang.Object)"><CODE>setPropertyValueNoBroadcast</CODE></A> can process the value without any further conversion.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#fire(com.sun.star.beans.Property[], java.lang.Object[], java.lang.Object[], boolean)">fire</A></B>(<A HREF="../../../../../../../../common/ref/com/sun/star/beans/Property.html?is-external=true" title="class or interface in com.sun.star.beans">Property</A>[] properties, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>[] newValues, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>[] oldValues, boolean bVetoable)</CODE> <BR> This method fires events to XPropertyChangeListener,XVetoableChangeListener and XPropertiesChangeListener event sinks.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#firePropertiesChangeEvent(java.lang.String[], com.sun.star.beans.XPropertiesChangeListener)">firePropertiesChangeEvent</A></B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[] propNames, <A HREF="../../../../../../../../common/ref/com/sun/star/beans/XPropertiesChangeListener.html?is-external=true" title="class or interface in com.sun.star.beans">XPropertiesChangeListener</A> listener)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#getFastPropertyValue(int)">getFastPropertyValue</A></B>(int nHandle)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected <A HREF="../../../../../../../../common/ref/com/sun/star/beans/Property.html?is-external=true" title="class or interface in com.sun.star.beans">Property</A>[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#getProperties()">getProperties</A></B>()</CODE> <BR> Returns an array of all Property objects or an array of length null if there are no properties.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected <A HREF="../../../../../../../../common/ref/com/sun/star/beans/Property.html?is-external=true" title="class or interface in com.sun.star.beans">Property</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#getProperty(java.lang.String)">getProperty</A></B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> propertyName)</CODE> <BR> Returns the Property object for a given property name or null if that property does not exists (i.e.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected <A HREF="../../../../../../../../common/ref/com/sun/star/beans/Property.html?is-external=true" title="class or interface in com.sun.star.beans">Property</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#getPropertyByHandle(int)">getPropertyByHandle</A></B>(int nHandle)</CODE> <BR> Returns the Property object with a handle (Property.Handle) as specified by the argument <em>nHandle</em>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#getPropertyId(com.sun.star.beans.Property)">getPropertyId</A></B>(<A HREF="../../../../../../../../common/ref/com/sun/star/beans/Property.html?is-external=true" title="class or interface in com.sun.star.beans">Property</A> prop)</CODE> <BR> Returns the identifyer object for a certain Property.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../../../../../common/ref/com/sun/star/beans/XPropertySetInfo.html?is-external=true" title="class or interface in com.sun.star.beans">XPropertySetInfo</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#getPropertySetInfo()">getPropertySetInfo</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#getPropertyValue(com.sun.star.beans.Property)">getPropertyValue</A></B>(<A HREF="../../../../../../../../common/ref/com/sun/star/beans/Property.html?is-external=true" title="class or interface in com.sun.star.beans">Property</A> property)</CODE> <BR> Retrieves the value of a property.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#getPropertyValue(java.lang.String)">getPropertyValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#getPropertyValues(java.lang.String[])">getPropertyValues</A></B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[] propNames)</CODE> <BR> If a value for a property could not be retrieved then the respective element in the returned array has the value null.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#initMappings()">initMappings</A></B>()</CODE> <BR> Initializes data structures used for mappings of property names to property object, property handles to property objects and property objects to id objects.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#postDisposing()">postDisposing</A></B>()</CODE> <BR> Makes sure that listeners which are kept in aBoundLC (XPropertyChangeListener) and aVetoableLC (XVetoableChangeListener) receive a disposing call.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#putProperty(com.sun.star.beans.Property)">putProperty</A></B>(<A HREF="../../../../../../../../common/ref/com/sun/star/beans/Property.html?is-external=true" title="class or interface in com.sun.star.beans">Property</A> prop)</CODE> <BR> Stores a Property object so that it can be retrieved subsequently by <A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#getProperty(java.lang.String)"><CODE>getProperty(String)</CODE></A>,<A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#getProperties()"><CODE>getProperties()</CODE></A>,<A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#getPropertyByHandle(int)"><CODE>getPropertyByHandle(int)</CODE></A>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#registerProperty(com.sun.star.beans.Property, java.lang.Object)">registerProperty</A></B>(<A HREF="../../../../../../../../common/ref/com/sun/star/beans/Property.html?is-external=true" title="class or interface in com.sun.star.beans">Property</A> prop, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> id)</CODE> <BR> Registers a property with this helper class and associates the argument <em>id</em> with it.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#registerProperty(java.lang.String, int, com.sun.star.uno.Type, short, java.lang.Object)">registerProperty</A></B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name, int handle, <A HREF="../../../../../../com/sun/star/uno/Type.html" title="class in com.sun.star.uno">Type</A> type, short attributes, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> id)</CODE> <BR> Registers a property with this helper class and associates the argument id with it.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#registerProperty(java.lang.String, short)">registerProperty</A></B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> propertyName, short attributes)</CODE> <BR> Registers a property with this class.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#registerProperty(java.lang.String, java.lang.String, short)">registerProperty</A></B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> propertyName, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> memberName, short attributes)</CODE> <BR> Registers a property with this class.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#registerProperty(java.lang.String, com.sun.star.uno.Type, short, java.lang.Object)">registerProperty</A></B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name, <A HREF="../../../../../../com/sun/star/uno/Type.html" title="class in com.sun.star.uno">Type</A> type, short attributes, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> id)</CODE> <BR> Registers a property with this class and associates the argument id with it.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#removePropertiesChangeListener(com.sun.star.beans.XPropertiesChangeListener)">removePropertiesChangeListener</A></B>(<A HREF="../../../../../../../../common/ref/com/sun/star/beans/XPropertiesChangeListener.html?is-external=true" title="class or interface in com.sun.star.beans">XPropertiesChangeListener</A> xPropertiesChangeListener)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#removePropertyChangeListener(java.lang.String, com.sun.star.beans.XPropertyChangeListener)">removePropertyChangeListener</A></B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> propName, <A HREF="../../../../../../../../common/ref/com/sun/star/beans/XPropertyChangeListener.html?is-external=true" title="class or interface in com.sun.star.beans">XPropertyChangeListener</A> listener)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#removeVetoableChangeListener(java.lang.String, com.sun.star.beans.XVetoableChangeListener)">removeVetoableChangeListener</A></B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> propName, <A HREF="../../../../../../../../common/ref/com/sun/star/beans/XVetoableChangeListener.html?is-external=true" title="class or interface in com.sun.star.beans">XVetoableChangeListener</A> listener)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#setFastPropertyValue(int, java.lang.Object)">setFastPropertyValue</A></B>(int nHandle, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> aValue)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#setPropertyValue(com.sun.star.beans.Property, java.lang.Object)">setPropertyValue</A></B>(<A HREF="../../../../../../../../common/ref/com/sun/star/beans/Property.html?is-external=true" title="class or interface in com.sun.star.beans">Property</A> prop, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> value)</CODE> <BR> Sets the value of a property.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#setPropertyValue(java.lang.String, java.lang.Object)">setPropertyValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> value)</CODE> <BR> Sets the value of a property.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#setPropertyValueNoBroadcast(com.sun.star.beans.Property, java.lang.Object)">setPropertyValueNoBroadcast</A></B>(<A HREF="../../../../../../../../common/ref/com/sun/star/beans/Property.html?is-external=true" title="class or interface in com.sun.star.beans">Property</A> property, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> newVal)</CODE> <BR> Sets the value of a property.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#setPropertyValues(java.lang.String[], java.lang.Object[])">setPropertyValues</A></B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[] propNames, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>[] values)</CODE> <BR> If the array of property names containes an unknown property then it will be ignored.</TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_com.sun.star.lib.uno.helper.ComponentBase"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class com.sun.star.lib.uno.helper.<A HREF="../../../../../../com/sun/star/lib/uno/helper/ComponentBase.html" title="class in com.sun.star.lib.uno.helper">ComponentBase</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../../../com/sun/star/lib/uno/helper/ComponentBase.html#addEventListener(com.sun.star.lang.XEventListener)">addEventListener</A>, <A HREF="../../../../../../com/sun/star/lib/uno/helper/ComponentBase.html#dispose()">dispose</A>, <A HREF="../../../../../../com/sun/star/lib/uno/helper/ComponentBase.html#finalize()">finalize</A>, <A HREF="../../../../../../com/sun/star/lib/uno/helper/ComponentBase.html#preDisposing()">preDisposing</A>, <A HREF="../../../../../../com/sun/star/lib/uno/helper/ComponentBase.html#removeEventListener(com.sun.star.lang.XEventListener)">removeEventListener</A></CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_com.sun.star.lib.uno.helper.WeakBase"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class com.sun.star.lib.uno.helper.<A HREF="../../../../../../com/sun/star/lib/uno/helper/WeakBase.html" title="class in com.sun.star.lib.uno.helper">WeakBase</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../../../com/sun/star/lib/uno/helper/WeakBase.html#getImplementationId()">getImplementationId</A>, <A HREF="../../../../../../com/sun/star/lib/uno/helper/WeakBase.html#getTypes()">getTypes</A>, <A HREF="../../../../../../com/sun/star/lib/uno/helper/WeakBase.html#queryAdapter()">queryAdapter</A></CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD> </TR> </TABLE> <P> <!-- ============ FIELD DETAIL =========== --> <A NAME="field_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Field Detail</B></FONT></TH> </TR> </TABLE> <A NAME="propertySetInfo"><!-- --></A><H3> propertySetInfo</H3> <PRE> protected <A HREF="../../../../../../../../common/ref/com/sun/star/beans/XPropertySetInfo.html?is-external=true" title="class or interface in com.sun.star.beans">XPropertySetInfo</A> <B>propertySetInfo</B></PRE> <DL> <DL> </DL> </DL> <HR> <A NAME="aBoundLC"><!-- --></A><H3> aBoundLC</H3> <PRE> protected <A HREF="../../../../../../com/sun/star/lib/uno/helper/MultiTypeInterfaceContainer.html" title="class in com.sun.star.lib.uno.helper">MultiTypeInterfaceContainer</A> <B>aBoundLC</B></PRE> <DL> <DL> </DL> </DL> <HR> <A NAME="aVetoableLC"><!-- --></A><H3> aVetoableLC</H3> <PRE> protected <A HREF="../../../../../../com/sun/star/lib/uno/helper/MultiTypeInterfaceContainer.html" title="class in com.sun.star.lib.uno.helper">MultiTypeInterfaceContainer</A> <B>aVetoableLC</B></PRE> <DL> <DL> </DL> </DL> <!-- ========= CONSTRUCTOR DETAIL ======== --> <A NAME="constructor_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Constructor Detail</B></FONT></TH> </TR> </TABLE> <A NAME="PropertySet()"><!-- --></A><H3> PropertySet</H3> <PRE> public <B>PropertySet</B>()</PRE> <DL> </DL> <!-- ============ METHOD DETAIL ========== --> <A NAME="method_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Method Detail</B></FONT></TH> </TR> </TABLE> <A NAME="registerProperty(com.sun.star.beans.Property, java.lang.Object)"><!-- --></A><H3> registerProperty</H3> <PRE> protected void <B>registerProperty</B>(<A HREF="../../../../../../../../common/ref/com/sun/star/beans/Property.html?is-external=true" title="class or interface in com.sun.star.beans">Property</A> prop, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> id)</PRE> <DL> <DD>Registers a property with this helper class and associates the argument <em>id</em> with it. <em>id</em> is used to identify the storage of the property value. How property values are stored and retrieved is determined by the methods <A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#convertPropertyValue(com.sun.star.beans.Property, java.lang.Object[], java.lang.Object[], java.lang.Object)"><CODE>convertPropertyValue</CODE></A>, <A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#setPropertyValueNoBroadcast(com.sun.star.beans.Property, java.lang.Object)"><CODE>setPropertyValueNoBroadcast</CODE></A> and <A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#getPropertyValue(com.sun.star.beans.Property)"><CODE>getPropertyValue</CODE></A> These methods expect <em>id</em> to be a java.lang.String which represents the name of a member variable which holds the property value. Only properties which are registered can be accessed. Registration has to occur during initialization of the inheriting class (i.e. within the contructor). <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>prop</CODE> - The property to be registered.<DD><CODE>id</CODE> - Identifies the properties storage.<DT><B>See Also:</B><DD><A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#getPropertyId(com.sun.star.beans.Property)"><CODE>getPropertyId(com.sun.star.beans.Property)</CODE></A></DL> </DD> </DL> <HR> <A NAME="registerProperty(java.lang.String, int, com.sun.star.uno.Type, short, java.lang.Object)"><!-- --></A><H3> registerProperty</H3> <PRE> protected void <B>registerProperty</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name, int handle, <A HREF="../../../../../../com/sun/star/uno/Type.html" title="class in com.sun.star.uno">Type</A> type, short attributes, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> id)</PRE> <DL> <DD>Registers a property with this helper class and associates the argument id with it. It does the same as <A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#registerProperty(com.sun.star.beans.Property, java.lang.Object)"><CODE>registerProperty(Property, Object)</CODE></A>. The first four arguments are used to construct a Property object. Registration has to occur during initialization of the inheriting class (i.e. within the contructor) <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>name</CODE> - The property's name (Property.Name).<DD><CODE>handle</CODE> - The property's handle (Property.Handle).<DD><CODE>Type</CODE> - The property's type (Property.Type).<DD><CODE>attributes</CODE> - The property's attributes (Property.Attributes).<DD><CODE>id</CODE> - Identifies the property's storage.</DL> </DD> </DL> <HR> <A NAME="registerProperty(java.lang.String, com.sun.star.uno.Type, short, java.lang.Object)"><!-- --></A><H3> registerProperty</H3> <PRE> protected void <B>registerProperty</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name, <A HREF="../../../../../../com/sun/star/uno/Type.html" title="class in com.sun.star.uno">Type</A> type, short attributes, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> id)</PRE> <DL> <DD>Registers a property with this class and associates the argument id with it. It does the same as <A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#registerProperty(com.sun.star.beans.Property, java.lang.Object)"><CODE>registerProperty(Property, Object)</CODE></A>. The first three arguments are used to construct a Property object. The value for the Property.Handle is generated and does not have to be specified here. Use this method for registering a property if you do not care about the Property's handles. Registration has to occur during initialization of the inheriting class (i.e. within the contructor). <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>name</CODE> - The property's name (Property.Name).<DD><CODE>handle</CODE> - The property's handle (Property.Handle).<DD><CODE>Type</CODE> - The property's type (Property.Type).<DD><CODE>attributes</CODE> - The property's attributes (Property.Attributes).<DD><CODE>id</CODE> - Identifies the property's storage.</DL> </DD> </DL> <HR> <A NAME="registerProperty(java.lang.String, java.lang.String, short)"><!-- --></A><H3> registerProperty</H3> <PRE> protected void <B>registerProperty</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> propertyName, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> memberName, short attributes)</PRE> <DL> <DD>Registers a property with this class. This method expects that property values are stored in member variables as is the case if the methods convertPropertyValue, setPropertyValueNoBroadcast and getPropertyValue(Property) are not overridden. It is presumed that the type of the member variable corresponds Property.Type. For example, if the TypeClass of Property.Type is to be a TypeClass.SHORT then the member must be a short or java.lang.Short. The handle for the property is generated.<br> If there is no member with the specified name or if the member has an incompatible type then a com.sun.star.uno.RuntimeException is thrown. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>propertyName</CODE> - The name of the property.<DD><CODE>memberName</CODE> - The name of the member variable that holds the value of the property.<DD><CODE>attributes</CODE> - The property attributes.</DL> </DD> </DL> <HR> <A NAME="registerProperty(java.lang.String, short)"><!-- --></A><H3> registerProperty</H3> <PRE> protected void <B>registerProperty</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> propertyName, short attributes)</PRE> <DL> <DD>Registers a property with this class. It is presumed that the name of property is equal to the name of the member variable that holds the property value. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>propertyName</CODE> - The name of the property and the member variable that holds the property's value.<DD><CODE>attributes</CODE> - The property attributes.<DT><B>See Also:</B><DD><A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#registerProperty(java.lang.String, java.lang.String, short)"><CODE>registerProperty(String, String, short)</CODE></A></DL> </DD> </DL> <HR> <A NAME="getProperty(java.lang.String)"><!-- --></A><H3> getProperty</H3> <PRE> protected <A HREF="../../../../../../../../common/ref/com/sun/star/beans/Property.html?is-external=true" title="class or interface in com.sun.star.beans">Property</A> <B>getProperty</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> propertyName)</PRE> <DL> <DD>Returns the Property object for a given property name or null if that property does not exists (i.e. it has not been registered). Override this method if you want to implement your own mapping from property names to Property objects. Then you also have to override <A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#initMappings()"><CODE>initMappings()</CODE></A>, <A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#getProperties()"><CODE>getProperties()</CODE></A> and <A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#putProperty(com.sun.star.beans.Property)"><CODE>putProperty(Property)</CODE></A>. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>propertyName</CODE> - The name of the property (Property.Name) <DT><B>Returns:</B><DD>The Property object with the name <em>propertyName</em>.</DL> </DD> </DL> <HR> <A NAME="getPropertyByHandle(int)"><!-- --></A><H3> getPropertyByHandle</H3> <PRE> protected <A HREF="../../../../../../../../common/ref/com/sun/star/beans/Property.html?is-external=true" title="class or interface in com.sun.star.beans">Property</A> <B>getPropertyByHandle</B>(int nHandle)</PRE> <DL> <DD>Returns the Property object with a handle (Property.Handle) as specified by the argument <em>nHandle</em>. The method returns null if there is no such property (i.e. it has not been registered). Override this method if you want to implement your own mapping from handles to Property objects. Then you also have to override <A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#initMappings()"><CODE>initMappings()</CODE></A>, <A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#putProperty(com.sun.star.beans.Property)"><CODE>putProperty(Property)</CODE></A>. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>nHandle</CODE> - The handle of the property (Property.Handle). <DT><B>Returns:</B><DD>The Property object with the handle <em>nHandle</em></DL> </DD> </DL> <HR> <A NAME="getProperties()"><!-- --></A><H3> getProperties</H3> <PRE> protected <A HREF="../../../../../../../../common/ref/com/sun/star/beans/Property.html?is-external=true" title="class or interface in com.sun.star.beans">Property</A>[] <B>getProperties</B>()</PRE> <DL> <DD>Returns an array of all Property objects or an array of length null if there are no properties. Override this method if you want to implement your own mapping from names to Property objects. Then you also have to override <A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#initMappings()"><CODE>initMappings()</CODE></A>, <A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#getProperty(java.lang.String)"><CODE>getProperty(String)</CODE></A> and <A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#putProperty(com.sun.star.beans.Property)"><CODE>putProperty(com.sun.star.beans.Property)</CODE></A>. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>Array of all Property objects.</DL> </DD> </DL> <HR> <A NAME="putProperty(com.sun.star.beans.Property)"><!-- --></A><H3> putProperty</H3> <PRE> protected void <B>putProperty</B>(<A HREF="../../../../../../../../common/ref/com/sun/star/beans/Property.html?is-external=true" title="class or interface in com.sun.star.beans">Property</A> prop)</PRE> <DL> <DD>Stores a Property object so that it can be retrieved subsequently by <A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#getProperty(java.lang.String)"><CODE>getProperty(String)</CODE></A>,<A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#getProperties()"><CODE>getProperties()</CODE></A>,<A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#getPropertyByHandle(int)"><CODE>getPropertyByHandle(int)</CODE></A>. Override this method if you want to implement your own mapping from handles to Property objects and names to Property objects. Then you also need to override <A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#initMappings()"><CODE>initMappings()</CODE></A>, <A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#getProperty(java.lang.String)"><CODE>getProperty(String)</CODE></A>,<A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#getProperties()"><CODE>getProperties()</CODE></A>,<A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#getPropertyByHandle(int)"><CODE>getPropertyByHandle(int)</CODE></A>. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>prop</CODE> - The Property object that is to be stored.</DL> </DD> </DL> <HR> <A NAME="assignPropertyId(com.sun.star.beans.Property, java.lang.Object)"><!-- --></A><H3> assignPropertyId</H3> <PRE> protected void <B>assignPropertyId</B>(<A HREF="../../../../../../../../common/ref/com/sun/star/beans/Property.html?is-external=true" title="class or interface in com.sun.star.beans">Property</A> prop, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> id)</PRE> <DL> <DD>Assigns an identifyer object to a Property object so that the identifyer can be obtained by <A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#getPropertyId(com.sun.star.beans.Property)"><CODE>getPropertyId</CODE></A> later on. The identifyer is used to specify a certain storage for the property's value. If you do not override <A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#setPropertyValueNoBroadcast(com.sun.star.beans.Property, java.lang.Object)"><CODE>setPropertyValueNoBroadcast</CODE></A> or <A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#getPropertyValue(com.sun.star.beans.Property)"><CODE>getPropertyValue(Property)</CODE></A> then the argument <em>id</em> has to be a java.lang.String that equals the name of the member variable that holds the Property's value. Override this method if you want to implement your own mapping from Property objects to ids or if you need ids of a type other then java.lang.String. Then you also need to override <A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#initMappings()"><CODE>initMappings</CODE></A> and <A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#getPropertyId(com.sun.star.beans.Property)"><CODE>getPropertyId</CODE></A>. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>prop</CODE> - The Property object that is being assigned an id.<DD><CODE>id</CODE> - The object which identifies the storage used for the property's value.<DT><B>See Also:</B><DD><A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#registerProperty(com.sun.star.beans.Property, java.lang.Object)"><CODE>registerProperty(Property, Object)</CODE></A></DL> </DD> </DL> <HR> <A NAME="getPropertyId(com.sun.star.beans.Property)"><!-- --></A><H3> getPropertyId</H3> <PRE> protected <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>getPropertyId</B>(<A HREF="../../../../../../../../common/ref/com/sun/star/beans/Property.html?is-external=true" title="class or interface in com.sun.star.beans">Property</A> prop)</PRE> <DL> <DD>Returns the identifyer object for a certain Property. The object must have been previously assigned to the Property object by <A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#assignPropertyId(com.sun.star.beans.Property, java.lang.Object)"><CODE>assignPropertyId</CODE></A>. Override this method if you want to implement your own mapping from Property objects to ids. Then you also need to override <A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#initMappings()"><CODE>initMappings</CODE></A> and <A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#assignPropertyId(com.sun.star.beans.Property, java.lang.Object)"><CODE>assignPropertyId</CODE></A>. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>prop</CODE> - The property for which the id is to be retrieved. <DT><B>Returns:</B><DD>The id object that identifies the storage used for the property's value.<DT><B>See Also:</B><DD><A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#registerProperty(com.sun.star.beans.Property, java.lang.Object)"><CODE>registerProperty(Property, Object)</CODE></A></DL> </DD> </DL> <HR> <A NAME="initMappings()"><!-- --></A><H3> initMappings</H3> <PRE> protected void <B>initMappings</B>()</PRE> <DL> <DD>Initializes data structures used for mappings of property names to property object, property handles to property objects and property objects to id objects. Override this method if you want to implement your own mappings. Then you also need to override <A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#putProperty(com.sun.star.beans.Property)"><CODE>putProperty</CODE></A>,<A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#getProperty(java.lang.String)"><CODE>getProperty</CODE></A>, <A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#getPropertyByHandle(int)"><CODE>getPropertyByHandle(int)</CODE></A>, <A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#assignPropertyId(com.sun.star.beans.Property, java.lang.Object)"><CODE>assignPropertyId</CODE></A> and <A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#getPropertyId(com.sun.star.beans.Property)"><CODE>getPropertyId</CODE></A>. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="postDisposing()"><!-- --></A><H3> postDisposing</H3> <PRE> protected void <B>postDisposing</B>()</PRE> <DL> <DD>Makes sure that listeners which are kept in aBoundLC (XPropertyChangeListener) and aVetoableLC (XVetoableChangeListener) receive a disposing call. Also those listeners are relesased. <P> <DD><DL> <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../../com/sun/star/lib/uno/helper/ComponentBase.html#postDisposing()">postDisposing</A></CODE> in class <CODE><A HREF="../../../../../../com/sun/star/lib/uno/helper/ComponentBase.html" title="class in com.sun.star.lib.uno.helper">ComponentBase</A></CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="addPropertyChangeListener(java.lang.String, com.sun.star.beans.XPropertyChangeListener)"><!-- --></A><H3> addPropertyChangeListener</H3> <PRE> public void <B>addPropertyChangeListener</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> str, <A HREF="../../../../../../../../common/ref/com/sun/star/beans/XPropertyChangeListener.html?is-external=true" title="class or interface in com.sun.star.beans">XPropertyChangeListener</A> xPropertyChangeListener) throws <A HREF="../../../../../../../../common/ref/com/sun/star/beans/UnknownPropertyException.html?is-external=true" title="class or interface in com.sun.star.beans">UnknownPropertyException</A>, <A HREF="../../../../../../../../common/ref/com/sun/star/lang/WrappedTargetException.html?is-external=true" title="class or interface in com.sun.star.lang">WrappedTargetException</A></PRE> <DL> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/beans/XPropertySet.html?is-external=true#addPropertyChangeListener(java.lang.String, com.sun.star.beans.XPropertyChangeListener)" title="class or interface in com.sun.star.beans">addPropertyChangeListener</A></CODE> in interface <CODE><A HREF="../../../../../../../../common/ref/com/sun/star/beans/XPropertySet.html?is-external=true" title="class or interface in com.sun.star.beans">XPropertySet</A></CODE></DL> </DD> <DD><DL> <DT><B>Throws:</B> <DD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/beans/UnknownPropertyException.html?is-external=true" title="class or interface in com.sun.star.beans">UnknownPropertyException</A></CODE> <DD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/lang/WrappedTargetException.html?is-external=true" title="class or interface in com.sun.star.lang">WrappedTargetException</A></CODE></DL> </DD> </DL> <HR> <A NAME="addVetoableChangeListener(java.lang.String, com.sun.star.beans.XVetoableChangeListener)"><!-- --></A><H3> addVetoableChangeListener</H3> <PRE> public void <B>addVetoableChangeListener</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> str, <A HREF="../../../../../../../../common/ref/com/sun/star/beans/XVetoableChangeListener.html?is-external=true" title="class or interface in com.sun.star.beans">XVetoableChangeListener</A> xVetoableChangeListener) throws <A HREF="../../../../../../../../common/ref/com/sun/star/beans/UnknownPropertyException.html?is-external=true" title="class or interface in com.sun.star.beans">UnknownPropertyException</A>, <A HREF="../../../../../../../../common/ref/com/sun/star/lang/WrappedTargetException.html?is-external=true" title="class or interface in com.sun.star.lang">WrappedTargetException</A></PRE> <DL> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/beans/XPropertySet.html?is-external=true#addVetoableChangeListener(java.lang.String, com.sun.star.beans.XVetoableChangeListener)" title="class or interface in com.sun.star.beans">addVetoableChangeListener</A></CODE> in interface <CODE><A HREF="../../../../../../../../common/ref/com/sun/star/beans/XPropertySet.html?is-external=true" title="class or interface in com.sun.star.beans">XPropertySet</A></CODE></DL> </DD> <DD><DL> <DT><B>Throws:</B> <DD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/beans/UnknownPropertyException.html?is-external=true" title="class or interface in com.sun.star.beans">UnknownPropertyException</A></CODE> <DD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/lang/WrappedTargetException.html?is-external=true" title="class or interface in com.sun.star.lang">WrappedTargetException</A></CODE></DL> </DD> </DL> <HR> <A NAME="getPropertySetInfo()"><!-- --></A><H3> getPropertySetInfo</H3> <PRE> public <A HREF="../../../../../../../../common/ref/com/sun/star/beans/XPropertySetInfo.html?is-external=true" title="class or interface in com.sun.star.beans">XPropertySetInfo</A> <B>getPropertySetInfo</B>()</PRE> <DL> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/beans/XMultiPropertySet.html?is-external=true#getPropertySetInfo()" title="class or interface in com.sun.star.beans">getPropertySetInfo</A></CODE> in interface <CODE><A HREF="../../../../../../../../common/ref/com/sun/star/beans/XMultiPropertySet.html?is-external=true" title="class or interface in com.sun.star.beans">XMultiPropertySet</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/beans/XPropertySet.html?is-external=true#getPropertySetInfo()" title="class or interface in com.sun.star.beans">getPropertySetInfo</A></CODE> in interface <CODE><A HREF="../../../../../../../../common/ref/com/sun/star/beans/XPropertySet.html?is-external=true" title="class or interface in com.sun.star.beans">XPropertySet</A></CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getPropertyValue(java.lang.String)"><!-- --></A><H3> getPropertyValue</H3> <PRE> public <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>getPropertyValue</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name) throws <A HREF="../../../../../../../../common/ref/com/sun/star/beans/UnknownPropertyException.html?is-external=true" title="class or interface in com.sun.star.beans">UnknownPropertyException</A>, <A HREF="../../../../../../../../common/ref/com/sun/star/lang/WrappedTargetException.html?is-external=true" title="class or interface in com.sun.star.lang">WrappedTargetException</A></PRE> <DL> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/beans/XPropertySet.html?is-external=true#getPropertyValue(java.lang.String)" title="class or interface in com.sun.star.beans">getPropertyValue</A></CODE> in interface <CODE><A HREF="../../../../../../../../common/ref/com/sun/star/beans/XPropertySet.html?is-external=true" title="class or interface in com.sun.star.beans">XPropertySet</A></CODE></DL> </DD> <DD><DL> <DT><B>Throws:</B> <DD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/beans/UnknownPropertyException.html?is-external=true" title="class or interface in com.sun.star.beans">UnknownPropertyException</A></CODE> <DD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/lang/WrappedTargetException.html?is-external=true" title="class or interface in com.sun.star.lang">WrappedTargetException</A></CODE></DL> </DD> </DL> <HR> <A NAME="removePropertyChangeListener(java.lang.String, com.sun.star.beans.XPropertyChangeListener)"><!-- --></A><H3> removePropertyChangeListener</H3> <PRE> public void <B>removePropertyChangeListener</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> propName, <A HREF="../../../../../../../../common/ref/com/sun/star/beans/XPropertyChangeListener.html?is-external=true" title="class or interface in com.sun.star.beans">XPropertyChangeListener</A> listener) throws <A HREF="../../../../../../../../common/ref/com/sun/star/beans/UnknownPropertyException.html?is-external=true" title="class or interface in com.sun.star.beans">UnknownPropertyException</A>, <A HREF="../../../../../../../../common/ref/com/sun/star/lang/WrappedTargetException.html?is-external=true" title="class or interface in com.sun.star.lang">WrappedTargetException</A></PRE> <DL> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/beans/XPropertySet.html?is-external=true#removePropertyChangeListener(java.lang.String, com.sun.star.beans.XPropertyChangeListener)" title="class or interface in com.sun.star.beans">removePropertyChangeListener</A></CODE> in interface <CODE><A HREF="../../../../../../../../common/ref/com/sun/star/beans/XPropertySet.html?is-external=true" title="class or interface in com.sun.star.beans">XPropertySet</A></CODE></DL> </DD> <DD><DL> <DT><B>Throws:</B> <DD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/beans/UnknownPropertyException.html?is-external=true" title="class or interface in com.sun.star.beans">UnknownPropertyException</A></CODE> <DD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/lang/WrappedTargetException.html?is-external=true" title="class or interface in com.sun.star.lang">WrappedTargetException</A></CODE></DL> </DD> </DL> <HR> <A NAME="removeVetoableChangeListener(java.lang.String, com.sun.star.beans.XVetoableChangeListener)"><!-- --></A><H3> removeVetoableChangeListener</H3> <PRE> public void <B>removeVetoableChangeListener</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> propName, <A HREF="../../../../../../../../common/ref/com/sun/star/beans/XVetoableChangeListener.html?is-external=true" title="class or interface in com.sun.star.beans">XVetoableChangeListener</A> listener) throws <A HREF="../../../../../../../../common/ref/com/sun/star/beans/UnknownPropertyException.html?is-external=true" title="class or interface in com.sun.star.beans">UnknownPropertyException</A>, <A HREF="../../../../../../../../common/ref/com/sun/star/lang/WrappedTargetException.html?is-external=true" title="class or interface in com.sun.star.lang">WrappedTargetException</A></PRE> <DL> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/beans/XPropertySet.html?is-external=true#removeVetoableChangeListener(java.lang.String, com.sun.star.beans.XVetoableChangeListener)" title="class or interface in com.sun.star.beans">removeVetoableChangeListener</A></CODE> in interface <CODE><A HREF="../../../../../../../../common/ref/com/sun/star/beans/XPropertySet.html?is-external=true" title="class or interface in com.sun.star.beans">XPropertySet</A></CODE></DL> </DD> <DD><DL> <DT><B>Throws:</B> <DD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/beans/UnknownPropertyException.html?is-external=true" title="class or interface in com.sun.star.beans">UnknownPropertyException</A></CODE> <DD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/lang/WrappedTargetException.html?is-external=true" title="class or interface in com.sun.star.lang">WrappedTargetException</A></CODE></DL> </DD> </DL> <HR> <A NAME="setPropertyValue(java.lang.String, java.lang.Object)"><!-- --></A><H3> setPropertyValue</H3> <PRE> public void <B>setPropertyValue</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> value) throws <A HREF="../../../../../../../../common/ref/com/sun/star/beans/UnknownPropertyException.html?is-external=true" title="class or interface in com.sun.star.beans">UnknownPropertyException</A>, <A HREF="../../../../../../../../common/ref/com/sun/star/beans/PropertyVetoException.html?is-external=true" title="class or interface in com.sun.star.beans">PropertyVetoException</A>, <A HREF="../../../../../../../../common/ref/com/sun/star/lang/IllegalArgumentException.html?is-external=true" title="class or interface in com.sun.star.lang">IllegalArgumentException</A>, <A HREF="../../../../../../../../common/ref/com/sun/star/lang/WrappedTargetException.html?is-external=true" title="class or interface in com.sun.star.lang">WrappedTargetException</A></PRE> <DL> <DD>Sets the value of a property. The idl description for this interfaces, stipulates that the argument value is an Any. Since a java.lang.Object reference has the same meaning as an Any this function accepts java anys (com.sun.star.uno.Any) and all other appropriate objects as arguments. The value argument can be one of these: <ul> <li>java.lang.Boolean</li> <li>java.lang.Character</li> <li>java.lang.Byte</li> <li>java.lang.Short</li> <li>java.lang.Integer</li> <li>java.lang.Long</li> <li>java.lang.Float</li> <li>java.lang.Double</li> <li>java.lang.String</li> <li>com.sun.star.uno.Type</li> <li><em>objects which implement UNO interfaces</em></li> <li><em>arrays which contain elements of the types above</em></li> <li>com.sun.star.uno.Any containing an instance of one of the above types</li> </ul> Properties can have the attribute com.sun.star.beans.PropertyAttribute.MAYBEVOID, which means that the value (not the type) can be void. In order to assign a void value to a property one can either pass an Any which contains a null reference or pass null directly. In bothe cases the null reference is only accepted if the PropertyAttribute.MAYBEVOID attribute is set for the property. Properties which have the attribute MAYBEVOID set (Property.Attributes) can have a void value. The following considerations presume that the Property has that attribute set. Further, when mentioning an Any's value we actually refer to the object returned by Any.getObject. If the argument <em>value</em> is null, or it is an Any whose value is null (but with a valid Type) then the member variable used for storing the property's value is set to null. Therefore those properties can only be stored in objects and primitive types are not allowed (one can use the wrapper classes instead,e.g. java.lang.Byte) . If a property's value is kept in a member variable of type Any and that reference is still null then when setPropertyValue is called with <em>value</em> = null then the member variable is assigned an Any with type void and a null value. Or if the argument is an Any with a null value then it is assigned to the member variable. Further, if the variable already references an Any and setPropertyValue is called with <em>value</em> = null, then the variable is assigned a new Any with the same type as the previously referenced Any and with a null value. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/beans/XPropertySet.html?is-external=true#setPropertyValue(java.lang.String, java.lang.Object)" title="class or interface in com.sun.star.beans">setPropertyValue</A></CODE> in interface <CODE><A HREF="../../../../../../../../common/ref/com/sun/star/beans/XPropertySet.html?is-external=true" title="class or interface in com.sun.star.beans">XPropertySet</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the property.<DD><CODE>value</CODE> - The new value of the property. * <DT><B>Throws:</B> <DD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/beans/UnknownPropertyException.html?is-external=true" title="class or interface in com.sun.star.beans">UnknownPropertyException</A></CODE> <DD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/beans/PropertyVetoException.html?is-external=true" title="class or interface in com.sun.star.beans">PropertyVetoException</A></CODE> <DD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/lang/IllegalArgumentException.html?is-external=true" title="class or interface in com.sun.star.lang">IllegalArgumentException</A></CODE> <DD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/lang/WrappedTargetException.html?is-external=true" title="class or interface in com.sun.star.lang">WrappedTargetException</A></CODE></DL> </DD> </DL> <HR> <A NAME="setPropertyValue(com.sun.star.beans.Property, java.lang.Object)"><!-- --></A><H3> setPropertyValue</H3> <PRE> protected void <B>setPropertyValue</B>(<A HREF="../../../../../../../../common/ref/com/sun/star/beans/Property.html?is-external=true" title="class or interface in com.sun.star.beans">Property</A> prop, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> value) throws <A HREF="../../../../../../../../common/ref/com/sun/star/beans/UnknownPropertyException.html?is-external=true" title="class or interface in com.sun.star.beans">UnknownPropertyException</A>, <A HREF="../../../../../../../../common/ref/com/sun/star/beans/PropertyVetoException.html?is-external=true" title="class or interface in com.sun.star.beans">PropertyVetoException</A>, <A HREF="../../../../../../../../common/ref/com/sun/star/lang/IllegalArgumentException.html?is-external=true" title="class or interface in com.sun.star.lang">IllegalArgumentException</A>, <A HREF="../../../../../../../../common/ref/com/sun/star/lang/WrappedTargetException.html?is-external=true" title="class or interface in com.sun.star.lang">WrappedTargetException</A></PRE> <DL> <DD>Sets the value of a property. It checks if the property's attributes (READONLY,MAYBEVOID), allow that the new value can be set. It also causes the notification of listeners. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>prop</CODE> - The property whose value is to be set.<DD><CODE>value</CODE> - The new value for the property. <DT><B>Throws:</B> <DD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/beans/UnknownPropertyException.html?is-external=true" title="class or interface in com.sun.star.beans">UnknownPropertyException</A></CODE> <DD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/beans/PropertyVetoException.html?is-external=true" title="class or interface in com.sun.star.beans">PropertyVetoException</A></CODE> <DD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/lang/IllegalArgumentException.html?is-external=true" title="class or interface in com.sun.star.lang">IllegalArgumentException</A></CODE> <DD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/lang/WrappedTargetException.html?is-external=true" title="class or interface in com.sun.star.lang">WrappedTargetException</A></CODE></DL> </DD> </DL> <HR> <A NAME="convertPropertyValue(com.sun.star.beans.Property, java.lang.Object[], java.lang.Object[], java.lang.Object)"><!-- --></A><H3> convertPropertyValue</H3> <PRE> protected boolean <B>convertPropertyValue</B>(<A HREF="../../../../../../../../common/ref/com/sun/star/beans/Property.html?is-external=true" title="class or interface in com.sun.star.beans">Property</A> property, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>[] newVal, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>[] curVal, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> setVal) throws <A HREF="../../../../../../../../common/ref/com/sun/star/lang/IllegalArgumentException.html?is-external=true" title="class or interface in com.sun.star.lang">IllegalArgumentException</A>, <A HREF="../../../../../../../../common/ref/com/sun/star/lang/WrappedTargetException.html?is-external=true" title="class or interface in com.sun.star.lang">WrappedTargetException</A>, <A HREF="../../../../../../../../common/ref/com/sun/star/beans/UnknownPropertyException.html?is-external=true" title="class or interface in com.sun.star.beans">UnknownPropertyException</A></PRE> <DL> <DD>Converts a value in a way so that it is appropriate for storing as a property value, that is <A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#setPropertyValueNoBroadcast(com.sun.star.beans.Property, java.lang.Object)"><CODE>setPropertyValueNoBroadcast</CODE></A> can process the value without any further conversion. This implementation presumes that the values are stored in member variables of the furthest inheriting class. For example, class A inherits this class then members of class A can hold property values. If there is a class B which inherits A then only members of B can hold property values. The variables must be public. A property must have been registered (e.g. by <A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#registerProperty(com.sun.star.beans.Property, java.lang.Object)"><CODE>registerProperty(Property, Object)</CODE></A> in order for this method to work. The identifyer argument (type Object) used in the registerProperty methods must be a java.lang.String, which is, the name of the member variable that holds the property value. If one opts to store values differently then one may override this method, as well as <A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#setPropertyValueNoBroadcast(com.sun.star.beans.Property, java.lang.Object)"><CODE>setPropertyValueNoBroadcast</CODE></A> and <A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#getPropertyValue(com.sun.star.beans.Property)"><CODE>getPropertyValue(Property)</CODE></A>. This method is always called as a result of a call to one of the setter methods, such as <A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#setPropertyValue(java.lang.String, java.lang.Object)"><CODE>XPropertySet.setPropertyValue</CODE></A>, <A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#setFastPropertyValue(int, java.lang.Object)"><CODE>XFastPropertySet.setFastPropertyValue</CODE></A> and <A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#setPropertyValues(java.lang.String[], java.lang.Object[])"><CODE>XMultiPropertySet.setPropertyValues</CODE></A>. If this method fails, that is, it returns false or throws an exception, then no listeners are notified and the property value, that was intended to be changed, remains untouched.<br /> This method does not have to deal with property attributes, such as PropertyAttribute.READONLY or PropertyAttribute.MAYBEVOID. The processing of these attributes occurs in the calling methods.<br /> Only if this method returns successfully further processing, such as listener notification and finally the modifiction of the property's value, will occur.<br /> The actual modification of a property's value is done by <A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#setPropertyValueNoBroadcast(com.sun.star.beans.Property, java.lang.Object)"><CODE>setPropertyValueNoBroadcast</CODE></A> which is called subsequent to convertPropertyValue. <p> This method converts values by help of the com.sun.star.uno.AnyConverter which only does a few widening conversions on integer types and floating point types. For example, there is the property PropA with a Type equivalent to int.class and the value of the property is to be stored in a member variable of type int with name intProp. Then setPropertyValue is called: <pre> set.setPropertyValue( "PropA", new Byte( (byte)111)); </pre> At some point setPropertyValue will call convertPropertyValue and pass in the Byte object. Since we allow that Byte values can be used with the property and know that the value is to be stored in intProp (type int) we convert the Byte object into an Integer object which is then returned in the out-parameter <em>newVal</em>. This conversion is actually performed by the AnyConverter. Later the setPropertyValueNoBroadcast is called with that Integer object and the int value can be easily extracted from the object and be assigned to the member intProp. <p> The method handles Any arguments the same as Object arguments. That is, the <em>setVal</em> argument can be a java.lang.Boolean or a com.sun.star.uno.Any containing a java.lang.Boolean. Likewise, a member containing a property value can be a com.sun.star.uno.Any or an java.lang.Object. Then, no conversion is necessary, since they can hold all possible values. However, if the member is an Object and <em>setVal</em> is an Any then the object contained in the any is assigned to the member. The extra type information which exists as Type object in the Any will get lost. If this is not intended then use an Any variable rather then an Object.<br /> If a member is an Object or Any and the argument <em>setVal</em> is an Object, other than String or array, then it is presumed to be an UNO object and queried for XInterface. If successful, the out-param <em>newVal</em> returns the XInterface.<br /> If a member is an UNO interface, then <em>setVal</em> is queried for this interface and the result is returned. If <em>setVal</em> is null then <em>newVal</em> will be null too after return. <p> If a property value is stored using a primitive type the the out-parameters <em>curVal</em> and <em>newVal</em> contain the respective wrapper class (e.g.java.lang.Byte, etc.). curVal is used in calls to the XVetoableChangeListener and XPropertyChangeListener. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>property</CODE> - - in-param property for which the data is to be converted.<DD><CODE>newVal</CODE> - - out-param which contains the converted value on return.<DD><CODE>curVal</CODE> - - out-param the current value of the property. It is used in calls to the XVetoableChangeListener and XPropertyChangeListener.<DD><CODE>setVal</CODE> - - in-param. The value that is to be converted so that it matches Property and the internally used dataformat for that property. <DT><B>Returns:</B><DD>true - Conversion was successful. <em>newVal</em> contains a valid value for the property. false - conversion failed for some reason. <DT><B>Throws:</B> <DD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/lang/IllegalArgumentException.html?is-external=true" title="class or interface in com.sun.star.lang">IllegalArgumentException</A></CODE> - The value provided is unfit for the property. <DD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/lang/WrappedTargetException.html?is-external=true" title="class or interface in com.sun.star.lang">WrappedTargetException</A></CODE> - - An exception occured during the conversion, that is to be made known to the caller. <DD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/beans/UnknownPropertyException.html?is-external=true" title="class or interface in com.sun.star.beans">UnknownPropertyException</A></CODE></DL> </DD> </DL> <HR> <A NAME="setPropertyValueNoBroadcast(com.sun.star.beans.Property, java.lang.Object)"><!-- --></A><H3> setPropertyValueNoBroadcast</H3> <PRE> protected void <B>setPropertyValueNoBroadcast</B>(<A HREF="../../../../../../../../common/ref/com/sun/star/beans/Property.html?is-external=true" title="class or interface in com.sun.star.beans">Property</A> property, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> newVal) throws <A HREF="../../../../../../../../common/ref/com/sun/star/lang/WrappedTargetException.html?is-external=true" title="class or interface in com.sun.star.lang">WrappedTargetException</A></PRE> <DL> <DD>Sets the value of a property. In this implementation property values are stored in member variables (see <A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#convertPropertyValue(com.sun.star.beans.Property, java.lang.Object[], java.lang.Object[], java.lang.Object)"><CODE>convertPropertyValue</CODE></A> Notification of property listeners does not occur in this method. By overriding this method one can take full control about how property values are stored. But then, the <A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#convertPropertyValue(com.sun.star.beans.Property, java.lang.Object[], java.lang.Object[], java.lang.Object)"><CODE>convertPropertyValue</CODE></A> and <A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#getPropertyValue(com.sun.star.beans.Property)"><CODE>getPropertyValue(Property)</CODE></A> must be overridden too. A Property with the MAYBEVOID attribute set, is stored as null value. Therefore the member variable must be an Object in order to make use of the property attribute. An exception is Any. The Any variable can be initially null, but once it is set the reference will not become null again. If the value is to be set to void then a new Any will be stored with a valid type but without a value (i.e. Any.getObject returns null). If a property has the READONLY attribute set, and one of the setter methods, such as setPropertyValue, has been called, then this method is not going to be called. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>property</CODE> - the property for which the new value is set<DD><CODE>value</CODE> - the new value for the property. <DT><B>Throws:</B> <DD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/lang/WrappedTargetException.html?is-external=true" title="class or interface in com.sun.star.lang">WrappedTargetException</A></CODE> - An exception, which has to be made known to the caller, occured during the setting of the value.</DL> </DD> </DL> <HR> <A NAME="getPropertyValue(com.sun.star.beans.Property)"><!-- --></A><H3> getPropertyValue</H3> <PRE> protected <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>getPropertyValue</B>(<A HREF="../../../../../../../../common/ref/com/sun/star/beans/Property.html?is-external=true" title="class or interface in com.sun.star.beans">Property</A> property) throws <A HREF="../../../../../../../../common/ref/com/sun/star/lang/WrappedTargetException.html?is-external=true" title="class or interface in com.sun.star.lang">WrappedTargetException</A></PRE> <DL> <DD>Retrieves the value of a property. This implementation presumes that the values are stored in member variables of the furthest inheriting class (see <A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#convertPropertyValue(com.sun.star.beans.Property, java.lang.Object[], java.lang.Object[], java.lang.Object)"><CODE>convertPropertyValue</CODE></A>) and that the variables are public. The property must have been registered, for example by <A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#registerProperty(com.sun.star.beans.Property, java.lang.Object)"><CODE>registerProperty(Property, Object)</CODE></A>. The identifyer Object argument must have been a java.lang.String which was the name of the member variable holding the property value. When properties are to be stored differently one has to override this method as well as <A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#convertPropertyValue(com.sun.star.beans.Property, java.lang.Object[], java.lang.Object[], java.lang.Object)"><CODE>convertPropertyValue(com.sun.star.beans.Property, java.lang.Object[], java.lang.Object[], java.lang.Object)</CODE></A> and <A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySet.html#setPropertyValueNoBroadcast(com.sun.star.beans.Property, java.lang.Object)"><CODE>setPropertyValueNoBroadcast(com.sun.star.beans.Property, java.lang.Object)</CODE></A>. <br> If a value is stored in a variable of a primitive type then this method returns an instance of the respective wrapper class (e.g. java.lang.Boolean). <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>property</CODE> - The property for which the value is to be retrieved. <DT><B>Returns:</B><DD>The value of the property. <DT><B>Throws:</B> <DD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/lang/WrappedTargetException.html?is-external=true" title="class or interface in com.sun.star.lang">WrappedTargetException</A></CODE></DL> </DD> </DL> <HR> <A NAME="fire(com.sun.star.beans.Property[], java.lang.Object[], java.lang.Object[], boolean)"><!-- --></A><H3> fire</H3> <PRE> protected void <B>fire</B>(<A HREF="../../../../../../../../common/ref/com/sun/star/beans/Property.html?is-external=true" title="class or interface in com.sun.star.beans">Property</A>[] properties, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>[] newValues, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>[] oldValues, boolean bVetoable) throws <A HREF="../../../../../../../../common/ref/com/sun/star/beans/PropertyVetoException.html?is-external=true" title="class or interface in com.sun.star.beans">PropertyVetoException</A></PRE> <DL> <DD>This method fires events to XPropertyChangeListener,XVetoableChangeListener and XPropertiesChangeListener event sinks. To distinguish what listeners are to be called the argument <em>bVetoable</em> is to be set to true if a XVetoableChangeListener is meant. For XPropertyChangeListener and XPropertiesChangeListener it is to be set to false. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>properties</CODE> - Properties wich will be or have been affected.<DD><CODE>newValues</CODE> - the new values of the properties.<DD><CODE>oldValues</CODE> - the old values of the properties.<DD><CODE>bVetoable</CODE> - true means fire to VetoableChangeListener, false means fire to XPropertyChangedListener and XMultiPropertyChangedListener. <DT><B>Throws:</B> <DD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/beans/PropertyVetoException.html?is-external=true" title="class or interface in com.sun.star.beans">PropertyVetoException</A></CODE></DL> </DD> </DL> <HR> <A NAME="setFastPropertyValue(int, java.lang.Object)"><!-- --></A><H3> setFastPropertyValue</H3> <PRE> public void <B>setFastPropertyValue</B>(int nHandle, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> aValue) throws <A HREF="../../../../../../../../common/ref/com/sun/star/beans/UnknownPropertyException.html?is-external=true" title="class or interface in com.sun.star.beans">UnknownPropertyException</A>, <A HREF="../../../../../../../../common/ref/com/sun/star/beans/PropertyVetoException.html?is-external=true" title="class or interface in com.sun.star.beans">PropertyVetoException</A>, <A HREF="../../../../../../../../common/ref/com/sun/star/lang/IllegalArgumentException.html?is-external=true" title="class or interface in com.sun.star.lang">IllegalArgumentException</A>, <A HREF="../../../../../../../../common/ref/com/sun/star/lang/WrappedTargetException.html?is-external=true" title="class or interface in com.sun.star.lang">WrappedTargetException</A></PRE> <DL> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/beans/XFastPropertySet.html?is-external=true#setFastPropertyValue(int, java.lang.Object)" title="class or interface in com.sun.star.beans">setFastPropertyValue</A></CODE> in interface <CODE><A HREF="../../../../../../../../common/ref/com/sun/star/beans/XFastPropertySet.html?is-external=true" title="class or interface in com.sun.star.beans">XFastPropertySet</A></CODE></DL> </DD> <DD><DL> <DT><B>Throws:</B> <DD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/beans/UnknownPropertyException.html?is-external=true" title="class or interface in com.sun.star.beans">UnknownPropertyException</A></CODE> <DD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/beans/PropertyVetoException.html?is-external=true" title="class or interface in com.sun.star.beans">PropertyVetoException</A></CODE> <DD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/lang/IllegalArgumentException.html?is-external=true" title="class or interface in com.sun.star.lang">IllegalArgumentException</A></CODE> <DD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/lang/WrappedTargetException.html?is-external=true" title="class or interface in com.sun.star.lang">WrappedTargetException</A></CODE></DL> </DD> </DL> <HR> <A NAME="getFastPropertyValue(int)"><!-- --></A><H3> getFastPropertyValue</H3> <PRE> public <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>getFastPropertyValue</B>(int nHandle) throws <A HREF="../../../../../../../../common/ref/com/sun/star/beans/UnknownPropertyException.html?is-external=true" title="class or interface in com.sun.star.beans">UnknownPropertyException</A>, <A HREF="../../../../../../../../common/ref/com/sun/star/lang/WrappedTargetException.html?is-external=true" title="class or interface in com.sun.star.lang">WrappedTargetException</A></PRE> <DL> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/beans/XFastPropertySet.html?is-external=true#getFastPropertyValue(int)" title="class or interface in com.sun.star.beans">getFastPropertyValue</A></CODE> in interface <CODE><A HREF="../../../../../../../../common/ref/com/sun/star/beans/XFastPropertySet.html?is-external=true" title="class or interface in com.sun.star.beans">XFastPropertySet</A></CODE></DL> </DD> <DD><DL> <DT><B>Throws:</B> <DD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/beans/UnknownPropertyException.html?is-external=true" title="class or interface in com.sun.star.beans">UnknownPropertyException</A></CODE> <DD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/lang/WrappedTargetException.html?is-external=true" title="class or interface in com.sun.star.lang">WrappedTargetException</A></CODE></DL> </DD> </DL> <HR> <A NAME="addPropertiesChangeListener(java.lang.String[], com.sun.star.beans.XPropertiesChangeListener)"><!-- --></A><H3> addPropertiesChangeListener</H3> <PRE> public void <B>addPropertiesChangeListener</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[] propNames, <A HREF="../../../../../../../../common/ref/com/sun/star/beans/XPropertiesChangeListener.html?is-external=true" title="class or interface in com.sun.star.beans">XPropertiesChangeListener</A> listener)</PRE> <DL> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/beans/XMultiPropertySet.html?is-external=true#addPropertiesChangeListener(java.lang.String[], com.sun.star.beans.XPropertiesChangeListener)" title="class or interface in com.sun.star.beans">addPropertiesChangeListener</A></CODE> in interface <CODE><A HREF="../../../../../../../../common/ref/com/sun/star/beans/XMultiPropertySet.html?is-external=true" title="class or interface in com.sun.star.beans">XMultiPropertySet</A></CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="firePropertiesChangeEvent(java.lang.String[], com.sun.star.beans.XPropertiesChangeListener)"><!-- --></A><H3> firePropertiesChangeEvent</H3> <PRE> public void <B>firePropertiesChangeEvent</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[] propNames, <A HREF="../../../../../../../../common/ref/com/sun/star/beans/XPropertiesChangeListener.html?is-external=true" title="class or interface in com.sun.star.beans">XPropertiesChangeListener</A> listener)</PRE> <DL> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/beans/XMultiPropertySet.html?is-external=true#firePropertiesChangeEvent(java.lang.String[], com.sun.star.beans.XPropertiesChangeListener)" title="class or interface in com.sun.star.beans">firePropertiesChangeEvent</A></CODE> in interface <CODE><A HREF="../../../../../../../../common/ref/com/sun/star/beans/XMultiPropertySet.html?is-external=true" title="class or interface in com.sun.star.beans">XMultiPropertySet</A></CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getPropertyValues(java.lang.String[])"><!-- --></A><H3> getPropertyValues</H3> <PRE> public <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>[] <B>getPropertyValues</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[] propNames)</PRE> <DL> <DD>If a value for a property could not be retrieved then the respective element in the returned array has the value null. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/beans/XMultiPropertySet.html?is-external=true#getPropertyValues(java.lang.String[])" title="class or interface in com.sun.star.beans">getPropertyValues</A></CODE> in interface <CODE><A HREF="../../../../../../../../common/ref/com/sun/star/beans/XMultiPropertySet.html?is-external=true" title="class or interface in com.sun.star.beans">XMultiPropertySet</A></CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="removePropertiesChangeListener(com.sun.star.beans.XPropertiesChangeListener)"><!-- --></A><H3> removePropertiesChangeListener</H3> <PRE> public void <B>removePropertiesChangeListener</B>(<A HREF="../../../../../../../../common/ref/com/sun/star/beans/XPropertiesChangeListener.html?is-external=true" title="class or interface in com.sun.star.beans">XPropertiesChangeListener</A> xPropertiesChangeListener)</PRE> <DL> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/beans/XMultiPropertySet.html?is-external=true#removePropertiesChangeListener(com.sun.star.beans.XPropertiesChangeListener)" title="class or interface in com.sun.star.beans">removePropertiesChangeListener</A></CODE> in interface <CODE><A HREF="../../../../../../../../common/ref/com/sun/star/beans/XMultiPropertySet.html?is-external=true" title="class or interface in com.sun.star.beans">XMultiPropertySet</A></CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="setPropertyValues(java.lang.String[], java.lang.Object[])"><!-- --></A><H3> setPropertyValues</H3> <PRE> public void <B>setPropertyValues</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[] propNames, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>[] values) throws <A HREF="../../../../../../../../common/ref/com/sun/star/beans/PropertyVetoException.html?is-external=true" title="class or interface in com.sun.star.beans">PropertyVetoException</A>, <A HREF="../../../../../../../../common/ref/com/sun/star/lang/IllegalArgumentException.html?is-external=true" title="class or interface in com.sun.star.lang">IllegalArgumentException</A>, <A HREF="../../../../../../../../common/ref/com/sun/star/lang/WrappedTargetException.html?is-external=true" title="class or interface in com.sun.star.lang">WrappedTargetException</A></PRE> <DL> <DD>If the array of property names containes an unknown property then it will be ignored. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/beans/XMultiPropertySet.html?is-external=true#setPropertyValues(java.lang.String[], java.lang.Object[])" title="class or interface in com.sun.star.beans">setPropertyValues</A></CODE> in interface <CODE><A HREF="../../../../../../../../common/ref/com/sun/star/beans/XMultiPropertySet.html?is-external=true" title="class or interface in com.sun.star.beans">XMultiPropertySet</A></CODE></DL> </DD> <DD><DL> <DT><B>Throws:</B> <DD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/beans/PropertyVetoException.html?is-external=true" title="class or interface in com.sun.star.beans">PropertyVetoException</A></CODE> <DD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/lang/IllegalArgumentException.html?is-external=true" title="class or interface in com.sun.star.lang">IllegalArgumentException</A></CODE> <DD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/lang/WrappedTargetException.html?is-external=true" title="class or interface in com.sun.star.lang">WrappedTargetException</A></CODE></DL> </DD> </DL> <!-- ========= END OF CLASS DATA ========= --> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/PropertySet.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> UDK 3.2.7 Java API Reference</EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../../com/sun/star/lib/uno/helper/MultiTypeInterfaceContainer.html" title="class in com.sun.star.lib.uno.helper"><B>PREV CLASS</B></A> <A HREF="../../../../../../com/sun/star/lib/uno/helper/PropertySetMixin.html" title="class in com.sun.star.lib.uno.helper"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../../index.html?com/sun/star/lib/uno/helper/PropertySet.html" target="_top"><B>FRAMES</B></A> <A HREF="PropertySet.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> </BODY> </HTML>