<html> <head> <title>Interface XConfigurationControllerBroadcaster</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" type="text/css" href="../../../../../idl.css"> </head> <body> <div id="adc-idlref"> <a name="_top_"> </a><table class="navimain" border="0" cellpadding="3"> <tr> <td class="navimain"><a href="../../module-ix.html" class="navimain">Overview</a></td> <td class="navimain"><a href="module-ix.html" class="navimain">Module</a></td> <td class="navimain"><a href="XConfigurationControllerBroadcaster-xref.html" class="navimain">Use</a></td> <td class="navimainnone">Devguide</td> <td class="navimain"><a href="../../../../../index-files/index-1.html" class="navimain">Index</a></td> </tr> </table> <table class="navisub" border="0" cellpadding="0"> <tr> <td class="navisub"><a href="#MethodsSummary" class="navisub">Methods' Summary</a></td> <td class="navisub"><a href="#MethodsDetails" class="navisub">Methods' Details</a></td> <td class="navisub">Attributes' Summary</td> <td class="navisub">Attributes' Details</td> </tr> </table> <hr> <table border="0" width="100%" cellpadding="5" cellspacing="3" class="title-table" style="margin-bottom:6pt;"> <tr> <td><p class="namechain"><a href="../../../../../module-ix.html" class="namechain">::</a> <a href="../../../../module-ix.html" class="namechain">com</a> :: <a href="../../../module-ix.html" class="namechain">sun</a> :: <a href="../../module-ix.html" class="namechain">star</a> :: <a href="../module-ix.html" class="namechain">drawing</a> :: <a href="module-ix.html" class="namechain">framework</a> :: </p> </td> </tr> <tr> <td class="title"><table class="title-table" width="99%"> <tr> <td width="25%" class="title2">unpublished </td> <td width="50%" class="title">interface XConfigurationControllerBroadcaster</td> <td width="*"/></tr> </table> </td> </tr> <tr> <td/></tr> <tr> <td><dl> <dt><b>Description</b></dt> <dd>Manage the set of registered event listeners and the event notification for a configuration controller. </dd> <dd><p>The listeners are called in the order in which they are registered.</p> </dd> </dl> </td> </tr> </table> <hr> <a name="MethodsSummary"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle" colspan="2">Methods' Summary</td> </tr> <tr> <td class="imsum_left"><a href="#addConfigurationChangeListener">addConfigurationChangeListener</a></td> <td class="imsum_right">Add a new listener for configuration changes. </td> </tr> <tr> <td class="imsum_left"><a href="#removeConfigurationChangeListener">removeConfigurationChangeListener</a></td> <td class="imsum_right">Remove a listener for configuration changes. </td> </tr> <tr> <td class="imsum_left"><a href="#notifyEvent">notifyEvent</a></td> <td class="imsum_right">With this method other objects can send events to all the registered listeners. </td> </tr> </table> <a name="MethodsDetails"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle">Methods' Details</td> </tr> <tr> <td class="imdetail"><a name="addConfigurationChangeListener" class="membertitle">addConfigurationChangeListener</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3">void</td> </tr> <tr> <td valign="top"><b>addConfigurationChangeListener</b>(</td> <td valign="top">[in] <a href="XConfigurationChangeListener.html">XConfigurationChangeListener</a></td> <td valign="bottom"> xListener,</td> </tr> <tr> <td/><td valign="top">[in] string</td> <td valign="bottom"> sEventType,</td> </tr> <tr> <td/><td valign="top">[in] any</td> <td valign="bottom"> aUserData );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>Add a new listener for configuration changes. </dd> <dd><p>The listener is notified only for the specified type of configuration changes. When the listener is interested in more than one event type this method has to be called multiple times. Alternatively it can register as universal listener that will be called for all event types. However, this option is provided primarily to support debugging and monitoring.</p> </dd> <dt><b>Parameter xListener</b></dt> <dd>The new listener. </dd> <dt><b>Parameter sEventType</b></dt> <dd>The event type that the listener is interested in. The set of event types is not fixed and there can be no exhaustive list. The empty string is a special value in that the listener will be called for all types of event. </dd> <dt><b>Parameter aUserData</b></dt> <dd>Arbitrary data that is passed to the listener when it is called for the specified event type. When one listener is regisered for more than one event type then different user data objects may be given as well. Supplying unique integer values allows the listener to use a switch statement to distinguish between the different event types. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="removeConfigurationChangeListener" class="membertitle">removeConfigurationChangeListener</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3">void</td> </tr> <tr> <td valign="top"><b>removeConfigurationChangeListener</b>(</td> <td valign="top">[in] <a href="XConfigurationChangeListener.html">XConfigurationChangeListener</a></td> <td valign="bottom"> xListener );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>Remove a listener for configuration changes. </dd> <dt><b>Parameter xListener</b></dt> <dd>The listener that is to be removed. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="notifyEvent" class="membertitle">notifyEvent</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3">void</td> </tr> <tr> <td valign="top"><b>notifyEvent</b>(</td> <td valign="top">[in] <a href="ConfigurationChangeEvent.html">ConfigurationChangeEvent</a></td> <td valign="bottom"> aEvent );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>With this method other objects can send events to all the registered listeners. </dd> </dl> </td> </tr> </table> </td> </tr> </table> <a href="#_top_">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright © 2008 Sun Microsystems, Inc.</p> </div> <!-- id="adc-idlref" --> </body> </html>