<html> <head> <title>Struct ScriptEventDescriptor</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="ScriptEventDescriptor-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="#Elements" class="navisub">Elements' Summary</a></td> <td class="navisub"><a href="#ElementDetails" class="navisub">Elements' Details</a></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">script</a> :: </p> </td> </tr> <tr> <td class="title">struct ScriptEventDescriptor</td> </tr> <tr> <td/></tr> <tr> <td><dl> <dt><b>Description</b></dt> <dd>describes an effect, especially a script to be executed, for a certain event given by the listener type and the name of the event method. </dd> </dl> </td> </tr> </table> <hr> <a name="Elements"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle" colspan="2">Elements' Summary</td> </tr> <tr> <td class="imsum_left"><a href="#ListenerType">ListenerType</a></td> <td class="imsum_right">listener type as string, same as listener-XIdlClass.getName(). </td> </tr> <tr> <td class="imsum_left"><a href="#EventMethod">EventMethod</a></td> <td class="imsum_right">event method as string. </td> </tr> <tr> <td class="imsum_left"><a href="#AddListenerParam">AddListenerParam</a></td> <td class="imsum_right">data to be used if the addListener method needs an additional parameter. </td> </tr> <tr> <td class="imsum_left"><a href="#ScriptType">ScriptType</a></td> <td class="imsum_right">type of the script language as string; for example, "Basic" or "StarScript". </td> </tr> <tr> <td class="imsum_left"><a href="#ScriptCode">ScriptCode</a></td> <td class="imsum_right">script code as string (the code has to correspond with the language defined by ScriptType). </td> </tr> </table> <a name="ElementDetails"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle">Elements' Details</td> </tr> <tr> <td class="imdetail"><a name="ListenerType" class="membertitle">ListenerType</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>string <b>ListenerType</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>listener type as string, same as listener-XIdlClass.getName(). </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="EventMethod" class="membertitle">EventMethod</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>string <b>EventMethod</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>event method as string. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="AddListenerParam" class="membertitle">AddListenerParam</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>string <b>AddListenerParam</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>data to be used if the addListener method needs an additional parameter. </dd> <dd><p>If the type of this parameter is different from string, it will be converted, when added.</p> </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="ScriptType" class="membertitle">ScriptType</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>string <b>ScriptType</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>type of the script language as string; for example, "Basic" or "StarScript". </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="ScriptCode" class="membertitle">ScriptCode</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>string <b>ScriptCode</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>script code as string (the code has to correspond with the language defined by ScriptType). </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>