📄 propertychangemulticaster.html
字号:
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/dbunit/util/concurrent/PropertyChangeMulticaster.html#firePropertyChange(java.beans.PropertyChangeEvent)">firePropertyChange</A></B>(java.beans.PropertyChangeEvent evt)</CODE>
<BR>
Fire an existing PropertyChangeEvent to any registered listeners.</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="../../../../org/dbunit/util/concurrent/PropertyChangeMulticaster.html#firePropertyChange(java.lang.String, boolean, boolean)">firePropertyChange</A></B>(java.lang.String propertyName, boolean oldValue, boolean newValue)</CODE>
<BR>
Report a boolean bound property update to any registered listeners.</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="../../../../org/dbunit/util/concurrent/PropertyChangeMulticaster.html#firePropertyChange(java.lang.String, int, int)">firePropertyChange</A></B>(java.lang.String propertyName, int oldValue, int newValue)</CODE>
<BR>
Report an int bound property update to any registered listeners.</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="../../../../org/dbunit/util/concurrent/PropertyChangeMulticaster.html#firePropertyChange(java.lang.String, java.lang.Object, java.lang.Object)">firePropertyChange</A></B>(java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue)</CODE>
<BR>
Report a bound property update to any registered listeners.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected <A HREF="../../../../org/dbunit/util/concurrent/PropertyChangeMulticaster.html" title="class in org.dbunit.util.concurrent">PropertyChangeMulticaster</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/dbunit/util/concurrent/PropertyChangeMulticaster.html#getChild(java.lang.String)">getChild</A></B>(java.lang.String propertyName)</CODE>
<BR>
Return the child associated with property, or null if no such</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/dbunit/util/concurrent/PropertyChangeMulticaster.html#hasListeners(java.lang.String)">hasListeners</A></B>(java.lang.String propertyName)</CODE>
<BR>
Check if there are any listeners for a specific 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="../../../../org/dbunit/util/concurrent/PropertyChangeMulticaster.html#multicast(java.beans.PropertyChangeEvent)">multicast</A></B>(java.beans.PropertyChangeEvent evt)</CODE>
<BR>
Helper method to relay evt to all listeners.</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="../../../../org/dbunit/util/concurrent/PropertyChangeMulticaster.html#removePropertyChangeListener(java.beans.PropertyChangeListener)">removePropertyChangeListener</A></B>(java.beans.PropertyChangeListener listener)</CODE>
<BR>
Remove a PropertyChangeListener from the listener list.</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="../../../../org/dbunit/util/concurrent/PropertyChangeMulticaster.html#removePropertyChangeListener(java.lang.String, java.beans.PropertyChangeListener)">removePropertyChangeListener</A></B>(java.lang.String propertyName, java.beans.PropertyChangeListener listener)</CODE>
<BR>
Remove a PropertyChangeListener for a specific property.</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">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</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">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Field Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="listeners"><!-- --></A><H3>
listeners</H3>
<PRE>
protected transient java.beans.PropertyChangeListener[] <B>listeners</B></PRE>
<DL>
<DD>The array of listeners. Copied on each update
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="source"><!-- --></A><H3>
source</H3>
<PRE>
protected final java.lang.Object <B>source</B></PRE>
<DL>
<DD>The object to be provided as the "source" for any generated events.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="children"><!-- --></A><H3>
children</H3>
<PRE>
protected java.util.HashMap <B>children</B></PRE>
<DL>
<DD>HashMap for managing listeners for specific properties. Maps property names to PropertyChangeMulticaster objects.
<P>
<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">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="PropertyChangeMulticaster(java.lang.Object)"><!-- --></A><H3>
PropertyChangeMulticaster</H3>
<PRE>
public <B>PropertyChangeMulticaster</B>(java.lang.Object sourceBean)</PRE>
<DL>
<DD>Constructs a <code>PropertyChangeMulticaster</code> object.
<P>
<DT><B>Parameters:</B><DD><CODE>sourceBean</CODE> - The bean to be given as the source for any events.<DT><B>Throws:</B><DD><CODE>java.lang.NullPointerException</CODE> - if sourceBean is null</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="getChild(java.lang.String)"><!-- --></A><H3>
getChild</H3>
<PRE>
protected <A HREF="../../../../org/dbunit/util/concurrent/PropertyChangeMulticaster.html" title="class in org.dbunit.util.concurrent">PropertyChangeMulticaster</A> <B>getChild</B>(java.lang.String propertyName)</PRE>
<DL>
<DD>Return the child associated with property, or null if no such
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="addPropertyChangeListener(java.beans.PropertyChangeListener)"><!-- --></A><H3>
addPropertyChangeListener</H3>
<PRE>
public void <B>addPropertyChangeListener</B>(java.beans.PropertyChangeListener listener)</PRE>
<DL>
<DD>Add a VetoableChangeListener to the listener list. The listener is registered for all properties. If the listener is added multiple times, it will receive multiple change notifications upon any firePropertyChange
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>listener</CODE> - The PropertyChangeListener to be added<DT><B>Throws:</B><DD><CODE>java.lang.NullPointerException</CODE> - If listener is null</DL>
</DD>
</DL>
<HR>
<A NAME="addPropertyChangeListenerIfAbsent(java.beans.PropertyChangeListener)"><!-- --></A><H3>
addPropertyChangeListenerIfAbsent</H3>
<PRE>
public void <B>addPropertyChangeListenerIfAbsent</B>(java.beans.PropertyChangeListener listener)</PRE>
<DL>
<DD>Add a PropertyChangeListener to the listener list if it is not already present. The listener is registered for all properties. The operation maintains Set semantics: If the listener is already registered, the operation has no effect.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>listener</CODE> - The PropertyChangeListener to be added<DT><B>Throws:</B><DD><CODE>java.lang.NullPointerException</CODE> - If listener is null</DL>
</DD>
</DL>
<HR>
<A NAME="removePropertyChangeListener(java.beans.PropertyChangeListener)"><!-- --></A><H3>
removePropertyChangeListener</H3>
<PRE>
public void <B>removePropertyChangeListener</B>(java.beans.PropertyChangeListener listener)</PRE>
<DL>
<DD>Remove a PropertyChangeListener from the listener list. It removes at most one occurrence of the given listener. If the listener was added multiple times it must be removed mulitple times. This removes a PropertyChangeListener that was registered for all properties, and has no effect if registered for only one or more specified properties.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>listener</CODE> - The PropertyChangeListener to be removed</DL>
</DD>
</DL>
<HR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -