Overview | Module | Use | Devguide | Index

Elements' Summary | Elements' Details

:: com :: sun :: star :: script ::
struct ScriptEventDescriptor
Description 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.

Elements' Summary
ListenerType | listener type as string, same as listener-XIdlClass.getName().
EventMethod | event method as string.
AddListenerParam | data to be used if the addListener method needs an additional parameter.
ScriptType | type of the script language as string; for example, "Basic" or "StarScript".
ScriptCode | script code as string (the code has to correspond with the language defined by ScriptType).

Elements' Details
ListenerType
string ListenerType; Description listener type as string, same as listener-XIdlClass.getName().
EventMethod
string EventMethod; Description event method as string.
AddListenerParam
string AddListenerParam; Description data to be used if the addListener method needs an additional parameter. If the type of this parameter is different from string, it will be converted, when added.
ScriptType
string ScriptType; Description type of the script language as string; for example, "Basic" or "StarScript".
ScriptCode
string ScriptCode; Description script code as string (the code has to correspond with the language defined by ScriptType).

Top of Page

Copyright © 2003 Sun Microsystems, Inc.