<?xml version="1.0" encoding="utf-8"?>
<dictionary xsi:schemaLocation="http://schema.adobe.com/omv/1.0/omv.xsd omv.xsd" xmlns="http://schema.adobe.com/omv/1.0/omv.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<map title="ScriptUI Classes">
		<topicref navtitle="ScriptUI Classes">
			<topicref navtitle="ScriptUI" href="#/ScriptUI"/>
			<topicref navtitle="Window" href="#/Window"/>
			<topicref navtitle="LayoutManager" href="#/LayoutManager"/>
			<topicref navtitle="ScriptUIGraphics" href="#/ScriptUIGraphics"/>
			<topicref navtitle="ScriptUIPen" href="#/ScriptUIPen"/>
			<topicref navtitle="ScriptUIBrush" href="#/ScriptUIBrush"/>
			<topicref navtitle="ScriptUIPath" href="#/ScriptUIPath"/>
			<topicref navtitle="ScriptUIFont" href="#/ScriptUIFont"/>
			<topicref navtitle="ScriptUIImage" href="#/ScriptUIImage"/>
			<topicref navtitle="DrawState" href="#/DrawState"/>
			<topicref navtitle="StaticText" href="#/StaticText"/>
			<topicref navtitle="Button" href="#/Button"/>
			<topicref navtitle="IconButton" href="#/IconButton"/>
			<topicref navtitle="EditText" href="#/EditText"/>
			<topicref navtitle="ListBox" href="#/ListBox"/>
			<topicref navtitle="DropDownList" href="#/DropDownList"/>
			<topicref navtitle="ListItem" href="#/ListItem"/>
			<topicref navtitle="Checkbox" href="#/Checkbox"/>
			<topicref navtitle="Scrollbar" href="#/Scrollbar"/>
			<topicref navtitle="RadioButton" href="#/RadioButton"/>
			<topicref navtitle="Slider" href="#/Slider"/>
			<topicref navtitle="Progressbar" href="#/Progressbar"/>
			<topicref navtitle="TreeView" href="#/TreeView"/>
			<topicref navtitle="FlashPlayer" href="#/FlashPlayer"/>
			<topicref navtitle="Group" href="#/Group"/>
			<topicref navtitle="Panel" href="#/Panel"/>
			<topicref navtitle="Point" href="#/Point"/>
			<topicref navtitle="Dimension" href="#/Dimension"/>
			<topicref navtitle="Bounds" href="#/Bounds"/>
			<topicref navtitle="UIEvent" href="#/UIEvent"/>
			<topicref navtitle="MenuElement" href="#/MenuElement"/>
		</topicref>
	</map>
	<package>
		<classdef name="ScriptUI" dynamic="true">
			<shortdesc>A global class containing central information about ScriptUI. Not instantiable. </shortdesc>
			<elements type="class">
				<property name="applicationFonts" rwaccess="readonly">
					<shortdesc>An object containing the default application fonts</shortdesc>
					<datatype>
						<type>Object</type>
					</datatype>
				</property>
				<property name="compatibility" rwaccess="readonly">
				<shortdesc>SciptUI module compatability.</shortdesc>
					<datatype>
						<type>Object</type>
					</datatype>
				</property>
				<property name="coreVersion" rwaccess="readonly">
					<shortdesc>A string containing the internal version number of the ScriptUI module.</shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="frameworkName" rwaccess="readonly">
					<shortdesc>A string containing the name of the UI component framework with which this version of ScriptUI is compatible.</shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="version" rwaccess="readonly">
					<shortdesc>A string containing the version number of the UI component framework</shortdesc>
					<datatype>
						<type>any</type>
					</datatype>
				</property>
				<property name="alignment" rwaccess="readonly">
					<shortdesc>The default alignment style for automatic layout. When not specified, all alignments default to <b>center</b>.</shortdesc>
					<description>This can be a single string, which indicates the alignment for the orientation specified in the parent container, or an array of two strings, indicating both the horizontal and vertical alignment (in that order). Allowed values depend on the orientation value of the parent container. 
					<li>For orientation=row:<b>top</b>, <b>bottom</b>, <b>fill</b></li>
					<li>For orientation=column: <b>left</b>, <b>right</b>, <b>fill</b> </li>
					<li>For orientation=stack:<b>top</b>, <b>bottom</b>, <b>left</b>, <b>right</b>, <b>fill</b></li></description>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="fontStyle" rwaccess="readonly">
					<shortdesc>An object containing the predefined font styles. </shortdesc>
					<description>Predefined styles are REGULAR, BOLD, ITALIC, BOLDITALIC.</description>
					<datatype>
						<type>Object</type>
					</datatype>
				</property>
				<method name="getResourceText">
					<shortdesc>Finds and returns the resource for a given text string from the host application's resource data. </shortdesc>
					<description>If no string resource matches the given text, the text itself is returned.</description>
					<parameters>
						<parameter name="text">
							<shortdesc>The text to match.</shortdesc>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
					</parameters>
					<datatype>
						<type>string</type>
					</datatype>
				</method>
				<method name="newImage">
					<shortdesc>Loads a new image from resources or disk files into an image object.</shortdesc>
					<description>Creates a new global image object for use in controls that can display images, loading the associated images from the specified resources or image files. </description>
					<parameters>
						<parameter name="normal">
							<shortdesc>The resource name or the disk file path to the image used for the normal state.</shortdesc>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="disabled" optional="true">
							<shortdesc>The resource name, or the disk file path to the image used for the disabled state.</shortdesc>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="pressed" optional="true">
							<shortdesc>The resource name, or the disk file path  to the image used for the pressed state.</shortdesc>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="rollover" optional="true">
							<shortdesc>The resource name, or the disk file path to the image used for the rollover state.</shortdesc>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
					</parameters>
					<datatype>
						<type href="#/ScriptUIImage">ScriptUIImage</type>
					</datatype>
				</method>
				<method name="newFont">
					<shortdesc>Creates a new global font object for use in text controls and titles.</shortdesc>
					<parameters>
						<parameter name="name">
							<shortdesc>The font name, or the font family name.</shortdesc>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="style">
							<shortdesc>The font style; can be string, or a number.</shortdesc>
							<datatype>
								<type>string</type>
							</datatype>
							<datatype>
								<type>number</type>
							</datatype>
						</parameter>
						<parameter name="size">
							<shortdesc>The font size in points.</shortdesc>
							<datatype>
								<type>number</type>
							</datatype>
						</parameter>
					</parameters>
					<datatype>
						<type href="#/ScriptUIFont">ScriptUIFont</type>
					</datatype>
				</method>
			</elements>
		</classdef>
		<classdef name="Window" dynamic="true">
		<shortdesc>The instance represents a top-level window or dialog box, which contains user-interface elements.</shortdesc>
		<description>The globally available <a href="Window">Window</a> object provides access to predefined and script-defined windows.</description>
			<elements type="constructor">
				<method name="Window">
					<shortdesc>Creates a new window.</shortdesc>
					<parameters>
						<parameter name="type">
							<shortdesc>The window type.  </shortdesc>
							<description>One of:  
							<li><b>window</b>: Creates a simple window that can be used as a main window for an application. (Not supported by Photoshop CS3.) </li>  
							<li><b>palette</b>: Creates a modeless dialog, also called a floating palette. (Not supported by Photoshop CS3.) </li> 
							<li><b>dialog</b>: Creates a modal dialog.</li>
							This argument can also be a ScriptUI resource specification; in that case, all other arguments are ignored.</description>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="title" optional="true">
							<shortdesc>The window title, a localizable string.</shortdesc>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="bounds" optional="true">
							<shortdesc>The window's position and size.</shortdesc>
							<datatype>
								<type href="#/Bounds">Bounds</type>
							</datatype>
						</parameter>
						<parameter name="properties" optional="true">
							<shortdesc>An object containing creation-only properties.</shortdesc>
							<description>Can contain any of these properties:
							<li><b>resizeable</b>: When true, the window can be resized by the user. Default is false.</li>
							<li><b>su1PanelCoordinates</b>: Photoshop only. When true, the child panels of this window automatically adjust the positions of their children for compatability with Photoshop CS (in which the vertical coordinate was measured from outside the frame). Default is false. Individual panels can override the parent window’s setting.</li>
							<li><br>closeButton</br>: Bridge only. When true, the title bar includes a button to close the window, if the platform and window type allow it. When false, it does not. Default is true. Not used for dialogs. </li>
							<li><b>maximizeButton</b>: Bridge only. When true, the title bar includes a button to expand the window to its maximum size (typically, the entire screen), if the platform and window type allow it. When false, it does not. Default is false for type palette, true for type window. Not used for dialogs.</li>
							<li><b>minimizeButton</b>: Bridge only. When true, the title bar includes a button to minimize or iconify the window, if the platform and window type allow it. When false, it does not. Default is false for type palette, true for type window. Main windows cannot have a minimize button in Mac OS. Not used for dialogs. </li>
							<li><b>independent</b>: Bridge only. When true, a window of type window is independent of other application windows, and can be hidden behind them in Windows. In Mac OS, has no effect. Default is false.</li>
</description>
							<datatype>
								<type>Object</type>
							</datatype>
						</parameter>
					</parameters>
				</method>
			</elements>
			<elements type="class">
				<property name="frameworkName" rwaccess="readonly">
					<shortdesc>A string containing the name of the UI component framework with which this ScriptUI module is compatible.</shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="version" rwaccess="readonly">
					<shortdesc>A string containing the version number of the UI component framework</shortdesc>
					<datatype>
						<type>any</type>
					</datatype>
				</property>
				<method name="find">
					<shortdesc>Use this method to find an existing window. </shortdesc>
					<description>This includes windows defined by ScriptUI resource strings, windows already created by a script, and windows created by the application (if the application supports this case). This function is not supported by all applications. Returns a <a href="Window">Window</a> object found or generated from the resource, or null if no such window or resource exists.</description>
					<parameters>
						<parameter name="type">
							<shortdesc>The name of a predefined resource available to JavaScript in the current application; or the window type. </shortdesc>
							<description>If a title is specified, the type is used if more than one window with that title is found. Can be null or the empty string. </description>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="title">
							<shortdesc>The window title.</shortdesc>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
					</parameters>
					<datatype>
						<type href="#/Window">Window</type>
					</datatype>
				</method>
				<method name="alert">
					<shortdesc>Displays a platform-standard dialog containing a short message and an OK button.</shortdesc>
					<parameters>
						<parameter name="message">
							<shortdesc>TThe string for the displayed message.</shortdesc>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="title" optional="true">
							<shortdesc>A string to appear as the title of the dialog, if the platform supports a title. </shortdesc>
							<description>Ignored in Mac OS, which does not support titles for alert dialogs. The default title string is "Script Alert".</description>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="errorIcon">
							<shortdesc>When true, the platform-standard alert icon is replaced by the platform-standard error icon in the dialog. </shortdesc>
							<description>Ignored in Mac OS, which does not support icons for alert dialogs. </description>
							<datatype>
								<type>bool</type>
								<value>false</value>
							</datatype>
						</parameter>
					</parameters>
				</method>
				<method name="confirm">
					<shortdesc>Displays a platform-standard dialog containing a short message and two buttons labeled Yes and No.</shortdesc>
					<description>Returns true if the user clicked Yes, false if the user clicked No.</description>
					<parameters>
						<parameter name="message">
							<shortdesc>The string for the displayed message.</shortdesc>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="noAsDefault">
							<shortdesc>When true, the No button is the default choice, selected when the user types Enter. </shortdesc>
							<description>Default is false, meaning that Yes is the default choice. </description>
							<datatype>
								<type>bool</type>
								<value>false</value>
							</datatype>
						</parameter>
						<parameter name="title" optional="true">
							<shortdesc>A string to appear as the title of the dialog, if the platform supports a title. </shortdesc>
							<description>Ignored in Mac OS, which does not support titles for alert dialogs. The default title string is "Script Alert".</description>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
					</parameters>
					<datatype>
						<type>bool</type>
					</datatype>
				</method>
				<method name="prompt">
					<shortdesc>Displays a modal dialog that returns the user’s text input.</shortdesc>
					<description>Returns the value of the text edit field if the user clicked OK, null if the user clicked Cancel.</description>
					<parameters>
						<parameter name="prompt">
							<shortdesc>The string for the displayed message.</shortdesc>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="default" optional="true">
							<shortdesc>The initial value to be displayed in the text edit field.</shortdesc>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="title" optional="true">
							<shortdesc>A string to appear as the title of the dialog. </shortdesc>
							<description>In Windows, this appears in the window’s frame; in Mac OS it appears above the message. The default title string is "Script Prompt".</description>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
					</parameters>
					<datatype>
						<type>string</type>
					</datatype>
				</method>
			</elements>
			<elements type="instance">
				<property name="graphics" rwaccess="readonly">
					<shortdesc>The graphics object that can be used to customize the window’s appearance, in response to the onDraw event.</shortdesc>
					<datatype>
						<type href="#/ScriptUIGraphics">ScriptUIGraphics</type>
					</datatype>
				</property>
				<property name="visible">
					<shortdesc>When true, the element is shown, when false it is hidden.</shortdesc>
					<description>When a container is hidden, its children are also hidden, but they retain their own visibility values, and are shown or hidden accordingly when the parent is next shown.</description>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="bounds">
					<shortdesc>The bounds of the window's drawable area, excluding the frame, in screen coordinates.</shortdesc>
					<datatype>
						<type href="#/Bounds">Bounds</type>
					</datatype>
				</property>
				<property name="frameBounds" rwaccess="readonly">
					<shortdesc>The bounds of the window frame in screen coordinates.</shortdesc>
					<description> The frame consists of the title bar and borders that enclose the content region of a window, depending on the windowing system. </description>
					<datatype>
						<type href="#/Bounds">Bounds</type>
					</datatype>
				</property>
				<property name="frameLocation">
					<shortdesc>The top left corner of the window frame in screen coordinates.</shortdesc>
					<description>The same as [frameBounds.x, frameBounds.y]. Set this value to move the window frame to the specified location on the screen. The frameBounds value changes accordingly.</description>
					<datatype>
						<type href="#/Point">Point</type>
					</datatype>
				</property>
				<property name="frameSize" rwaccess="readonly">
					<shortdesc>The size and location of the window's frame in screen coordinates.</shortdesc>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="location">
					<shortdesc>The upper left corner of the window's drawable area.</shortdesc>
					<description>The same as [bounds.x, bounds.y]. </description>
					<datatype>
						<type href="#/Point">Point</type>
					</datatype>
				</property>
				<property name="maximumSize">
					<shortdesc>The largest rectangle to which the window can be resized.</shortdesc>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="minimumSize">
					<shortdesc>The smallest rectangle to which the window can be resized.</shortdesc>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="preferredSize">
					<shortdesc>The preferred size of the window.</shortdesc>
					<description>Used in automatic layout and resizing.</description>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="size">
					<shortdesc>The current size and location of the window in screen coordinates.</shortdesc>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="windowBounds" rwaccess="readonly">
					<shortdesc>The bounds of the UI element relative to the top-level parent window.</shortdesc>
					<datatype>
						<type href="#/Bounds">Bounds</type>
					</datatype>
				</property>
				<property name="characters">
					<shortdesc>A number of characters for which to reserve space when calculating the preferred size of the window. </shortdesc>
					<datatype>
						<type>number</type>
						<min>0</min>
					</datatype>
				</property>
				<property name="justify">
					<shortdesc>The default text justification style for child text elements. </shortdesc>
					<description>One of <b>left</b>, <b>center</b>, or <b>right</b>.</description>
					<datatype>
						<type>string</type>
						<value>left</value>
					</datatype>
				</property>
				<property name="text">
					<shortdesc>The title, label, or displayed text, a localizeable string.</shortdesc>
					<description>Does not apply to containers of type group.</description>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="active">
					<shortdesc>Set to true to make this window active. </shortdesc>
					<description><li>A modal dialog that is visible is by definition the active dialog.</li>
					<li>An active palette is the front-most window.</li>
					<li>An active control is the one with focus—that is, the one that accepts keystrokes, or in the case of a Button, be selected when the user types  Return or Enter.</li>
					 </description>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="shortcutKey">
					<shortdesc>The keypress combination that invokes this element's <b>onShortcut</b> callback.</shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="cancelElement">
					<shortdesc>For windows of type <b>dialog</b>, the UI element to notify when the user presses a cancellation key combination.</shortdesc>
					<description>The cancellation key is the Esc key in Windows, or the Cmd . (dot) combination in Mac OS. By default, looks for a button whose name or text is "cancel" (case disregarded).</description>
					<datatype>
						<type>Object</type>
					</datatype>
				</property>
				<property name="defaultElement">
					<shortdesc>For windows of type <b>dialog</b>, the UI element to notify when the user presses a Enter key.</shortdesc>
					<description>By default, looks for a button whose name or text is "ok" (case disregarded).</description>
					<datatype>
						<type>Object</type>
					</datatype>
				</property>
				<property name="maximized">
					<shortdesc>True if the window is expanded.</shortdesc>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="minimized">
					<shortdesc>True if the window is minimized or iconified.</shortdesc>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="alignChildren">
					<shortdesc>Tells the layout manager how unlike-sized children of this container should be aligned within a column or row. </shortdesc>
					<description>Order of creation determines which children are at the top of a column or the left of a row; the earlier a child is created, the closer it is to the top or left of its column or row. If defined, <b>alignment</b> for a child element overrides the <b>alignChildren</b> setting for the parent container. See <b>alignment</b> property for values. </description>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="children" rwaccess="readonly">
					<shortdesc>The collection of UI elements that have been added to this container.</shortdesc>
					<description>An array indexed by number or by a string containing an element's name. The length property of this array is the number of child elements for container elements, and is zero for controls.</description>
					<datatype>
						<type>Object</type>
						<array/>
					</datatype>
				</property>
				<property name="layout">
					<shortdesc>The layout manager for this container.</shortdesc>
					<description>The first time a container object is made visible, ScriptUI invokes this layout manager by calling its <b>layout()</b> function. Default is an instance of the LayoutManager class that is automatically created when the container element is created. </description>
					<datatype>
						<type href="#/LayoutManager">LayoutManager</type>
					</datatype>
				</property>
				<property name="margins">
					<shortdesc>The number of pixels between the edges of a container and the outermost child elements.</shortdesc>
					<description> You can specify different margins for each edge of the container. The default value is based on the type of container, and is chosen to match the standard Adobe UI guidelines. </description>
					<datatype>
						<type>number</type>
					</datatype>
				</property>
				<property name="orientation">
					<shortdesc>The layout orientation of children in a container.</shortdesc>
					<description>Interpreted by the layout manager for the container. The default LayoutManager Object accepts the (case-insensitive) values <b>row</b>, <b>column</b>, or <b>stack</b>.  For window and panel, the default is column, and for group the default is row. The allowed values for the container’s <b>alignChildren</b> and its children’s <b>alignment</b> properties depend on the orientation.</description>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="spacing">
					<shortdesc>The number of pixels separating one child element from its adjacent sibling element.</shortdesc>
					<description>Because each container holds only a single row or column of children, only a single spacing value is needed for a container. The default value is based on the type of co ntainer, and is chosen to match standard Adobe UI guidelines. </description>
					<datatype>
						<type>number</type>
					</datatype>
				</property>
				<property name="alignment">
					<shortdesc>The alignment style for child elements of a container. If defined, this value overrides the <i>alignChildren</i> setting for the parent container.</shortdesc>
					<description>This can be a single string, which indicates the alignment for the orientation specified in the parent container, or an array of two strings, indicating both the horizontal and vertical alignment (in that order). Allowed values depend on the orientation value of the parent container. They are not case sensitive.
					<li>For orientation=row:<b>top</b>, <b>bottom</b>, <b>fill</b></li>
					<li>For orientation=column: <b>left</b>, <b>right</b>, <b>fill</b> </li>
					<li>For orientation=stack:<b>top</b>, <b>bottom</b>, <b>left</b>, <b>right</b>, <b>fill</b></li></description>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="properties">
					<shortdesc>An object that contains one or more creation properties of the container (properties used only when the element is created). </shortdesc>
					<description>Creation properties of a Window object can include: 
					<li>resizeable: When true, the window can be resized by the user. Default is false.</li>
					<li>su1PanelCoordinates: Photoshop only. When true, the child panels of this window automatically adjust the positions of their children for compatability with Photoshop CS (in which the vertical coordinate was measured from outside the frame). Default is false. Individual panels can override the parent window’s setting.</li>
					<li>closeButton: Bridge only. When true, the title bar includes a button to close the window, if the platform and window type allow it. When false, it does not. Default is true. Not used for dialogs. </li>
					<li>maximizeButton: Bridge only. When true, the title bar includes a button to expand the window to its maximum size (typically, the entire screen), if the platform and window type allow it. When false, it does not. Default is false for type palette, true for type window. Not used for dialogs.</li> </description>
					<datatype>
						<type>Object</type>
					</datatype>
				</property>
				<property name="enabled">
					<shortdesc>True if this element is enabled.</shortdesc>
					<description>An enabled element can accept input, according to its type. When false, control elements do not accept input, and all types of elements have a grayed-out appearance. </description>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="helpTip">
					<shortdesc>The help text that is displayed when the mouse hovers over the element.</shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="indent">
					<shortdesc>The number of pixels to indent the element.</shortdesc>
					<datatype>
						<type>number</type>
						<min>0</min>
					</datatype>
				</property>
				<property name="parent" rwaccess="readonly">
					<shortdesc>The immediate parent element.</shortdesc>
					<datatype>
						<type>Object</type>
					</datatype>
				</property>
				<property name="window" rwaccess="readonly">
					<shortdesc>The window that this element belongs to.</shortdesc>
					<datatype>
						<type href="#/Window">Window</type>
					</datatype>
				</property>
				<property name="type" rwaccess="readonly">
					<shortdesc>The element type; "dialog", "palette", or "window".</shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<method name="show">
					<shortdesc>Makes this window visible.</shortdesc>
					<description>If an <b>onShow</b> callback is defined for a window, calls that function before showing the window.When a window or container is hidden, its children are also hidden, but when it is shown again, the children retain their own visibility states. <li>For a modal dialog, opens the dialog and does not return until the dialog is dismissed. If it is dismissed via the close() method, this method returns any result value passed to that method. Otherwise, returns 0.</li> </description>
				</method>
				<method name="hide">
					<shortdesc>Hides this windows.</shortdesc>
					<description>When a window is hidden, its children are also hidden, but when it is shown again, the children retain their own visibility states. <li>For a modal dialog, closes the dialog and sets its result to 0.</li> </description>
				</method>
				<method name="notify">
					<shortdesc>Sends a notification message to all listeners, simulating the specified user interaction event.</shortdesc>
					<parameters>
						<parameter name="eventName" optional="true">
							<shortdesc>The event name; if omitted, the default event is sent.</shortdesc>
							<description>One of: <b>onClose</b>, <b>onMove</b>, <b>onMoving</b>, <b>onResize</b>, <b>onResizing</b>, <b>onShow</b></description>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
					</parameters>
				</method>
				<method name="center">
					<shortdesc>Centers this window on screen or with repect to another window.</shortdesc>
					<parameters>
						<parameter name="window" optional="true">
							<shortdesc>The relative window. If not specified, centers on the screen. </shortdesc>
							<datatype>
								<type href="#/Window">Window</type>
							</datatype>
						</parameter>
					</parameters>
				</method>
				<method name="close">
					<shortdesc>Closes this window.</shortdesc>
					<description>. If an <b>onClose</b> callback is defined for the window, calls that function before closing the window.</description>
					<parameters>
						<parameter name="return" optional="true">
							<shortdesc>A number to be returned from the show() method that invoked this window as a modal dialog.</shortdesc>
							<datatype>
								<type>any</type>
							</datatype>
						</parameter>
					</parameters>
				</method>
				<method name="add">
					<shortdesc>Creates and returns a new control or container object and adds it to the children of this window. </shortdesc>
					<parameters>
						<parameter name="type">
							<shortdesc>The type of the child element, as specified for the <br>type</br> property.</shortdesc>
							<description>Control types are listed in the <i>JavaScript Tools Guide</i>.</description>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="bounds" optional="true">
							<shortdesc>A bounds specification that describes the size and position of the new control or container, relative to its parent. </shortdesc>
							<description>If supplied, this value creates a new <a href="Bounds">Bounds</a> object which is assigned to the new object’s <b>bounds</b> property.</description>
							<datatype>
								<type href="#/Bounds">Bounds</type>
							</datatype>
						</parameter>
						<parameter name="text" optional="true">
							<shortdesc>The text or label, a localizable string.</shortdesc>
							<description> Initial text to be displayed in the control as the title, label, or contents, depending on the control type. If supplied, this value is assigned to the new object’s <b>text</b> property.</description>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="properties" optional="true">
							<shortdesc>An object that contains one or more creation properties of the new child (properties used only when the element is created). </shortdesc>
							<description>The creation properties depend on the element type. See <br>properties</br> property of each control type.</description>
							<datatype>
								<type>Object</type>
							</datatype>
						</parameter>
					</parameters>
					<datatype>
						<type>Object</type>
					</datatype>
				</method>
				<method name="remove">
					<shortdesc>Removes the specified child control from this window’s <b>children</b> array.</shortdesc>
					<description> No error results if the child does not exist. </description>
					<parameters>
						<parameter name="what">
							<shortdesc>The child control to remove, specified by 0-based index, <b>text</b> property value, or as a control object.</shortdesc>
							<datatype><type>any</type></datatype>
						</parameter>
					</parameters>
				</method>
				<method name="addEventListener">
					<shortdesc>Registers an event handler for a particular type of event occuring in this window.</shortdesc>
					<parameters>
						<parameter name="eventName">
							<shortdesc>The name of the event.</shortdesc>
							<description>Event names are listed in the <i>JavaScript Tools Guide</i>.</description>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="handler">
							<shortdesc>The function that handles the event.</shortdesc>
							<description>This can be the name of a function defined in the extension, or a locally defined handler function to be executed when the event occurs. A handler function takes one argument, the <a href="UIEvent">UIEvent</a> object. </description>
							<datatype>
								<type href="$COMMON/javascript.xml#/Function">Function</type>
							 </datatype>
						</parameter>
						<parameter name="capturePhase">
							<shortdesc>When true, the handler is called only in the capturing phase of the event propagation. </shortdesc>
							<description>Default is false, meaning that the handler is called in the bubbling phase if this object is an ancestor of the target, or in the at-target phase if this object is itself the target.</description>
							<datatype>
								<type>bool</type>
								<value>false</value>
							</datatype>
						</parameter>
					</parameters>
					<datatype>
						<type>bool</type>
					</datatype>
				</method>
				<method name="removeEventListener">
					<shortdesc>Unregisters an event handler for a particular type of event occuring in this window.</shortdesc>
					<description> All arguments must be identical to those that were used to register the event handler.</description>
					<parameters>
						<parameter name="eventName">
							<shortdesc>The name of the event.</shortdesc>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="handler">
							<shortdesc>The function that handles the event.</shortdesc>
							<datatype><type href="$COMMON/javascript.xml#/Function">Function</type></datatype>
						</parameter>
						<parameter name="capturePhase">
							<shortdesc>Whether to call the handler only in the capturing phase of the event propagation.</shortdesc>
							<datatype>
								<type>bool</type>
								<value>false</value>
							</datatype>
						</parameter>
					</parameters>
					<datatype>
						<type>bool</type>
					</datatype>
				</method>
				<method name="dispatchEvent">
					<shortdesc>Simulates the occurrence of an event in this target. </shortdesc>
					<description>A script can create a <a href="UIEvent">UIEvent</a> object for a specific event and pass it to this method to start the event propagation for the event. </description>
					<datatype>
						<type href="#/UIEvent">UIEvent</type>
					</datatype>
				</method>
			</elements>
			<elements type="event">
				<method name="onClose">
					<shortdesc>An event-handler callback function, called  when the window is about to be closed.</shortdesc>
					<description>Called when a request is made to close the window, either by an explicit call to the close() function or by a user action (clicking the OS-specific close icon in the title bar). The function is called before the window actually closes; it can return false to cancel the close operation.</description>
					<datatype>
						<type>bool</type>
					</datatype>
				</method>
				<method name="onMove">
					<shortdesc>An event-handler callback function, called  when the window  has been moved</shortdesc>
				</method>
				<method name="onMoving">
					<shortdesc>An event-handler callback function, called  when the window is being moved</shortdesc>
					<description>Called while a window in being moved, each time the position changes. A handler can monitor the move operation.</description>
				</method>
				<method name="onResize">
					<shortdesc>An event-handler callback function, called after the window has been resized</shortdesc>
				</method>
				<method name="onResizing">
					<shortdesc>An event-handler callback function, called while a window is being resized</shortdesc>
					<description>Called while a window is being resized, each time the height or width changes. A handler can monitor the resize operation.</description>
				</method>
				<method name="onShow">
					<shortdesc>An event-handler callback function, called just before the window is displayed</shortdesc>
					<description>Called when a request is made to open the window using the show() method, before the window is made visible, but after automatic layout is complete. A handler can modify the results of the automatic layout.</description>
				</method>
			</elements>
		</classdef>
		<classdef name="LayoutManager" dynamic="true">
			<shortdesc>Controls the automatic layout behavior for a window or container. </shortdesc>
			<description>The subclass AutoLayoutManager implements the default automatic layout behavior.</description>
			<elements type="instance">
				<method name="layout">
					<shortdesc>Invokes the automatic layout behavior for the managed container. </shortdesc>
					<description> Adjusts sizes and positions of the child elements of this window or container according to the placement and alignment property values in the parent and children. 
Invoked automatically the first time the window is displayed. Thereafter, the script must invoke it explicitly to change the layout in case of changes in the size or position of the parent or children.</description>
				</method>
				<method name="resize">
					<shortdesc>Performs a layout after a Window is resized, based on the new size.</shortdesc>
					<description>Resizes the child elements of the managed container with a given alignment type, after the window has been resized by the user. </description>
				</method>
			</elements>
		</classdef>
		<classdef name="ScriptUIPen" dynamic="true">
			<shortdesc>A pen, used to draw with the&#160;<a href="#/ScriptUIGraphics">ScriptUIGraphics</a>&#160;object.
		</shortdesc>
			<elements type="instance">
				<property name="color" rwaccess="readonly">
					<shortdesc>The pen color.</shortdesc>
					<description>This is a four-element array containign values for Red, Green, Blue and transparency.</description>
					<datatype>
						<type>number</type>
						<array size="4"/>
					</datatype>
				</property>
				<property name="theme" rwaccess="readonly">
					<shortdesc>The theme name.</shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="type" rwaccess="readonly">
					<shortdesc>The element type.</shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="lineWidth">
					<shortdesc>The line width.</shortdesc>
					<datatype>
						<type>number</type>
						<min>1</min>
					</datatype>
				</property>
			</elements>
		</classdef>
		<classdef name="ScriptUIBrush" dynamic="true">
			<shortdesc>
				A brush, used to draw with the&#160;<a href="#/ScriptUIGraphics">ScriptUIGraphics</a>&#160;object.
			</shortdesc>
			<elements type="instance">
				<property name="color" rwaccess="readonly">
					<shortdesc>The color is a four-element array of R, G, B and alpha values.</shortdesc>
					<datatype>
						<type>number</type>
						<array size="4"/>
					</datatype>
				</property>
				<property name="theme" rwaccess="readonly">
					<shortdesc>The theme name.</shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="type" rwaccess="readonly">
					<shortdesc>The brush type.</shortdesc>
					<datatype>
						<type>number</type>
					</datatype>
				</property>
			</elements>
		</classdef>
		<classdef name="ScriptUIPath" dynamic="true">
			<shortdesc>A graphics path containing path construction operators and control points.</shortdesc>
		</classdef>
		<classdef name="ScriptUIGraphics" dynamic="true">
			<shortdesc>An object used to draw custom graphics.</shortdesc>
			<elements type="instance">
				<property name="backgroundColor">
					<shortdesc>The background color for containers; for non-containers, the parent BG color.</shortdesc>
					<description>This is a four-element array containing values for Red, Green, Blue and transparency.</description>
					<datatype>
						<type>number</type>
						<array size="4"/>
					</datatype>
				</property>
				<property name="disabledBackgroundColor">
					<shortdesc>The background color for containers when disabled or inactive; for non-containers, the parent BG color.</shortdesc>
					<description>This is a four-element array containing values for Red, Green, Blue and transparency.</description>
					<datatype>
						<type>number</type>
						<array size="4"/>
					</datatype>
				</property>
				<property name="disabledForegroundColor">
					<shortdesc>The text color when the element is disabled or inactive.</shortdesc>
					<description>This is a four-element array containing values for Red, Green, Blue and transparency.</description>
					<datatype>
						<type>number</type>
						<array size="4"/>
					</datatype>
				</property>
				<property name="font">
					<shortdesc>The font to use for displaying text.</shortdesc>
					<datatype>
						<type href="#/ScriptUIFont">ScriptUIFont</type>
					</datatype>
				</property>
				<property name="foregroundColor">
					<shortdesc>The text color.</shortdesc>
					<description>This is a four-element array containing values for Red, Green, Blue and transparency.</description>
					<datatype>
						<type>number</type>
						<array size="4"/>
					</datatype>
				</property>
				<property name="BrushType" rwaccess="readonly">
					<shortdesc>The available types of ScriptUIBrush objects.</shortdesc>
					<description>This is an object containing two colors: SOLID_COLOR and THEME_COLOR.</description>
					<datatype>
						<type>Object</type>
					</datatype>
				</property>
				<property name="currentPath" rwaccess="readonly">
					<shortdesc>The current Path object.</shortdesc>
					<datatype>
						<type href="#/ScriptUIPath">ScriptUIPath</type>
					</datatype>
				</property>
				<property name="currentPoint" rwaccess="readonly">
					<shortdesc>The current drawing position of the current Path object.</shortdesc>
					<datatype>
						<type href="#/Point">Point</type>
					</datatype>
				</property>
				<property name="PenType" rwaccess="readonly">
					<shortdesc>The available types of ScriptUIPen objects.</shortdesc>
					<description>This is an object containing two colors: SOLID_COLOR and THEME_COLOR.</description>
					<datatype>
						<type>Object</type>
					</datatype>
				</property>
				<method name="newBrush">
					<shortdesc>Create a new brush.</shortdesc>
					<parameters>
						<parameter name="type">
							<shortdesc>The brush type; one of SOLID_COLOR or THEME_COLOR.</shortdesc>
							<datatype>
								<type>number</type>
							</datatype>
						</parameter>
						<parameter name="color">
							<shortdesc>The brush color; if SOLID_COLOR, a color, or if THEME_COLOR, a theme name.</shortdesc>
							<datatype>
								<type>number</type>
								<array size="4"/>
							</datatype>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
					</parameters>
					<datatype>
						<type href="#/ScriptUIBrush">ScriptUIBrush</type>
					</datatype>
				</method>
				<method name="newPen">
					<shortdesc>Create a new pen.</shortdesc>
					<parameters>
						<parameter name="type">
							<shortdesc>The pen type; one of SOLID_COLOR or THEME_COLOR.</shortdesc>
							<datatype>
								<type>number</type>
							</datatype>
						</parameter>
						<parameter name="color">
							<shortdesc>The pen color; if SOLID_COLOR, a color, or if THEME_COLOR, a theme name.</shortdesc>
							<datatype>
								<type>number</type>
								<array size="4"/>
							</datatype>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
					</parameters>
					<datatype>
						<type href="#/ScriptUIPen">ScriptUIPen</type>
					</datatype>
				</method>
				<method name="newPath">
					<shortdesc>Create a new Path object.</shortdesc>
					<datatype>
						<type href="#/ScriptUIPath">ScriptUIPath</type>
					</datatype>
				</method>
				<method name="closePath">
					<shortdesc>Close the current path.</shortdesc>
				</method>
				<method name="moveTo">
					<shortdesc>Move the current position; returns the given position.</shortdesc>
					<parameters>
						<parameter name="x">
							<shortdesc>The X coordinate.</shortdesc>
							<datatype>
								<type>number</type>
							</datatype>
						</parameter>
						<parameter name="y">
							<shortdesc>The Y coordinate.</shortdesc>
							<datatype>
								<type>number</type>
							</datatype>
						</parameter>
					</parameters>
					<datatype>
						<type href="#/Point">Point</type>
					</datatype>
				</method>
				<method name="lineTo">
					<shortdesc>Draw a line to the given position; returns the given position.</shortdesc>
					<parameters>
						<parameter name="x">
							<shortdesc>The X coordinate.</shortdesc>
							<datatype>
								<type>number</type>
							</datatype>
						</parameter>
						<parameter name="y">
							<shortdesc>The Y coordinate.</shortdesc>
							<datatype>
								<type>number</type>
							</datatype>
						</parameter>
					</parameters>
					<datatype>
						<type href="#/Point">Point</type>
					</datatype>
				</method>
				<method name="rectPath">
					<shortdesc>Draw a rectangle; returns a Point object containing the upper-left corner.</shortdesc>
					<parameters>
						<parameter name="left">
							<shortdesc>The left coordinate.</shortdesc>
							<datatype>
								<type>number</type>
							</datatype>
						</parameter>
						<parameter name="top">
							<shortdesc>The top coordinate.</shortdesc>
							<datatype>
								<type>number</type>
							</datatype>
						</parameter>
						<parameter name="width">
							<shortdesc>The width.</shortdesc>
							<datatype>
								<type>number</type>
							</datatype>
						</parameter>
						<parameter name="height">
							<shortdesc>The height.</shortdesc>
							<datatype>
								<type>number</type>
							</datatype>
						</parameter>
					</parameters>
					<datatype>
						<type href="#/Point">Point</type>
					</datatype>
				</method>
				<method name="ellipsePath">
					<shortdesc>Draw an ellipse; returns a Point object containing the upper-left corner.</shortdesc>
					<parameters>
						<parameter name="left">
							<shortdesc>The left coordinate.</shortdesc>
							<datatype>
								<type>number</type>
							</datatype>
						</parameter>
						<parameter name="top">
							<shortdesc>The top coordinate.</shortdesc>
							<datatype>
								<type>number</type>
							</datatype>
						</parameter>
						<parameter name="width">
							<shortdesc>The width.</shortdesc>
							<datatype>
								<type>number</type>
							</datatype>
						</parameter>
						<parameter name="height">
							<shortdesc>The height.</shortdesc>
							<datatype>
								<type>number</type>
							</datatype>
						</parameter>
					</parameters>
					<datatype>
						<type href="#/Point">Point</type>
					</datatype>
				</method>
				<method name="strokePath">
					<shortdesc>TBD</shortdesc>
					<parameters>
						<parameter name="pen">
							<shortdesc>The pen to be used.</shortdesc>
							<datatype>
								<type href="#/ScriptUIPen">ScriptUIPen</type>
							</datatype>
						</parameter>
						<parameter name="path" optional="true">
							<shortdesc>The Path object to use.</shortdesc>
							<datatype>
								<type href="#/ScriptUIPath">ScriptUIPath</type>
							</datatype>
						</parameter>
					</parameters>
				</method>
				<method name="fillPath">
					<shortdesc>Fill a path.</shortdesc>
					<parameters>
						<parameter name="brush">
							<shortdesc>The brush to be used.</shortdesc>
							<datatype>
								<type href="#/ScriptUIBrush">ScriptUIBrush</type>
							</datatype>
						</parameter>
						<parameter name="path" optional="true">
							<shortdesc>The Path object to use.</shortdesc>
							<datatype>
								<type href="#/ScriptUIPath">ScriptUIPath</type>
							</datatype>
						</parameter>
					</parameters>
				</method>
				<method name="drawFocusRing">
					<shortdesc>Draw a focus ring.</shortdesc>
					<parameters>
						<parameter name="left">
							<shortdesc>The left coordinate.</shortdesc>
							<datatype>
								<type>number</type>
							</datatype>
						</parameter>
						<parameter name="top">
							<shortdesc>The top coordinate.</shortdesc>
							<datatype>
								<type>number</type>
							</datatype>
						</parameter>
						<parameter name="width">
							<shortdesc>The width.</shortdesc>
							<datatype>
								<type>number</type>
							</datatype>
						</parameter>
						<parameter name="height">
							<shortdesc>The height.</shortdesc>
							<datatype>
								<type>number</type>
							</datatype>
						</parameter>
					</parameters>
				</method>
				<method name="drawImage">
					<shortdesc>Draw an image.</shortdesc>
					<parameters>
						<parameter name="image">
							<shortdesc>The image to draw.</shortdesc>
							<datatype>
								<type href="#/ScriptUIImage">ScriptUIImage</type>
							</datatype>
						</parameter>
						<parameter name="left">
							<shortdesc>The left coordinate.</shortdesc>
							<datatype>
								<type>number</type>
							</datatype>
						</parameter>
						<parameter name="top">
							<shortdesc>The top coordinate.</shortdesc>
							<datatype>
								<type>number</type>
							</datatype>
						</parameter>
						<parameter name="width" optional="true">
							<shortdesc>The width; if omitted, use the image width.</shortdesc>
							<datatype>
								<type>number</type>
							</datatype>
						</parameter>
						<parameter name="height" optional="true">
							<shortdesc>The height; if omitted, use the image height.</shortdesc>
							<datatype>
								<type>number</type>
							</datatype>
						</parameter>
					</parameters>
				</method>
				<method name="drawOSControl">
					<shortdesc>Draw the OS control associated with this element.</shortdesc>
				</method>
				<method name="drawString">
					<shortdesc>Draw a string.</shortdesc>
					<parameters>
						<parameter name="text">
							<shortdesc>The text to draw.</shortdesc>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="pen">
							<shortdesc>The pen to use.</shortdesc>
							<datatype>
								<type href="#/ScriptUIPen">ScriptUIPen</type>
							</datatype>
						</parameter>
						<parameter name="x">
							<shortdesc>The left coordinate.</shortdesc>
							<datatype>
								<type>number</type>
							</datatype>
						</parameter>
						<parameter name="y">
							<shortdesc>The top coordinate.</shortdesc>
							<datatype>
								<type>number</type>
							</datatype>
						</parameter>
						<parameter name="font" optional="true">
							<shortdesc>The font to use; if omitted, use the font at the&#160;<a href="#/ScriptUIGraphics/event/onDraw">ScriptUIGraphics</a>&#160;object.</shortdesc>
							<datatype>
								<type href="#/ScriptUIFont">ScriptUIFont</type>
							</datatype>
						</parameter>
					</parameters>
				</method>
				<method name="measureString">
					<shortdesc>Calculate the size needed to display a string using the given font.</shortdesc>
					<parameters>
						<parameter name="text">
							<shortdesc>The text whose size to calculate.</shortdesc>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="font" optional="true">
							<shortdesc>
								The font to use; if omitted, use the font at the&#160;<a href="#/ScriptUIGraphics/event/onDraw">ScriptUIGraphics</a>&#160;object.
							</shortdesc>
							<datatype>
								<type href="#/ScriptUIFont">ScriptUIFont</type>
							</datatype>
						</parameter>
						<parameter name="boundingWidth" optional="true">
							<shortdesc>The bounding width.</shortdesc>
							<datatype>
								<type>number</type>
							</datatype>
						</parameter>
					</parameters>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</method>
			</elements>
			<elements type="event">
				<method name="onDraw">
					<shortdesc>Called when the UI needs to be drawn.</shortdesc>
					<parameters>
						<parameter name="drawState">
							<shortdesc>The argument delivers information about buttons and modifier keys.</shortdesc>
							<datatype>
								<type href="#/DrawState">DrawState</type>
							</datatype>
						</parameter>
					</parameters>
				</method>
			</elements>
		</classdef>
		<classdef name="DrawState" dynamic="true">
			<shortdesc>
				Describes the drawing state; passed in as argument to&#160;<a href="#/ScriptUIGraphics/event/onDraw">ScriptUIGraphics.onDraw()</a>
			</shortdesc>
			<elements type="instance">
				<property name="mouseOver" rwaccess="readonly">
					<shortdesc>True if the mouse hovers over this element</shortdesc>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="leftButtonPressed" rwaccess="readonly">
					<shortdesc>True if the left mouse button is being pressed</shortdesc>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="middleButtonPressed" rwaccess="readonly">
					<shortdesc>True if the middle mouse button is being pressed</shortdesc>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="rightButtonPressed" rwaccess="readonly">
					<shortdesc>True if the right mouse button is being pressed</shortdesc>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="hasFocus" rwaccess="readonly">
					<shortdesc>True if the element has the input focus</shortdesc>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="shiftKeyPressed" rwaccess="readonly">
					<shortdesc>True if the Shift key is being pressed</shortdesc>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="ctrlKeyPressed" rwaccess="readonly">
					<shortdesc>True if the Ctrl key is being pressed</shortdesc>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="cmdKeyPressed" rwaccess="readonly">
					<shortdesc>True if the Command key is being pressed (true on Macintosh only)</shortdesc>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="optKeyPressed" rwaccess="readonly">
					<shortdesc>True if the Option key is being pressed (true on Macintosh only)</shortdesc>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="altKeyPressed" rwaccess="readonly">
					<shortdesc>True if the Alt key is being pressed (true on Windows only)</shortdesc>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="numLockKeyPressed" rwaccess="readonly">
					<shortdesc>True if the Num Lock key is being pressed</shortdesc>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="capsLockKeyPressed" rwaccess="readonly">
					<shortdesc>True if the Caps Lock key is being pressed</shortdesc>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
			</elements>
		</classdef>
		<classdef name="ScriptUIFont" dynamic="true">
			<shortdesc>A font.</shortdesc>
			<elements type="instance">
				<property name="family" rwaccess="readonly">
					<shortdesc>The font family name.</shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="name" rwaccess="readonly">
					<shortdesc>The font name.</shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="size" rwaccess="readonly">
					<shortdesc>The font size.</shortdesc>
					<datatype>
						<type>number</type>
					</datatype>
				</property>
				<property name="style" rwaccess="readonly">
					<shortdesc>The font style.</shortdesc>
					<datatype>
						<type>Object</type>
					</datatype>
				</property>
				<property name="substitute" rwaccess="readonly">
					<shortdesc>The name of the substitution font.</shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
			</elements>
		</classdef>
		<classdef name="ScriptUIImage" dynamic="true">
			<shortdesc>An image.</shortdesc>
			<elements type="instance">
				<property name="format" rwaccess="readonly">
					<shortdesc>The image format; one of resource, JPEG, GIF, TIFF, PNG, or PICT (Macintosh).</shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="name" rwaccess="readonly">
					<shortdesc>The image name; either the file name, or the resource name.</shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="pathname" rwaccess="readonly">
					<shortdesc>The path name of the file that contains the image.</shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="size" rwaccess="readonly">
					<shortdesc>The image size.</shortdesc>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
			</elements>
		</classdef>
		<classdef name="StaticText" dynamic="true">
		<shortdesc>A text label that the user cannot change.</shortdesc>
			<elements type="instance">
				<property name="characters">
					<shortdesc>A number of characters for which to reserve space when calculating the preferred size of the element. </shortdesc>
					<datatype>
						<type>number</type>
						<min>0</min>
					</datatype>
				</property>
				<property name="justify">
					<shortdesc>The text justification style. </shortdesc>
					<description>One of <b>left</b>, <b>center</b>, or <b>right</b>.</description>
					<datatype>
						<type>string</type>
						<value>left</value>
					</datatype>
				</property>
				<property name="text">
					<shortdesc>The text to display, a localizable string.</shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="active">
					<shortdesc>Always false. This element cannot have input focus. </shortdesc>
					<description>An active control is the one with keyboard focus—that is, the one that accepts keystrokes, or in the case of a Button, is selected when the user types Return or Enter.</description>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="shortcutKey">
					<shortdesc>The key sequence that invokes the <b>onShortcutKey</b> callback for this element (in Windows only). </shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="graphics" rwaccess="readonly">
					<shortdesc>The graphics object that can be used to customize the element's appearance, in response to the <b>onDraw</b> event.</shortdesc>
					<datatype>
						<type href="#/ScriptUIGraphics">ScriptUIGraphics</type>
					</datatype>
				</property>
				<property name="visible">
					<shortdesc>True if this element is shown, false if it is hidden.</shortdesc>
					<description>When a container is hidden, its children are also hidden, but they retain their own visibility values, and are shown or hidden accordingly when the parent is next shown.</description>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="bounds">
					<shortdesc>The boundaries of the element, in parent-relative coordinates. </shortdesc>
					<description>Setting an element's size or location changes its bounds property, and vice-versa.</description>
					<datatype>
						<type href="#/Bounds">Bounds</type>
					</datatype>
				</property>
				<property name="location">
					<shortdesc>The upper left corner of this element relative to its parent.</shortdesc>
					<description>The location is defined as [bounds.x, bounds.y]. Setting an element's location changes its bounds property, and vice-versa. </description>
					<datatype>
						<type href="#/Point">Point</type>
					</datatype>
				</property>
				<property name="maximumSize">
					<shortdesc> The maximum height and width to which the element can be resized.</shortdesc>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="minimumSize">
					<shortdesc>The minimum height and width to which the element can be resized.</shortdesc>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="preferredSize">
					<shortdesc>The preferred size, used by layout managers to determine the best size for each element.</shortdesc>
					<description>If not explicitly set by a script, value is established by the UI framework in which ScriptUI is employed, and is based on such attributes of the element as its text, font, font size, icon size, and other UI framework-specific attributes.A script can explicitly set preferredSize before the layout manager is invoked in order to establish an element size other than the default. </description>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="size">
					<shortdesc>The current dimensions of this element.</shortdesc>
					<description> Initially undefined, and unless explicitly set by a script, it is defined by a LayoutManager. A script can explicitly set size before the layout manager is invoked to establish an element size other than the preferredSize or the default size. Defined as [bounds.width, bounds.height]. Setting an element's size changes its bounds property, and vice-versa. </description>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="windowBounds" rwaccess="readonly">
					<shortdesc>The bounds of this element relative to the top-level parent window.</shortdesc>
					<datatype>
						<type href="#/Bounds">Bounds</type>
					</datatype>
				</property>
				<property name="alignment">
					<shortdesc>The alignment style for this element. If defined, this value overrides the <i>alignChildren</i> setting for the parent container.</shortdesc>
					<description>This can be a single string, which indicates the alignment for the orientation specified in the parent container, or an array of two strings, indicating both the horizontal and vertical alignment (in that order). Allowed values depend on the orientation value of the parent container. They are not case sensitive.
					<li>For orientation=row:<b>top</b>, <b>bottom</b>, <b>fill</b></li>
					<li>For orientation=column: <b>left</b>, <b>right</b>, <b>fill</b> </li>
					<li>For orientation=stack:<b>top</b>, <b>bottom</b>, <b>left</b>, <b>right</b>, <b>fill</b></li></description>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="children" rwaccess="readonly">
					<shortdesc>An array of child elements.</shortdesc>
					<datatype>
						<type>Object</type>
						<array/>
					</datatype>
				</property>
				<property name="properties">
					<shortdesc>An object that contains one or more creation properties of the container (properties used only when the element is created). </shortdesc>
					 <description>Creation properties of a StaticText object can include: 
					 <li> multiline: When false (the default), the control displays a single line of text. When true, the control displays multiple lines, in which case the text wraps within the width of the control.</li>
					  <li>scrolling: When false (the default), the displayed text cannot be scrolled. When true, the displayed text can be vertically scrolled using the Up Arrow and Down Arrow; this case implies multiline=true.</li> </description>
					<datatype>
						<type>Object</type>
					</datatype>
				</property>
				<property name="enabled">
					<shortdesc>True if this element is enabled.</shortdesc>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="helpTip">
					<shortdesc>The help text that is displayed when the mouse hovers over the element.</shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="indent">
					<shortdesc>The number of pixels to indent the element during automatic layout.</shortdesc>
					<description>Applies for column orientation and left alignment, or row orientation and top alignment.</description>
					<datatype>
						<type>number</type>
						<min>0</min>
					</datatype>
				</property>
				<property name="parent" rwaccess="readonly">
					<shortdesc>The parent element.</shortdesc>
					<datatype>
						<type>Object</type>
					</datatype>
				</property>
				<property name="window" rwaccess="readonly">
					<shortdesc>The window that this element belongs to.</shortdesc>
					<datatype>
						<type href="#/Window">Window</type>
					</datatype>
				</property>
				<property name="type" rwaccess="readonly">
					<shortdesc>The element type, "statictext".</shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<method name="notify">
					<shortdesc>Sends a notification message, simulating the specified user interaction event. </shortdesc>
					<parameters>
						<parameter name="eventName" optional="true">
							<shortdesc>The name of the control event handler to call. </shortdesc>
							<description>One of: <b>onClick</b>, <b>onChange</b>, <b>onChanging</b>. By default, simulates the <b>onChange</b> event for an edittext control, an <b>onClick</b> event for controls that support that event.</description>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
					</parameters>
				</method>
				<method name="show">
					<shortdesc>Shows this element.</shortdesc>
					<description> When a window or container is hidden, its children are also hidden, but when it is shown again, the children retain their own visibility states.</description>
				</method>
				<method name="hide">
					<shortdesc>Hides this element.</shortdesc>
				</method>
				<method name="addEventListener">
					<shortdesc>Registers an event handler for a particular type of event occuring in this element.</shortdesc>
					<parameters>
						<parameter name="eventName">
							<shortdesc>The name of the event.</shortdesc>
							<description>Event names are listed in the <i>JavaScript Tools Guide</i>.</description>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="handler">
							<shortdesc>The function that handles the event.</shortdesc>
							<description>This can be the name of a function defined in the extension, or a locally defined handler function to be executed when the event occurs. A handler function takes one argument, the <a href="UIEvent">UIEvent</a> object. </description>
							<datatype><type href="$COMMON/javascript.xml#/Function">Function</type></datatype>
						</parameter>
						<parameter name="capturePhase">
								<shortdesc>When true, the handler is called only in the capturing phase of the event propagation. </shortdesc>
								<description>Default is false, meaning that the handler is called in the bubbling phase if this object is an ancestor of the target, or in the at-target phase if this object is itself the target.</description>
							<datatype>
								<type>bool</type>
								<value>false</value>
							</datatype>
						</parameter>
					</parameters>
					<datatype>
						<type>bool</type>
					</datatype>
				</method>
				<method name="removeEventListener">
					<shortdesc>Unregisters an event handler for a particular type of event occuring in this element.</shortdesc>
					<description> All arguments must be identical to those that were used to register the event handler.</description>
					<parameters>
						<parameter name="eventName">
							<shortdesc>The name of the event.</shortdesc>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="handler">
							<shortdesc>The function that handles the event.</shortdesc>
							<datatype><type href="$COMMON/javascript.xml#/Function">Function</type></datatype>
						</parameter>
						<parameter name="capturePhase">
							<shortdesc>Whether to call the handler only in the capturing phase of the event propagation.</shortdesc>
							<datatype>
								<type>bool</type>
								<value>false</value>
							</datatype>
						</parameter>
					</parameters>
					<datatype>
						<type>bool</type>
					</datatype>
				</method>
				<method name="dispatchEvent">
					<shortdesc>Simulates the occurrence of an event in this target. </shortdesc>
					<description>A script can create a <a href="UIEvent">UIEvent</a> object for a specific event and pass it to this method to start the event propagation for the event. </description>
					<datatype>
						<type href="#/Event">Event</type>
					</datatype>
				</method>
			</elements>
			<elements type="event">
				<method name="onShortcutKey">
					<shortdesc>An event-handler callback function, called when the element's <b>shortcutKey</b> sequence is typed in the active window.</shortdesc>
					<description>In Windows only.</description>
				</method>
			</elements>
		</classdef>
		<classdef name="Image" dynamic="true">
			<shortdesc>An element that displays an image.</shortdesc>
			<description>An Image object has no creation properties, but the third argument to the add() method that creates it can be an icon, specified as a resource name, path, or File object for the image file. Images must be in PNG format. </description>
		<elements type="instance">
				<property name="image">
					<shortdesc>The image object that defines the image to be drawn.</shortdesc>
					<datatype>
						<type href="#/ScriptUIImage">ScriptUIImage</type>
					</datatype>
				</property>
				<property name="graphics" rwaccess="readonly">
					<shortdesc>The graphics object that can be used to customize the element's appearance, in response to the <b>onDraw</b> event.</shortdesc>
					<datatype>
						<type href="#/ScriptUIGraphics">ScriptUIGraphics</type>
					</datatype>
				</property>
				<property name="visible">
					<shortdesc>True if this element is shown, false if it is hidden.</shortdesc>
					<description>When a container is hidden, its children are also hidden, but they retain their own visibility values, and are shown or hidden accordingly when the parent is next shown.</description>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="bounds">
					<shortdesc>The boundaries of the element, in parent-relative coordinates. </shortdesc>
					<description>Setting an element's size or location changes its bounds property, and vice-versa.</description>
					<datatype>
						<type href="#/Bounds">Bounds</type>
					</datatype>
				</property>
				<property name="location">
					<shortdesc>The upper left corner of this element relative to its parent.</shortdesc>
					<description>The location is defined as [bounds.x, bounds.y]. Setting an element's location changes its bounds property, and vice-versa. </description>
					<datatype>
						<type href="#/Point">Point</type>
					</datatype>
				</property>
				<property name="maximumSize">
					<shortdesc> The maximum height and width to which the element can be resized.</shortdesc>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="minimumSize">
					<shortdesc>The minimum height and width to which the element can be resized.</shortdesc>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="preferredSize">
					<shortdesc>The preferred size, used by layout managers to determine the best size for each element.</shortdesc>
					<description>If not explicitly set by a script, value is established by the UI framework in which ScriptUI is employed, and is based on such attributes of the element as its text, font, font size, icon size, and other UI framework-specific attributes.A script can explicitly set preferredSize before the layout manager is invoked in order to establish an element size other than the default. </description>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="size">
					<shortdesc>The current dimensions of this element.</shortdesc>
					<description> Initially undefined, and unless explicitly set by a script, it is defined by a LayoutManager. A script can explicitly set size before the layout manager is invoked to establish an element size other than the preferredSize or the default size. Defined as [bounds.width, bounds.height]. Setting an element's size changes its bounds property, and vice-versa. </description>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="windowBounds" rwaccess="readonly">
					<shortdesc>The bounds of this element relative to the top-level parent window.</shortdesc>
					<datatype>
						<type href="#/Bounds">Bounds</type>
					</datatype>
				</property>
				<property name="alignment">
					<shortdesc>The alignment style for this element. If defined, this value overrides the <i>alignChildren</i> setting for the parent container.</shortdesc>
					<description>This can be a single string, which indicates the alignment for the orientation specified in the parent container, or an array of two strings, indicating both the horizontal and vertical alignment (in that order). Allowed values depend on the orientation value of the parent container. They are not case sensitive.
					<li>For orientation=row:<b>top</b>, <b>bottom</b>, <b>fill</b></li>
					<li>For orientation=column: <b>left</b>, <b>right</b>, <b>fill</b> </li>
					<li>For orientation=stack:<b>top</b>, <b>bottom</b>, <b>left</b>, <b>right</b>, <b>fill</b></li></description>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="children" rwaccess="readonly">
					<shortdesc>An array of child elements.</shortdesc>
					<datatype>
						<type>Object</type>
						<array/>
					</datatype>
				</property>
				<property name="properties">
					<shortdesc>An object that contains one or more creation properties of the container (properties used only when the element is created). </shortdesc>
					 <description>An Image object has no creation properties, but the third argument to the add() method that creates it can be an icon, specified as a resource name, path, or File object for the image file. Images must be in PNG format. </description>
					<datatype>
						<type>Object</type>
					</datatype>
				</property>
				<property name="enabled">
					<shortdesc>True if this element is enabled.</shortdesc>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="helpTip">
					<shortdesc>The help text that is displayed when the mouse hovers over the element.</shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="indent">
					<shortdesc>The number of pixels to indent the element during automatic layout.</shortdesc>
					<description>Applies for column orientation and left alignment, or row orientation and top alignment.</description>
					<datatype>
						<type>number</type>
						<min>0</min>
					</datatype>
				</property>
				<property name="parent" rwaccess="readonly">
					<shortdesc>The parent element.</shortdesc>
					<datatype>
						<type>Object</type>
					</datatype>
				</property>
				<property name="window" rwaccess="readonly">
					<shortdesc>The window that this element belongs to.</shortdesc>
					<datatype>
						<type href="#/Window">Window</type>
					</datatype>
				</property>
				<property name="type" rwaccess="readonly">
					<shortdesc>The element type; "image".</shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<method name="show">
					<shortdesc>Shows this element.</shortdesc>
					<description> When a window or container is hidden, its children are also hidden, but when it is shown again, the children retain their own visibility states.</description>
				</method>
				<method name="hide">
					<shortdesc>Hides this element.</shortdesc>
				</method>
				<method name="addEventListener">
					<shortdesc>Registers an event handler for a particular type of event occuring in this element.</shortdesc>
					<parameters>
						<parameter name="eventName">
							<shortdesc>The name of the event.</shortdesc>
							<description>Event names are listed in the <i>JavaScript Tools Guide</i>.</description>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="handler">
							<shortdesc>The function that handles the event.</shortdesc>
							<description>This can be the name of a function defined in the extension, or a locally defined handler function to be executed when the event occurs. A handler function takes one argument, the <a href="UIEvent">UIEvent</a> object. </description>
							<datatype><type href="$COMMON/javascript.xml#/Function">Function</type></datatype>
						</parameter>
						<parameter name="capturePhase">
								<shortdesc>When true, the handler is called only in the capturing phase of the event propagation. </shortdesc>
								<description>Default is false, meaning that the handler is called in the bubbling phase if this object is an ancestor of the target, or in the at-target phase if this object is itself the target.</description>
							<datatype>
								<type>bool</type>
								<value>false</value>
							</datatype>
						</parameter>
					</parameters>
					<datatype>
						<type>bool</type>
					</datatype>
				</method>
				<method name="removeEventListener">
					<shortdesc>Unregisters an event handler for a particular type of event occuring in this element.</shortdesc>
					<description> All arguments must be identical to those that were used to register the event handler.</description>
					<parameters>
						<parameter name="eventName">
							<shortdesc>The name of the event.</shortdesc>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="handler">
							<shortdesc>The function that handles the event.</shortdesc>
							<datatype><type href="$COMMON/javascript.xml#/Function">Function</type></datatype>
						</parameter>
						<parameter name="capturePhase">
							<shortdesc>Whether to call the handler only in the capturing phase of the event propagation.</shortdesc>
							<datatype>
								<type>bool</type>
								<value>false</value>
							</datatype>
						</parameter>
					</parameters>
					<datatype>
						<type>bool</type>
					</datatype>
				</method>
				<method name="dispatchEvent">
					<shortdesc>Simulates the occurrence of an event in this target. </shortdesc>
					<description>A script can create a <a href="UIEvent">UIEvent</a> object for a specific event and pass it to this method to start the event propagation for the event. </description>
					<datatype>
						<type href="#/Event">Event</type>
					</datatype>
				</method>
			</elements>
		</classdef>
		<classdef name="Button" dynamic="true">
			<shortdesc>A pushbutton element containing a mouse-sensitive text string. </shortdesc>
			<description>Calls the <b>onClick</b> callback if the control is clicked or if its <b>notify()</b> method is called.</description>
			<elements type="instance">
				<property name="characters">
					<shortdesc>A number of characters for which to reserve space when calculating the preferred size of the element. </shortdesc>
					<datatype>
						<type>number</type>
						<min>0</min>
					</datatype>
				</property>
				<property name="justify">
					<shortdesc>The text justification style. </shortdesc>
					<description>One of <b>left</b>, <b>center</b>, or <b>right</b>.</description>
					<datatype>
						<type>string</type>
						<value>left</value>
					</datatype>
				</property>
				<property name="text">
					<shortdesc>The text to display, a localizable string.</shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="active">
					<shortdesc>True if this element is active.</shortdesc>
					<description>An active control is the one with keyboard focus—that is, the one that accepts keystrokes, or in the case of a Button, is selected when the user types Return or Enter.</description>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="shortcutKey">
					<shortdesc>The key sequence that invokes the <b>onShortcutKey</b> callback for this element (in Windows only). </shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="graphics" rwaccess="readonly">
					<shortdesc>The graphics object that can be used to customize the element's appearance, in response to the <b>onDraw</b> event.</shortdesc>
					<datatype>
						<type href="#/ScriptUIGraphics">ScriptUIGraphics</type>
					</datatype>
				</property>
				<property name="visible">
					<shortdesc>True if this element is shown, false if it is hidden.</shortdesc>
					<description>When a container is hidden, its children are also hidden, but they retain their own visibility values, and are shown or hidden accordingly when the parent is next shown.</description>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="bounds">
					<shortdesc>The boundaries of the element, in parent-relative coordinates. </shortdesc>
					<description>Setting an element's size or location changes its bounds property, and vice-versa.</description>
					<datatype>
						<type href="#/Bounds">Bounds</type>
					</datatype>
				</property>
				<property name="location">
					<shortdesc>The upper left corner of this element relative to its parent.</shortdesc>
					<description>The location is defined as [bounds.x, bounds.y]. Setting an element's location changes its bounds property, and vice-versa. </description>
					<datatype>
						<type href="#/Point">Point</type>
					</datatype>
				</property>
				<property name="maximumSize">
					<shortdesc>The maximum height and width to which the element can be resized.</shortdesc>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="minimumSize">
					<shortdesc> The minimum height and width to which the element can be resized.</shortdesc>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="preferredSize">
					<shortdesc>The preferred size, used by layout managers to determine the best size for each element.</shortdesc>
					<description>If not explicitly set by a script, value is established by the UI framework in which ScriptUI is employed, and is based on such attributes of the element as its text, font, font size, icon size, and other UI framework-specific attributes.A script can explicitly set preferredSize before the layout manager is invoked in order to establish an element size other than the default. </description>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="size">
					<shortdesc>The current dimensions of this element.</shortdesc>
					<description> Initially undefined, and unless explicitly set by a script, it is defined by a LayoutManager. A script can explicitly set size before the layout manager is invoked to establish an element size other than the preferredSize or the default size. Defined as [bounds.width, bounds.height]. Setting an element's size changes its bounds property, and vice-versa. </description>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="windowBounds" rwaccess="readonly">
					<shortdesc>The bounds of this element relative to the top-level parent window.</shortdesc>
					<datatype>
						<type href="#/Bounds">Bounds</type>
					</datatype>
				</property>
				<property name="alignment">
					<shortdesc>The alignment style for this element. If defined, this value overrides the <i>alignChildren</i> setting for the parent container.</shortdesc>
					<description>This can be a single string, which indicates the alignment for the orientation specified in the parent container, or an array of two strings, indicating both the horizontal and vertical alignment (in that order). Allowed values depend on the orientation value of the parent container. They are not case sensitive.
					<li>For orientation=row:<b>top</b>, <b>bottom</b>, <b>fill</b></li>
					<li>For orientation=column: <b>left</b>, <b>right</b>, <b>fill</b> </li>
					<li>For orientation=stack:<b>top</b>, <b>bottom</b>, <b>left</b>, <b>right</b>, <b>fill</b></li></description>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="children" rwaccess="readonly">
					<shortdesc>An array of child elements.</shortdesc>
					<datatype>
						<type>Object</type>
						<array/>
					</datatype>
				</property>
				<property name="properties">
					<shortdesc>An object that contains one or more creation properties of the container (properties used only when the element is created). </shortdesc>
					 <description>A Button object has no creation properties, but the third argument to the add() method that creates it can be the initial text value.</description>
					<datatype>
						<type>Object</type>
					</datatype>
				</property>
				<property name="enabled">
					<shortdesc>True if this element is enabled.</shortdesc>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="helpTip">
					<shortdesc>The help string that is displayed when the mouse hovers over the element.</shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="indent">
					<shortdesc>The number of pixels to indent the element during automatic layout.</shortdesc>
					<description>Applies for column orientation and left alignment, or row orientation and top alignment.</description>
					<datatype>
						<type>number</type>
						<min>0</min>
					</datatype>
				</property>
				<property name="parent" rwaccess="readonly">
					<shortdesc>The parent element.</shortdesc>
					<datatype>
						<type>Object</type>
					</datatype>
				</property>
				<property name="window" rwaccess="readonly">
					<shortdesc>The window that this element belongs to.</shortdesc>
					<datatype>
						<type href="#/Window">Window</type>
					</datatype>
				</property>
				<property name="type" rwaccess="readonly">
					<shortdesc>The element type; "button".</shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<method name="notify">
					<shortdesc>Sends a notification message, simulating the specified user interaction event. </shortdesc>
					<parameters>
						<parameter name="eventName" optional="true">
							<shortdesc>The name of the control event handler to call. </shortdesc>
							<description>One of: <b>onClick</b>, <b>onChange</b>, <b>onChanging</b>. By default, simulates the <b>onChange</b> event for an edittext control, an <b>onClick</b> event for controls that support that event.</description>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
					</parameters>
				</method>
				<method name="show">
					<shortdesc>Shows this element.</shortdesc>
					<description> When a window or container is hidden, its children are also hidden, but when it is shown again, the children retain their own visibility states.</description>
				</method>
				<method name="hide">
					<shortdesc>Hides this element.</shortdesc>
				</method>
				<method name="addEventListener">
					<shortdesc>Registers an event handler for a particular type of event occuring in this element.</shortdesc>
					<parameters>
						<parameter name="eventName">
							<shortdesc>The name of the event.</shortdesc>
							<description>Event names are listed in the <i>JavaScript Tools Guide</i>.</description>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="handler">
							<shortdesc>The function that handles the event.</shortdesc>
							<description>This can be the name of a function defined in the extension, or a locally defined handler function to be executed when the event occurs. A handler function takes one argument, the <a href="UIEvent">UIEvent</a> object. </description>
							<datatype><type href="$COMMON/javascript.xml#/Function">Function</type></datatype>
						</parameter>
						<parameter name="capturePhase">
								<shortdesc>When true, the handler is called only in the capturing phase of the event propagation. </shortdesc>
								<description>Default is false, meaning that the handler is called in the bubbling phase if this object is an ancestor of the target, or in the at-target phase if this object is itself the target.</description>
							<datatype>
								<type>bool</type>
								<value>false</value>
							</datatype>
						</parameter>
					</parameters>
					<datatype>
						<type>bool</type>
					</datatype>
				</method>
				<method name="removeEventListener">
					<shortdesc>Unregisters an event handler for a particular type of event occuring in this element.</shortdesc>
					<description> All arguments must be identical to those that were used to register the event handler.</description>
					<parameters>
						<parameter name="eventName">
							<shortdesc>The name of the event.</shortdesc>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="handler">
							<shortdesc>The function that handles the event.</shortdesc>
							<datatype><type href="$COMMON/javascript.xml#/Function">Function</type></datatype>
						</parameter>
						<parameter name="capturePhase">
							<shortdesc>Whether to call the handler only in the capturing phase of the event propagation.</shortdesc>
							<datatype>
								<type>bool</type>
								<value>false</value>
							</datatype>
						</parameter>
					</parameters>
					<datatype>
						<type>bool</type>
					</datatype>
				</method>
				<method name="dispatchEvent">
					<shortdesc>Simulates the occurrence of an event in this target. </shortdesc>
					<description>A script can create a <a href="UIEvent">UIEvent</a> object for a specific event and pass it to this method to start the event propagation for the event. </description>
					<datatype>
						<type href="#/Event">Event</type>
					</datatype>
				</method>
			</elements>
			<elements type="event">
				<method name="onClick">
					<shortdesc>An event-handler callback function, called when the element has been clicked</shortdesc>
				</method>
				<method name="onShortcutKey">
					<shortdesc>An event-handler callback function, called when the element's <b>shortcutKey</b> sequence is typed in the active window.</shortdesc>
					<description>In Windows only.</description>
				</method>
			</elements>
		</classdef>
		<classdef name="IconButton" dynamic="true">
			<shortdesc>A  mouse-sensitive pushbutton that displays an icon instead of text. </shortdesc>
			<description>Calls the <b>onClick</b> callback if the control is clicked or if its <b>notify()</b> method is called.</description>			
			<elements type="instance">
				<property name="image">
					<shortdesc>The image object that defines the image to be drawn.</shortdesc>
					<datatype>
						<type href="#/ScriptUIImage">ScriptUIImage</type>
					</datatype>
				</property>
				<property name="active">
					<shortdesc>True if this element is active.</shortdesc>
					<description>An active control is the one with keyboard focus—that is, the one that accepts keystrokes, or in the case of a Button, is selected when the user types Return or Enter.</description>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="shortcutKey">
					<shortdesc>The key sequence that invokes the <b>onShortcutKey</b> callback for this element (in Windows only). </shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="graphics" rwaccess="readonly">
					<shortdesc>The graphics object that can be used to customize the element's appearance, in response to the <b>onDraw</b> event.</shortdesc>
					<datatype>
						<type href="#/ScriptUIGraphics">ScriptUIGraphics</type>
					</datatype>
				</property>
				<property name="visible">
					<shortdesc>True if this element is shown, false if it is hidden.</shortdesc>
					<description>When a container is hidden, its children are also hidden, but they retain their own visibility values, and are shown or hidden accordingly when the parent is next shown.</description>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="bounds">
					<shortdesc>The boundaries of the element, in parent-relative coordinates. </shortdesc>
					<description>Setting an element's size or location changes its bounds property, and vice-versa.</description>
					<datatype>
						<type href="#/Bounds">Bounds</type>
					</datatype>
				</property>
				<property name="location">
					<shortdesc>The upper left corner of this element relative to its parent.</shortdesc>
					<description>The location is defined as [bounds.x, bounds.y]. Setting an element's location changes its bounds property, and vice-versa. </description>
					<datatype>
						<type href="#/Point">Point</type>
					</datatype>
				</property>
				<property name="maximumSize">
					<shortdesc>The maximum height and width to which the element can be resized.</shortdesc>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="minimumSize">
					<shortdesc>The minimum height and width to which the element can be resized.</shortdesc>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="preferredSize">
					<shortdesc>The preferred size, used by layout managers to determine the best size for each element.</shortdesc>
					<description>If not explicitly set by a script, value is established by the UI framework in which ScriptUI is employed, and is based on such attributes of the element as its text, font, font size, icon size, and other UI framework-specific attributes.A script can explicitly set preferredSize before the layout manager is invoked in order to establish an element size other than the default. </description>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="size">
					<shortdesc>The current dimensions of this element.</shortdesc>
					<description> Initially undefined, and unless explicitly set by a script, it is defined by a LayoutManager. A script can explicitly set size before the layout manager is invoked to establish an element size other than the preferredSize or the default size. Defined as [bounds.width, bounds.height]. Setting an element's size changes its bounds property, and vice-versa. </description>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="windowBounds" rwaccess="readonly">
					<shortdesc>The bounds of this element relative to the top-level parent window.</shortdesc>
					<datatype>
						<type href="#/Bounds">Bounds</type>
					</datatype>
				</property>
				<property name="alignment">
					<shortdesc>The alignment style for this element. If defined, this value overrides the <i>alignChildren</i> setting for the parent container.</shortdesc>
					<description>This can be a single string, which indicates the alignment for the orientation specified in the parent container, or an array of two strings, indicating both the horizontal and vertical alignment (in that order). Allowed values depend on the orientation value of the parent container. They are not case sensitive.
					<li>For orientation=row:<b>top</b>, <b>bottom</b>, <b>fill</b></li>
					<li>For orientation=column: <b>left</b>, <b>right</b>, <b>fill</b> </li>
					<li>For orientation=stack:<b>top</b>, <b>bottom</b>, <b>left</b>, <b>right</b>, <b>fill</b></li></description>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="children" rwaccess="readonly">
					<shortdesc>An array of child elements.</shortdesc>
					<datatype>
						<type>Object</type>
						<array/>
					</datatype>
				</property>
				<property name="properties">
					<shortdesc>An object that contains one or more creation properties of the container (properties used only when the element is created). </shortdesc>
					 <description>Creation properties of an IconButton object can include: 
					 <li> <b>style</b>:  A string for the visual style, either "button", which has a visible border with a raised or 3D appearance, or "toolbutton", which has a flat appearance, appropriate for inclusion in a toolbar.</li> </description>
					<datatype>
						<type>Object</type>
					</datatype>
				</property>
				<property name="enabled">
					<shortdesc>True if this element is enabled.</shortdesc>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="helpTip">
					<shortdesc>The help text that is displayed when the mouse hovers over the element.</shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="indent">
					<shortdesc>The number of pixels to indent the element during automatic layout.</shortdesc>
					<description>Applies for column orientation and left alignment, or row orientation and top alignment.</description>
					<datatype>
						<type>number</type>
						<min>0</min>
					</datatype>
				</property>
				<property name="parent" rwaccess="readonly">
					<shortdesc>The parent element.</shortdesc>
					<datatype>
						<type>Object</type>
					</datatype>
				</property>
				<property name="window" rwaccess="readonly">
					<shortdesc>The window that this element belongs to.</shortdesc>
					<datatype>
						<type href="#/Window">Window</type>
					</datatype>
				</property>
				<property name="type" rwaccess="readonly">
					<shortdesc>The element type; "iconbutton".</shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<method name="notify">
					<shortdesc>Sends a notification message, simulating the specified user interaction event. </shortdesc>
					<parameters>
						<parameter name="eventName" optional="true">
							<shortdesc>The name of the control event handler to call. </shortdesc>
							<description>One of: <b>onClick</b>, <b>onChange</b>, <b>onChanging</b>. By default, simulates the <b>onChange</b> event for an edittext control, an <b>onClick</b> event for controls that support that event.</description>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
					</parameters>
				</method>
				<method name="show">
					<shortdesc>Shows this element.</shortdesc>
					<description> When a window or container is hidden, its children are also hidden, but when it is shown again, the children retain their own visibility states.</description>
				</method>
				<method name="hide">
					<shortdesc>Hides this element.</shortdesc>
				</method>
				<method name="addEventListener">
					<shortdesc>Registers an event handler for a particular type of event occuring in this element.</shortdesc>
					<parameters>
						<parameter name="eventName">
							<shortdesc>The name of the event.</shortdesc>
							<description>Event names are listed in the <i>JavaScript Tools Guide</i>.</description>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="handler">
							<shortdesc>The function that handles the event.</shortdesc>
							<description>This can be the name of a function defined in the extension, or a locally defined handler function to be executed when the event occurs. A handler function takes one argument, the <a href="UIEvent">UIEvent</a> object. </description>
							<datatype><type href="$COMMON/javascript.xml#/Function">Function</type></datatype>
						</parameter>
						<parameter name="capturePhase">
								<shortdesc>When true, the handler is called only in the capturing phase of the event propagation. </shortdesc>
								<description>Default is false, meaning that the handler is called in the bubbling phase if this object is an ancestor of the target, or in the at-target phase if this object is itself the target.</description>
							<datatype>
								<type>bool</type>
								<value>false</value>
							</datatype>
						</parameter>
					</parameters>
					<datatype>
						<type>bool</type>
					</datatype>
				</method>
				<method name="removeEventListener">
					<shortdesc>Unregisters an event handler for a particular type of event occuring in this element.</shortdesc>
					<description> All arguments must be identical to those that were used to register the event handler.</description>
					<parameters>
						<parameter name="eventName">
							<shortdesc>The name of the event.</shortdesc>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="handler">
							<shortdesc>The function that handles the event.</shortdesc>
							<datatype><type href="$COMMON/javascript.xml#/Function">Function</type></datatype>
						</parameter>
						<parameter name="capturePhase">
							<shortdesc>Whether to call the handler only in the capturing phase of the event propagation.</shortdesc>
							<datatype>
								<type>bool</type>
								<value>false</value>
							</datatype>
						</parameter>
					</parameters>
					<datatype>
						<type>bool</type>
					</datatype>
				</method>
				<method name="dispatchEvent">
					<shortdesc>Simulates the occurrence of an event in this target. </shortdesc>
					<description>A script can create a <a href="UIEvent">UIEvent</a> object for a specific event and pass it to this method to start the event propagation for the event. </description>
					<datatype>
						<type href="#/Event">Event</type>
					</datatype>
				</method>
			</elements>
			<elements type="event">
				<method name="onClick">
					<shortdesc>An event-handler callback function, called when the element has been clicked.</shortdesc>
				</method>
				<method name="onShortcutKey">
					<shortdesc>An event-handler callback function, called when the element's <b>shortcutKey</b> sequence is typed in the active window.</shortdesc>
					<description>In Windows only.</description>
				</method>
			</elements>
		</classdef>
		<classdef name="EditText" dynamic="true">
			<shortdesc>An editable text field that the user can select and change.</shortdesc>
			<description>Calls the <b>onChange</b> callback if the text is changed and the user types Enter or the control loses focus, or if its notify() method is called. Calls the <b>onChanging</b> callback when any change is made to the text. The <b>textselection</b> property contains currently selected text. </description>
			<elements type="instance">
				<property name="textselection">
					<shortdesc>The currently selected text, or the empty string if there is no text selected.</shortdesc>
					<description>Setting the value replaces the current text selection and modifies the value of the <br>text</br> property. If there is no current selection, inserts the new value into the text string at the current insertion point. The textselection value is reset to an empty string after it modifies the text value. Note that setting the textselection property before the element’s parent Window exists is an undefined operation.</description>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="characters">
					<shortdesc>A number of characters for which to reserve space when calculating the preferred size of the element. </shortdesc>
					<datatype>
						<type>number</type>
						<min>0</min>
					</datatype>
				</property>
				<property name="justify">
					<shortdesc>The text justification style. </shortdesc>
					<description>One of <b>left</b>, <b>center</b>, or <b>right</b>.</description>
					<datatype>
						<type>string</type>
						<value>left</value>
					</datatype>
				</property>
				<property name="text">
					<shortdesc>The current text displayed in the field, a localizable string.</shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="graphics" rwaccess="readonly">
					<shortdesc>The graphics object that can be used to customize the element's appearance, in response to the <b>onDraw</b> event.</shortdesc>
					<datatype>
						<type href="#/ScriptUIGraphics">ScriptUIGraphics</type>
					</datatype>
				</property>
				<property name="visible">
					<shortdesc>True if this element is shown, false if it is hidden.</shortdesc>
					<description>When a container is hidden, its children are also hidden, but they retain their own visibility values, and are shown or hidden accordingly when the parent is next shown.</description>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="bounds">
					<shortdesc>The boundaries of the element, in parent-relative coordinates. </shortdesc>
					<description>Setting an element's size or location changes its bounds property, and vice-versa.</description>
					<datatype>
						<type href="#/Bounds">Bounds</type>
					</datatype>
				</property>
				<property name="location">
					<shortdesc>The upper left corner of this element relative to its parent.</shortdesc>
					<description>The location is defined as [bounds.x, bounds.y]. Setting an element's location changes its bounds property, and vice-versa. </description>
					<datatype>
						<type href="#/Point">Point</type>
					</datatype>
				</property>
				<property name="maximumSize">
					<shortdesc> The maximum height and width to which the element can be resized.</shortdesc>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="minimumSize">
					<shortdesc> The minimum height and width to which the element can be resized.</shortdesc>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="preferredSize">
					<shortdesc>The preferred size, used by layout managers to determine the best size for each element.</shortdesc>
					<description>If not explicitly set by a script, value is established by the UI framework in which ScriptUI is employed, and is based on such attributes of the element as its text, font, font size, icon size, and other UI framework-specific attributes.A script can explicitly set preferredSize before the layout manager is invoked in order to establish an element size other than the default. </description>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="size">
					<shortdesc>The current dimensions of this element.</shortdesc>
					<description> Initially undefined, and unless explicitly set by a script, it is defined by a LayoutManager. A script can explicitly set size before the layout manager is invoked to establish an element size other than the preferredSize or the default size. Defined as [bounds.width, bounds.height]. Setting an element's size changes its bounds property, and vice-versa. </description>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="windowBounds" rwaccess="readonly">
					<shortdesc>The bounds of this element relative to the top-level parent window.</shortdesc>
					<datatype>
						<type href="#/Bounds">Bounds</type>
					</datatype>
				</property>
				<property name="active">
					<shortdesc>True if this element is active.</shortdesc>
					<description>An active control is the one with keyboard focus—that is, the one that accepts keystrokes, or in the case of a Button, is selected when the user types Return or Enter.</description>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="shortcutKey">
					<shortdesc>The key sequence that invokes the <b>onShortcutKey</b> callback for this element (in Windows only). </shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="alignment">
					<shortdesc>The alignment style for this element. If defined, this value overrides the <i>alignChildren</i> setting for the parent container.</shortdesc>
					<description>This can be a single string, which indicates the alignment for the orientation specified in the parent container, or an array of two strings, indicating both the horizontal and vertical alignment (in that order). Allowed values depend on the orientation value of the parent container. They are not case sensitive.
					<li>For orientation=row:<b>top</b>, <b>bottom</b>, <b>fill</b></li>
					<li>For orientation=column: <b>left</b>, <b>right</b>, <b>fill</b> </li>
					<li>For orientation=stack:<b>top</b>, <b>bottom</b>, <b>left</b>, <b>right</b>, <b>fill</b></li></description>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="children" rwaccess="readonly">
					<shortdesc>An array of child elements.</shortdesc>
					<datatype>
						<type>Object</type>
						<array/>
					</datatype>
				</property>
				<property name="properties">
					<shortdesc>An object that contains one or more creation properties of the container (properties used only when the element is created). </shortdesc>
					 <description>Creation properties of an EditText object can include: 
					 <li> <b>multiline</b>: When false (the default), the control displays a single line of text. When true, the control displays multiple lines, in which case the text wraps within the width of the control.</li>
					  <li><b>readonly</b>: When false (the default),  the control accepts text input. When true, the control does not accept input but only displays the contents of the text property.</li>
					  <li><b>noecho</b>: When false (the default), the control displays input text. When true, the control does not display input text (used for password input fields).</li> 
					  <li> <b>enterKeySignalsOnChange</b>: When false (the default), the control signals an <br>onChange</br> event when the editable text is changed and the control loses the keyboard focus (that is, the user tabs to another control, clicks outside the control, or types Enter). When true, the control only signals an <b>onChange</b> event when the editable text is changed and the user types Enter; other changes to the keyboard focus do not signal the event.</li></description>
					<datatype>
						<type>Object</type>
					</datatype>
				</property>
				<property name="enabled">
					<shortdesc>True if this element is enabled.</shortdesc>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="helpTip">
					<shortdesc>The help text that is displayed when the mouse hovers over the element.</shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="indent">
					<shortdesc>The number of pixels to indent the element during automatic layout.</shortdesc>
					<description>Applies for column orientation and left alignment, or row orientation and top alignment.</description>
					<datatype>
						<type>number</type>
						<min>0</min>
					</datatype>
				</property>
				<property name="parent" rwaccess="readonly">
					<shortdesc>The parent element.</shortdesc>
					<datatype>
						<type>Object</type>
					</datatype>
				</property>
				<property name="window" rwaccess="readonly">
					<shortdesc>The window that this element belongs to.</shortdesc>
					<datatype>
						<type href="#/Window">Window</type>
					</datatype>
				</property>
				<property name="type" rwaccess="readonly">
					<shortdesc>The element type; "edittext".</shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<method name="show">
					<shortdesc>Shows this element.</shortdesc>
					<description> When a window or container is hidden, its children are also hidden, but when it is shown again, the children retain their own visibility states.</description>
				</method>
				<method name="hide">
					<shortdesc>Hides this element.</shortdesc>
				</method>
				<method name="notify">
					<shortdesc>Sends a notification message, simulating the specified user interaction event. </shortdesc>
					<parameters>
						<parameter name="eventName" optional="true">
							<shortdesc>The name of the control event handler to call. </shortdesc>
							<description>One of: <b>onClick</b>, <b>onChange</b>, <b>onChanging</b>. By default, simulates the <b>onChange</b> event for an edittext control, an <b>onClick</b> event for controls that support that event.</description>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
					</parameters>
				</method>
				<method name="addEventListener">
					<shortdesc>Registers an event handler for a particular type of event occuring in this element.</shortdesc>
					<parameters>
						<parameter name="eventName">
							<shortdesc>The name of the event.</shortdesc>
							<description>Event names are listed in the <i>JavaScript Tools Guide</i>.</description>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="handler">
							<shortdesc>The function that handles the event.</shortdesc>
							<description>This can be the name of a function defined in the extension, or a locally defined handler function to be executed when the event occurs. A handler function takes one argument, the <a href="UIEvent">UIEvent</a> object. </description>
							<datatype><type href="$COMMON/javascript.xml#/Function">Function</type></datatype>
						</parameter>
						<parameter name="capturePhase">
								<shortdesc>When true, the handler is called only in the capturing phase of the event propagation. </shortdesc>
								<description>Default is false, meaning that the handler is called in the bubbling phase if this object is an ancestor of the target, or in the at-target phase if this object is itself the target.</description>
							<datatype>
								<type>bool</type>
								<value>false</value>
							</datatype>
						</parameter>
					</parameters>
					<datatype>
						<type>bool</type>
					</datatype>
				</method>
				<method name="removeEventListener">
					<shortdesc>Unregisters an event handler for a particular type of event occuring in this element.</shortdesc>
					<description> All arguments must be identical to those that were used to register the event handler.</description>
					<parameters>
						<parameter name="eventName">
							<shortdesc>The name of the event.</shortdesc>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="handler">
							<shortdesc>The function that handles the event.</shortdesc>
							<datatype><type href="$COMMON/javascript.xml#/Function">Function</type></datatype>
						</parameter>
						<parameter name="capturePhase">
							<shortdesc>Whether to call the handler only in the capturing phase of the event propagation.</shortdesc>
							<datatype>
								<type>bool</type>
								<value>false</value>
							</datatype>
						</parameter>
					</parameters>
					<datatype>
						<type>bool</type>
					</datatype>
				</method>
				<method name="dispatchEvent">
					<shortdesc>Simulates the occurrence of an event in this target. </shortdesc>
					<description>A script can create a <a href="UIEvent">UIEvent</a> object for a specific event and pass it to this method to start the event propagation for the event. </description>
					<datatype>
						<type href="#/Event">Event</type>
					</datatype>
				</method>
			</elements>
			<elements type="event">
				<method name="onChanging">
					<shortdesc>An event-handler callback function, called when the content of the element is in the process of changing</shortdesc>
					<description>The handler is called for each keypress while this control has the input focus.</description>
				</method>
				<method name="onChange">
					<shortdesc>An event-handler callback function, called when the content of the element has been changed</shortdesc>
					<description>The handler is called only when the change is complete—that is, when focus moves to another control, or the user types Enter. The exact behavior depends on the creation parameter <i>enterKeySignalsOnChange</i>;see the <br>properties</br> property.</description>
				</method>
				<method name="onShortcutKey">
					<shortdesc>An event-handler callback function, called when the element's <b>shortcutKey</b> sequence is typed in the active window.</shortdesc>
					<description>In Windows only.</description>
				</method>
			</elements>
		</classdef>
		<classdef name="ListBox" dynamic="true">
			<shortdesc>Displays a list of choices, represented by <a href="ListItem">ListItem</a> objects.</shortdesc>
			<description>When you create the object, you specify whether it allows the user to select only one or multiple items. If a list contains more items than can be displayed in the available area, a scrollbar may appear that allows the user to scroll through all the list items.You can specify the choice items on creation of the list object, or afterward using the list object’s add() method. You can remove items programmatically with the list object’s remove() and removeAll() methods.</description>
			<elements type="instance">
				<property name="items" rwaccess="readonly">
					<shortdesc>The array of choice items displayed in the list.</shortdesc>
					<description>Access this array with a 0-based index. To obtain the number of items in the list, use <br>items.length</br>.The objects are created when items are specified on creation of the parent list object, or afterward using the list control’s add() method. Each item has a <b>selected</b> property that is true when it is in the selected state.</description>
					<datatype>
						<type href="#/ListItem">ListItem</type>
						<array/>
					</datatype>
				</property>
				<property name="itemSize">
					<shortdesc>The width and height in pixels of each item in the list.</shortdesc>
					<description>Used by auto-layout to determine the <br>preferredSize</br> of the list, if not otherwise specified. If not set explicitly, the size of each item is set to match the largest height and width among all items in the list </description>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="selection">
					<shortdesc>The currently selected item for a single-selection list, or an array of items for current selection in a multi-selection list. </shortdesc>
					<description>Setting this value causes the selected item to be highlighted and to be scrolled into view if necessary. If no items are selected, the value is null. Set to null to deselect all items. You can set the value using the index of an item or an array of indices, rather than object references. If set to an index value that is out of range, the operation is ignored. When set with index values, the property still returns object references. 
						<li>If you set the value to an array for a single-selection list, only the first item in the array is selected.</li>
						<li>If you set the value to a single item for a multi-selection list, that item is added to the current selection.</li></description>
					<datatype>
						<type href="#/ListItem">ListItem</type>
					</datatype>
				</property>
				<property name="active">
					<shortdesc>True if this element is active.</shortdesc>
					<description>An active control is the one with keyboard focus—that is, the one that accepts keystrokes, or in the case of a Button, is selected when the user types Return or Enter.</description>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="shortcutKey">
					<shortdesc>The key sequence that invokes the <b>onShortcutKey</b> callback for this element (in Windows only). </shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="graphics" rwaccess="readonly">
					<shortdesc>The graphics object that can be used to customize the element's appearance, in response to the <b>onDraw</b> event.</shortdesc>
					<datatype>
						<type href="#/ScriptUIGraphics">ScriptUIGraphics</type>
					</datatype>
				</property>
				<property name="visible">
					<shortdesc>True if this element is shown, false if it is hidden.</shortdesc>
					<description>When a container is hidden, its children are also hidden, but they retain their own visibility values, and are shown or hidden accordingly when the parent is next shown.</description>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="bounds">
					<shortdesc>The boundaries of the element, in parent-relative coordinates. </shortdesc>
					<description>Setting an element's size or location changes its bounds property, and vice-versa.</description>
					<datatype>
						<type href="#/Bounds">Bounds</type>
					</datatype>
				</property>
				<property name="location">
					<shortdesc>The upper left corner of this element relative to its parent.</shortdesc>
					<description>The location is defined as [bounds.x, bounds.y]. Setting an element's location changes its bounds property, and vice-versa. </description>
					<datatype>
						<type href="#/Point">Point</type>
					</datatype>
				</property>
				<property name="maximumSize">
					<shortdesc> The maximum height and width to which the element can be resized.</shortdesc>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="minimumSize">
					<shortdesc> The minimum height and width to which the element can be resized.</shortdesc>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="preferredSize">
					<shortdesc>The preferred size, used by layout managers to determine the best size for each element.</shortdesc>
					<description>If not explicitly set by a script, value is established by the UI framework in which ScriptUI is employed, and is based on such attributes of the element as its text, font, font size, icon size, and other UI framework-specific attributes.A script can explicitly set preferredSize before the layout manager is invoked in order to establish an element size other than the default. </description>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="size">
					<shortdesc>The current dimensions of this element.</shortdesc>
					<description> Initially undefined, and unless explicitly set by a script, it is defined by a LayoutManager. A script can explicitly set size before the layout manager is invoked to establish an element size other than the preferredSize or the default size. Defined as [bounds.width, bounds.height]. Setting an element's size changes its bounds property, and vice-versa. </description>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="windowBounds" rwaccess="readonly">
					<shortdesc>The bounds of this element relative to the top-level parent window.</shortdesc>
					<datatype>
						<type href="#/Bounds">Bounds</type>
					</datatype>
				</property>
				<property name="alignment">
					<shortdesc>The alignment style for this element. If defined, this value overrides the <i>alignChildren</i> setting for the parent container.</shortdesc>
					<description>This can be a single string, which indicates the alignment for the orientation specified in the parent container, or an array of two strings, indicating both the horizontal and vertical alignment (in that order). Allowed values depend on the orientation value of the parent container. They are not case sensitive.
					<li>For orientation=row:<b>top</b>, <b>bottom</b>, <b>fill</b></li>
					<li>For orientation=column: <b>left</b>, <b>right</b>, <b>fill</b> </li>
					<li>For orientation=stack:<b>top</b>, <b>bottom</b>, <b>left</b>, <b>right</b>, <b>fill</b></li></description>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="children" rwaccess="readonly">
					<shortdesc>An array of child <a href="ListItem">ListItem</a> elements.</shortdesc>
					<datatype>
						<type>Object</type>
						<array/>
					</datatype>
				</property>
				<property name="properties">
					<shortdesc>An object that contains one or more creation properties of the control (properties used only when the element is created). </shortdesc>
					 <description>Creation properties of a ListBox object can include: 
					 <li><b>multiselect</b>: When false (the default), only one item can be selected. When true, multiple items can be selected.</li>
					  <li><b>items</b>: An array of strings for the text of each list item. An item object is created for each item. An item with the text string "-" creates a separator item. Supply this property, or the <i>items</i> argument to the add() method, not both. This form is most useful for elements defined using Resource Specifications. </li></description>
					<datatype>
						<type>Object</type>
					</datatype>
				</property>
				<property name="enabled">
					<shortdesc>True if this element is enabled.</shortdesc>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="helpTip">
					<shortdesc>The help text that is displayed when the mouse hovers over the element.</shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="indent">
					<shortdesc>The number of pixels to indent the element during automatic layout.</shortdesc>
					<description>Applies for column orientation and left alignment, or row orientation and top alignment.</description>
					<datatype>
						<type>number</type>
						<min>0</min>
					</datatype>
				</property>
				<property name="parent" rwaccess="readonly">
					<shortdesc>The parent element.</shortdesc>
					<datatype>
						<type>Object</type>
					</datatype>
				</property>
				<property name="window" rwaccess="readonly">
					<shortdesc>The window that this element belongs to.</shortdesc>
					<datatype>
						<type href="#/Window">Window</type>
					</datatype>
				</property>
				<property name="type" rwaccess="readonly">
					<shortdesc>The element type; "listbox".</shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<method name="add">
					<shortdesc> Adds an item to the choices in this list.</shortdesc>
					<description>Returns the item control object.</description>
					<parameters>
						<parameter name="type">
							<shortdesc>The type of the child element, the string "item". </shortdesc>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="text" optional="true">
							<shortdesc>The localizable text label for the item. </shortdesc>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
					</parameters>
					<datatype>
						<type href="#/ListItem">ListItem</type>
					</datatype>
				</method>
				<method name="find">
					<shortdesc>Retrieves an item object from the list that has a given text label.</shortdesc>
					<parameters>
						<parameter name="text">
							<shortdesc>The text string to match.</shortdesc>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
					</parameters>
					<datatype>
						<type href="#/ListItem">ListItem</type>
					</datatype>
				</method>
				<method name="remove">
					<shortdesc>Removes a child item from the list.</shortdesc>
					<parameters>
						<parameter name="what">
							<shortdesc>The item or child to remove, specified by 0-based index, text value, or as a <a href="ListItem">ListItem</a> object.</shortdesc>
							<datatype><type>any</type></datatype>
						</parameter>
					</parameters>
				</method>
				<method name="removeAll">
					<shortdesc>Removes all child items from the list.</shortdesc>
				</method>
				<method name="notify">
					<shortdesc>Sends a notification message, simulating the specified user interaction event. </shortdesc>
					<parameters>
						<parameter name="eventName" optional="true">
							<shortdesc>The name of the control event handler to call. </shortdesc>
							<description>One of: <b>onClick</b>, <b>onChange</b>, <b>onChanging</b>. By default, simulates the <b>onChange</b> event for an edittext control, an <b>onClick</b> event for controls that support that event.</description>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
					</parameters>
				</method>
				<method name="show">
					<shortdesc>Shows this element.</shortdesc>
					<description> When a window or container is hidden, its children are also hidden, but when it is shown again, the children retain their own visibility states.</description>
				</method>
				<method name="hide">
					<shortdesc>Hides this element.</shortdesc>
				</method>
				<method name="addEventListener">
					<shortdesc>Registers an event handler for a particular type of event occuring in this element.</shortdesc>
					<parameters>
						<parameter name="eventName">
							<shortdesc>The name of the event.</shortdesc>
							<description>Event names are listed in the <i>JavaScript Tools Guide</i>.</description>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="handler">
							<shortdesc>The function that handles the event.</shortdesc>
							<description>This can be the name of a function defined in the extension, or a locally defined handler function to be executed when the event occurs. A handler function takes one argument, the <a href="UIEvent">UIEvent</a> object. </description>
							<datatype><type href="$COMMON/javascript.xml#/Function">Function</type></datatype>
						</parameter>
						<parameter name="capturePhase">
								<shortdesc>When true, the handler is called only in the capturing phase of the event propagation. </shortdesc>
								<description>Default is false, meaning that the handler is called in the bubbling phase if this object is an ancestor of the target, or in the at-target phase if this object is itself the target.</description>
							<datatype>
								<type>bool</type>
								<value>false</value>
							</datatype>
						</parameter>
					</parameters>
					<datatype>
						<type>bool</type>
					</datatype>
				</method>
				<method name="removeEventListener">
					<shortdesc>Unregisters an event handler for a particular type of event occuring in this element.</shortdesc>
					<description> All arguments must be identical to those that were used to register the event handler.</description>
					<parameters>
						<parameter name="eventName">
							<shortdesc>The name of the event.</shortdesc>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="handler">
							<shortdesc>The function that handles the event.</shortdesc>
							<datatype><type href="$COMMON/javascript.xml#/Function">Function</type></datatype>
						</parameter>
						<parameter name="capturePhase">
							<shortdesc>Whether to call the handler only in the capturing phase of the event propagation.</shortdesc>
							<datatype>
								<type>bool</type>
								<value>false</value>
							</datatype>
						</parameter>
					</parameters>
					<datatype>
						<type>bool</type>
					</datatype>
				</method>
				<method name="dispatchEvent">
					<shortdesc>Simulates the occurrence of an event in this target. </shortdesc>
					<description>A script can create a <a href="UIEvent">UIEvent</a> object for a specific event and pass it to this method to start the event propagation for the event. </description>
					<datatype>
						<type href="#/Event">Event</type>
					</datatype>
				</method>
			</elements>
			<elements type="event">
				<method name="onChange">
					<shortdesc>An event-handler callback function, called when the content of the element has been changed</shortdesc>
					
				</method>
				<method name="onShortcutKey">
					<shortdesc>An event-handler callback function, called when the element's <b>shortcutKey</b> sequence is typed in the active window.</shortdesc>
					<description>In Windows only.</description>
				</method>
			</elements>
		</classdef>
		<classdef name="DropDownList" dynamic="true"> 
			<shortdesc>Displays a single visible item. When you click the control, a list drops down or pops up, and allows you to select one of the other items in the list.</shortdesc>
			<description> Drop-down lists can have nonselectable separator items for visually separating groups of related items, as in a menu. You can specify the choice items on creation of the list object, or afterward using the list object’s add() method. You can remove items programmatically with the list object’s remove() and removeAll() methods. Calls the <b>onChange</b> callback if the item selection is changed or if its notify() method is called. </description>
			<elements type="instance">
				<property name="items" rwaccess="readonly">
					<shortdesc>The array of choice items displayed in the drop-down or pop-up list.</shortdesc>
					<description>Access this array with a 0-based index. To obtain the number of items in the list, use <br>items.length</br>.The objects are created when items are specified on creation of the parent list object, or afterward using the list control’s add() method. Items in a drop-down list can be of type <br>separator</br>, in which case they cannot be selected, and are shown as a horizontal line. Each item has a <b>selected</b> property that is true when it is in the selected state.</description>
					<datatype>
						<type href="#/ListItem">ListItem</type>
						<array/>
					</datatype>
				</property>
				<property name="itemSize">
					<shortdesc>The width and height in pixels of each item in the list.</shortdesc>
					<description>Used by auto-layout to determine the <br>preferredSize</br> of the list, if not otherwise specified. If not set explicitly, the size of each item is set to match the largest height and width among all items in the list </description>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="selection">
					<shortdesc>The selected list item.</shortdesc>
					<description>Set to select an item. You can set the value using the item index.  If set to an index value that is out of range, the operation is ignored. When set with an index value, the property still returns an item object. If no items are selected, the value is null. Set to null to deselect all items. </description>
					<datatype>
						<type href="#/ListItem">ListItem</type>
					</datatype>
				</property>
				<property name="active">
					<shortdesc>True if this element is active.</shortdesc>
					<description>An active control is the one with keyboard focus—that is, the one that accepts keystrokes, or in the case of a Button, is selected when the user types Return or Enter.</description>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="shortcutKey">
					<shortdesc>The key sequence that invokes the <b>onShortcutKey</b> callback for this element (in Windows only). </shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="graphics" rwaccess="readonly">
					<shortdesc>The graphics object that can be used to customize the element's appearance, in response to the <b>onDraw</b> event.</shortdesc>
					<datatype>
						<type href="#/ScriptUIGraphics">ScriptUIGraphics</type>
					</datatype>
				</property>
				<property name="visible">
					<shortdesc>True if this element is shown, false if it is hidden.</shortdesc>
					<description>When a container is hidden, its children are also hidden, but they retain their own visibility values, and are shown or hidden accordingly when the parent is next shown.</description>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="bounds">
					<shortdesc>The boundaries of the element, in parent-relative coordinates. </shortdesc>
					<description>Setting an element's size or location changes its bounds property, and vice-versa.</description>
					<datatype>
						<type href="#/Bounds">Bounds</type>
					</datatype>
				</property>
				<property name="location">
					<shortdesc>The upper left corner of this element relative to its parent.</shortdesc>
					<description>The location is defined as [bounds.x, bounds.y]. Setting an element's location changes its bounds property, and vice-versa. </description>
					<datatype>
						<type href="#/Point">Point</type>
					</datatype>
				</property>
				<property name="maximumSize">
					<shortdesc> The maximum height and width to which the element can be resized.</shortdesc>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="minimumSize">
					<shortdesc> The minimum height and width to which the element can be resized.</shortdesc>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="preferredSize">
					<shortdesc>The preferred size, used by layout managers to determine the best size for each element.</shortdesc>
					<description>If not explicitly set by a script, value is established by the UI framework in which ScriptUI is employed, and is based on such attributes of the element as its text, font, font size, icon size, and other UI framework-specific attributes.A script can explicitly set preferredSize before the layout manager is invoked in order to establish an element size other than the default. </description>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="size">
					<shortdesc>The current dimensions of this element.</shortdesc>
					<description> Initially undefined, and unless explicitly set by a script, it is defined by a LayoutManager. A script can explicitly set size before the layout manager is invoked to establish an element size other than the preferredSize or the default size. Defined as [bounds.width, bounds.height]. Setting an element's size changes its bounds property, and vice-versa. </description>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="windowBounds" rwaccess="readonly">
					<shortdesc>The bounds of this element relative to the top-level parent window.</shortdesc>
					<datatype>
						<type href="#/Bounds">Bounds</type>
					</datatype>
				</property>
				<property name="alignment">
					<shortdesc>The alignment style for this element. If defined, this value overrides the <i>alignChildren</i> setting for the parent container.</shortdesc>
					<description>This can be a single string, which indicates the alignment for the orientation specified in the parent container, or an array of two strings, indicating both the horizontal and vertical alignment (in that order). Allowed values depend on the orientation value of the parent container. They are not case sensitive.
					<li>For orientation=row:<b>top</b>, <b>bottom</b>, <b>fill</b></li>
					<li>For orientation=column: <b>left</b>, <b>right</b>, <b>fill</b> </li>
					<li>For orientation=stack:<b>top</b>, <b>bottom</b>, <b>left</b>, <b>right</b>, <b>fill</b></li></description>					
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="children" rwaccess="readonly">
					<shortdesc>An array of child elements.</shortdesc>
					<datatype>
						<type>Object</type>
						<array/>
					</datatype>
				</property>
				<property name="properties">
					<shortdesc>An object that contains one or more creation properties of the container (properties used only when the element is created). </shortdesc>
					 <description>Creation properties of a DropDownList object can include: 
					  <li><b>items</b>: An array of strings for the text of each list item. An item object is created for each item. An item with the text string "-" creates a separator item. Supply this property, or the <i>items</i> argument to the add() method, not both. This form is most useful for elements defined using Resource Specifications. </li></description>
					<datatype>
						<type>Object</type>
					</datatype>
				</property>
				<property name="enabled">
					<shortdesc>True if this element is enabled.</shortdesc>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="helpTip">
					<shortdesc>The help text that is displayed when the mouse hovers over the element.</shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="indent">
					<shortdesc>The number of pixels to indent the element during automatic layout.</shortdesc>
					<description>Applies for column orientation and left alignment, or row orientation and top alignment.</description>
					<datatype>
						<type>number</type>
						<min>0</min>
					</datatype>
				</property>
				<property name="parent" rwaccess="readonly">
					<shortdesc>The parent element.</shortdesc>
					<datatype>
						<type>Object</type>
					</datatype>
				</property>
				<property name="window" rwaccess="readonly">
					<shortdesc>The window that this element belongs to.</shortdesc>
					<datatype>
						<type href="#/Window">Window</type>
					</datatype>
				</property>
				<property name="type" rwaccess="readonly">
					<shortdesc>The element type; "dropdownlist".</shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<method name="add">
					<shortdesc> Adds an item or separator to the choices in this list.</shortdesc>
					<description>Returns the item control object for type=item, or null for type=separator.</description>
					<parameters>
						<parameter name="type">
							<shortdesc>The type of the child element.</shortdesc>
							<description>Either <b>item</b> (a basic, selectable item with a text label) or <b>separator</b> </description>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="text" optional="true">
							<shortdesc>The localizable text label for the item. </shortdesc>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
					</parameters>
					<datatype>
						<type href="#/ListItem">ListItem</type>
					</datatype>
				</method>
				<method name="find">
					<shortdesc>Retrieves an item object from the list that has a given text label.</shortdesc>
					<parameters>
						<parameter name="text">
							<shortdesc>The text string to match.</shortdesc>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
					</parameters>
					<datatype>
						<type href="#/ListItem">ListItem</type>
					</datatype>

				</method>
				<method name="remove">
					<shortdesc>Removes a child item from the list.</shortdesc>
					<parameters>
						<parameter name="what">
							<shortdesc>The item or child to remove, specified by 0-based index, text value, or as a <a href="ListItem">ListItem</a> object.</shortdesc>
							<datatype><type>any</type></datatype>
						</parameter>
					</parameters>
				</method>
				<method name="removeAll">
					<shortdesc>Removes all child items from the list.</shortdesc>
				</method>
				<method name="notify">
					<shortdesc>Sends a notification message, simulating the specified user interaction event. </shortdesc>
					<parameters>
						<parameter name="eventName" optional="true">
							<shortdesc>The name of the control event handler to call. </shortdesc>
							<description>One of: <b>onClick</b>, <b>onChange</b>, <b>onChanging</b>. By default, simulates the <b>onChange</b> event for an edittext control, an <b>onClick</b> event for controls that support that event.</description>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
					</parameters>
				</method>
				<method name="show">
					<shortdesc>Shows this element.</shortdesc>
					<description> When a window or container is hidden, its children are also hidden, but when it is shown again, the children retain their own visibility states.</description>
				</method>
				<method name="hide">
					<shortdesc>Hides this element.</shortdesc>
				</method>
				<method name="addEventListener">
					<shortdesc>Registers an event handler for a particular type of event occuring in this element.</shortdesc>
					<parameters>
						<parameter name="eventName">
							<shortdesc>The name of the event.</shortdesc>
							<description>Event names are listed in the <i>JavaScript Tools Guide</i>.</description>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="handler">
							<shortdesc>The function that handles the event.</shortdesc>
							<description>This can be the name of a function defined in the extension, or a locally defined handler function to be executed when the event occurs. A handler function takes one argument, the <a href="UIEvent">UIEvent</a> object. </description>
							<datatype><type href="$COMMON/javascript.xml#/Function">Function</type></datatype>
						</parameter>
						<parameter name="capturePhase">
								<shortdesc>When true, the handler is called only in the capturing phase of the event propagation. </shortdesc>
								<description>Default is false, meaning that the handler is called in the bubbling phase if this object is an ancestor of the target, or in the at-target phase if this object is itself the target.</description>
							<datatype>
								<type>bool</type>
								<value>false</value>
							</datatype>
						</parameter>
					</parameters>
					<datatype>
						<type>bool</type>
					</datatype>
				</method>
				<method name="removeEventListener">
					<shortdesc>Unregisters an event handler for a particular type of event occuring in this element.</shortdesc>
					<description> All arguments must be identical to those that were used to register the event handler.</description>
					<parameters>
						<parameter name="eventName">
							<shortdesc>The name of the event.</shortdesc>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="handler">
							<shortdesc>The function that handles the event.</shortdesc>
							<datatype><type href="$COMMON/javascript.xml#/Function">Function</type></datatype>
						</parameter>
						<parameter name="capturePhase">
							<shortdesc>Whether to call the handler only in the capturing phase of the event propagation.</shortdesc>
							<datatype>
								<type>bool</type>
								<value>false</value>
							</datatype>
						</parameter>
					</parameters>
					<datatype>
						<type>bool</type>
					</datatype>
				</method>
				<method name="dispatchEvent">
					<shortdesc>Simulates the occurrence of an event in this target. </shortdesc>
					<description>A script can create a <a href="UIEvent">UIEvent</a> object for a specific event and pass it to this method to start the event propagation for the event. </description>
					<datatype>
						<type href="#/Event">Event</type>
					</datatype>
				</method>
			</elements>
			<elements type="event">
				<method name="onChange">
					<shortdesc>An event-handler callback function, called when the content of the element has been changed</shortdesc>
					
				</method>
				<method name="onShortcutKey">
					<shortdesc>An event-handler callback function, called when the element's <b>shortcutKey</b> sequence is typed in the active window.</shortdesc>
					<description>In Windows only.</description>
				</method>
			</elements>
		</classdef>
		<classdef name="ListItem" dynamic="true">
			<shortdesc>A choice item in a list box, drop-down list, or tree view. </shortdesc>
			<description>You can specify initial items in the creation parameters when creating the parent list. Create new items using the add() method in the parent list with control type="item", or, for DropDownList controls, type="separator". </description>
			<elements type="instance">
				<property name="checked">
					<shortdesc>The checked state of an item in a list.</shortdesc>
					<description>When true, the item is marked with the platform-appropriate checkmark. When false, no checkmark is drawn, but space is reserved for it in the left margin, so that the item lines up with other checkable items. When undefined, no space is reserved for a checkmark.</description>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="expanded">
					<shortdesc>The expansion state of an item that is a child of a TreeView list control.</shortdesc>
					<description>When true, the item is in the expanded state and its children are shown, when false, it is collapsed and children are hidden.</description>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="index" rwaccess="readonly">
					<shortdesc>The 0-based index of this item in the <i>items</i> collection of its parent list control. </shortdesc>
					<datatype>
						<type>number</type>
					</datatype>
				</property>
				<property name="selected">
					<shortdesc>The selection state of this item.</shortdesc>
					<description>When true, the item is part of the selection for its parent list. When false, the item is not selected. Set to true to select this item in a single-selection list, or to add it to the to the selection array for a multi-selection list. </description>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="image">
					<shortdesc>An image object for an icon to display in the item.</shortdesc>
					<description>When specified, the image appropriate to the selections state is drawn to the left of the text label.</description>
					<datatype>
						<type href="#/ScriptUIImage">ScriptUIImage</type>
					</datatype>
				</property>
				<property name="text">
					<shortdesc>The label text to display for the item, a localizable string.</shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="properties">
					<shortdesc>An object that contains one or more creation properties of the item (properties used only when the element is created). </shortdesc>
					 <description>A ListItem object has no creation properties. </description>
					<datatype>
						<type>Object</type>
					</datatype>
				</property>
				<property name="parent" rwaccess="readonly">
					<shortdesc>The parent element, a list control.</shortdesc>
					<datatype>
						<type>Object</type>
					</datatype>
				</property>
				<property name="type" rwaccess="readonly">
					<shortdesc>The element type.</shortdesc>
					<description>Normally "item", but an item whose parent is a DropDownList control can have type "separator". A separator item is not mouse-sensitive and is drawn as a horizontal line across the drop-down or pop-up menu.</description>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
			</elements>
		</classdef>
		<classdef name="Checkbox" dynamic="true">
			<shortdesc>A dual-state control showing a box that has a checkmark when the <b>value</b> is true, and is empty when the <b>value</b> is false.</shortdesc>
			<description>Calls the <br>onClick</br> callback if the control is clicked or if its notify() method is called. </description>
			<elements type="instance">
				<property name="value">
					<shortdesc>The selection state of the control.</shortdesc>
					<description>When true, the control is in the selected or set state and displays the check mark. When false, shows an empty box.</description>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="characters">
					<shortdesc>A number of characters for which to reserve space when calculating the preferred size of the element. </shortdesc>
					<datatype>
						<type>number</type>
						<min>0</min>
					</datatype>
				</property>
				<property name="justify">
					<shortdesc>The default text justification style for child text elements. </shortdesc>
					<description>One of <b>left</b>, <b>center</b>, or <b>right</b>.</description>
					<datatype>
						<type>string</type>
						<value>left</value>
					</datatype>
				</property>
				<property name="text">
					<shortdesc>The text to display, a localizable string.</shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="active">
					<shortdesc>True if this element is active.</shortdesc>
					<description>An active control is the one with keyboard focus—that is, the one that accepts keystrokes, or in the case of a Button, is selected when the user types Return or Enter.</description>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="shortcutKey">
					<shortdesc>The key sequence that invokes the <b>onShortcutKey</b> callback for this element (in Windows only). </shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="graphics" rwaccess="readonly">
					<shortdesc>The graphics object that can be used to customize the element's appearance, in response to the <b>onDraw</b> event.</shortdesc>
					<datatype>
						<type href="#/ScriptUIGraphics">ScriptUIGraphics</type>
					</datatype>
				</property>
				<property name="visible">
					<shortdesc>True if this element is shown, false if it is hidden.</shortdesc>
					<description>When a container is hidden, its children are also hidden, but they retain their own visibility values, and are shown or hidden accordingly when the parent is next shown.</description>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="bounds">
					<shortdesc>The boundaries of the element, in parent-relative coordinates. </shortdesc>
					<description>Setting an element's size or location changes its bounds property, and vice-versa.</description>
					<datatype>
						<type href="#/Bounds">Bounds</type>
					</datatype>
				</property>
				<property name="location">
					<shortdesc>The upper left corner of this element relative to its parent.</shortdesc>
					<description>The location is defined as [bounds.x, bounds.y]. Setting an element's location changes its bounds property, and vice-versa. </description>
					<datatype>
						<type href="#/Point">Point</type>
					</datatype>
				</property>
				<property name="maximumSize">
					<shortdesc> The maximum height and width to which the element can be resized.</shortdesc>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="minimumSize">
					<shortdesc> The minimum height and width to which the element can be resized.</shortdesc>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="preferredSize">
					<shortdesc>The preferred size, used by layout managers to determine the best size for each element.</shortdesc>
					<description>If not explicitly set by a script, value is established by the UI framework in which ScriptUI is employed, and is based on such attributes of the element as its text, font, font size, icon size, and other UI framework-specific attributes.A script can explicitly set preferredSize before the layout manager is invoked in order to establish an element size other than the default. </description>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="size">
					<shortdesc>The current dimensions of this element.</shortdesc>
					<description> Initially undefined, and unless explicitly set by a script, it is defined by a LayoutManager. A script can explicitly set size before the layout manager is invoked to establish an element size other than the preferredSize or the default size. Defined as [bounds.width, bounds.height]. Setting an element's size changes its bounds property, and vice-versa. </description>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="windowBounds" rwaccess="readonly">
					<shortdesc>The bounds of this element relative to the top-level parent window.</shortdesc>
					<datatype>
						<type href="#/Bounds">Bounds</type>
					</datatype>
				</property>
				<property name="alignment">
					<shortdesc>The alignment style for this element. If defined, this value overrides the <i>alignChildren</i> setting for the parent container.</shortdesc>
					<description>This can be a single string, which indicates the alignment for the orientation specified in the parent container, or an array of two strings, indicating both the horizontal and vertical alignment (in that order). Allowed values depend on the orientation value of the parent container. They are not case sensitive.
					<li>For orientation=row:<b>top</b>, <b>bottom</b>, <b>fill</b></li>
					<li>For orientation=column: <b>left</b>, <b>right</b>, <b>fill</b> </li>
					<li>For orientation=stack:<b>top</b>, <b>bottom</b>, <b>left</b>, <b>right</b>, <b>fill</b></li></description>					
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="children" rwaccess="readonly">
					<shortdesc>An array of child elements.</shortdesc>
					<datatype>
						<type>Object</type>
						<array/>
					</datatype>
				</property>
				<property name="properties">
					<shortdesc>An object that contains one or more creation properties of the item (properties used only when the element is created). </shortdesc>
					 <description>A CheckBox object has no creation properties. The third argument to the add() method that creates it is the text to be displayed. </description>
					<datatype>
						<type>Object</type>
					</datatype>
				</property>
				<property name="enabled">
					<shortdesc>True if this element is enabled.</shortdesc>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="helpTip">
					<shortdesc>The help text that is displayed when the mouse hovers over the element.</shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="indent">
					<shortdesc>The number of pixels to indent the element during automatic layout.</shortdesc>
					<description>Applies for column orientation and left alignment, or row orientation and top alignment.</description>
					<datatype>
						<type>number</type>
						<min>0</min>
					</datatype>
				</property>
				<property name="parent" rwaccess="readonly">
					<shortdesc>The parent element.</shortdesc>
					<datatype>
						<type>Object</type>
					</datatype>
				</property>
				<property name="window" rwaccess="readonly">
					<shortdesc>The window that this element belongs to.</shortdesc>
					<datatype>
						<type href="#/Window">Window</type>
					</datatype>
				</property>
				<property name="type" rwaccess="readonly">
					<shortdesc>The element type; "checkbox".</shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<method name="notify">
					<shortdesc>Sends a notification message, simulating the specified user interaction event. </shortdesc>
					<parameters>
						<parameter name="eventName" optional="true">
							<shortdesc>The name of the control event handler to call. </shortdesc>
							<description>One of: <b>onClick</b>, <b>onChange</b>, <b>onChanging</b>. By default, simulates the <b>onChange</b> event for an edittext control, an <b>onClick</b> event for controls that support that event.</description>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
					</parameters>
				</method>
				<method name="show">
					<shortdesc>Shows this element.</shortdesc>
					<description> When a window or container is hidden, its children are also hidden, but when it is shown again, the children retain their own visibility states.</description>
				</method>
				<method name="hide">
					<shortdesc>Hides this element.</shortdesc>
				</method>
				<method name="addEventListener">
					<shortdesc>Registers an event handler for a particular type of event occuring in this element.</shortdesc>
					<parameters>
						<parameter name="eventName">
							<shortdesc>The name of the event.</shortdesc>
							<description>Event names are listed in the <i>JavaScript Tools Guide</i>.</description>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="handler">
							<shortdesc>The function that handles the event.</shortdesc>
							<description>This can be the name of a function defined in the extension, or a locally defined handler function to be executed when the event occurs. A handler function takes one argument, the UIEvent object. </description>
							<datatype><type href="$COMMON/javascript.xml#/Function">Function</type></datatype>
						</parameter>
						<parameter name="capturePhase">
								<shortdesc>When true, the handler is called only in the capturing phase of the event propagation. </shortdesc>
								<description>Default is false, meaning that the handler is called in the bubbling phase if this object is an ancestor of the target, or in the at-target phase if this object is itself the target.</description>
							<datatype>
								<type>bool</type>
								<value>false</value>
							</datatype>
						</parameter>
					</parameters>
					<datatype>
						<type>bool</type>
					</datatype>
				</method>
				<method name="removeEventListener">
					<shortdesc>Unregisters an event handler for a particular type of event occuring in this element.</shortdesc>
					<description> All arguments must be identical to those that were used to register the event handler.</description>
					<parameters>
						<parameter name="eventName">
							<shortdesc>The name of the event.</shortdesc>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="handler">
							<shortdesc>The function that handles the event.</shortdesc>
							<datatype><type href="$COMMON/javascript.xml#/Function">Function</type></datatype>
						</parameter>
						<parameter name="capturePhase">
							<shortdesc>Whether to call the handler only in the capturing phase of the event propagation.</shortdesc>
							<datatype>
								<type>bool</type>
								<value>false</value>
							</datatype>
						</parameter>
					</parameters>
					<datatype>
						<type>bool</type>
					</datatype>
				</method>
				<method name="dispatchEvent">
					<shortdesc>Simulates the occurrence of an event in this target. </shortdesc>
					<description>A script can create a <a href="UIEvent">UIEvent</a> object for a specific event and pass it to this method to start the event propagation for the event. </description>
					<datatype>
						<type href="#/Event">Event</type>
					</datatype>
				</method>
			</elements>
			<elements type="event">
				<method name="onClick">
					<shortdesc>An event-handler callback function, called when the element has been clicked.</shortdesc>
				</method>
				<method name="onShortcutKey">
					<shortdesc>An event-handler callback function, called when the element's <b>shortcutKey</b> sequence is typed in the active window.</shortdesc>
					<description>In Windows only.</description>
				</method>
			</elements>
		</classdef>
		<classdef name="Scrollbar" dynamic="true">
			<shortdesc>A scrollbar with a draggable scroll indicator and stepper buttons to move the indicator.</shortdesc>
			<description>The scrollbar control has a horizontal orientation if the width is greater than the height at creation time, or vertical if its height is greater than its width.
Calls the <br>onChange</br> callback after the position of the indicator is changed or if its notify() method is called. Calls the <b>onChanging</b> callback repeatedly while the user is moving the indicator. Scrollbars are often created with an associated EditText field to display the current value of the scrollbar, and to allow setting the scrollbar's position to a specific value.</description>
			<elements type="instance">
				<property name="stepdelta">
					<shortdesc>The amount by which to increment or decrement a Scrollbar element's position when the user clicks a stepper button. </shortdesc>
					<datatype>
						<type>number</type>
						<min>0</min>
					</datatype>
				</property>
				<property name="jumpdelta">
					<shortdesc>The amount to increment or decrement a scrollbar indicator's position when the user clicks ahead or behind the moveable element.</shortdesc> 
					<description> Default is 20% of the range between the maxvalue and minvalue property values. </description>
					<datatype>
						<type>number</type>
						<min>0</min>
					</datatype>
				</property>
				<property name="value">
					<shortdesc>The current position of the indicator. </shortdesc>
					<description>If set to a value outside the range specified by minvalue and maxvalue, it is automatically reset to the closest boundary.</description>
					<datatype>
						<type>number</type>
					</datatype>
				</property>
				<property name="minvalue">
					<shortdesc>The minimum value allowed in the <b>value</b> property.</shortdesc>
					<description>Together with <br>maxvalue</br>, sets the scrolling range.Default is 0.</description>
					<datatype>
						<type>number</type>
					</datatype>
				</property>
				<property name="maxvalue">
					<shortdesc>The maximum value allowed in the <b>value</b> property.</shortdesc>
					<description>Together with <br>minvalue</br>, sets the scrolling range. Default is 100.</description>
					<datatype>
						<type>number</type>
					</datatype>
				</property>
				<property name="active">
					<shortdesc>True if this element is active.</shortdesc>
					<description>An active control is the one with keyboard focus—that is, the one that accepts keystrokes, or in the case of a Button, is selected when the user types Return or Enter.</description>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="shortcutKey">
					<shortdesc>The key sequence that invokes the <b>onShortcutKey</b> callback for this element (in Windows only). </shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="graphics" rwaccess="readonly">
					<shortdesc>The graphics object that can be used to customize the element's appearance, in response to the <b>onDraw</b> event.</shortdesc>
					<datatype>
						<type href="#/ScriptUIGraphics">ScriptUIGraphics</type>
					</datatype>
				</property>
				<property name="visible">
					<shortdesc>True if this element is shown, false if it is hidden.</shortdesc>
					<description>When a container is hidden, its children are also hidden, but they retain their own visibility values, and are shown or hidden accordingly when the parent is next shown.</description>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="bounds">
					<shortdesc>The boundaries of the element, in parent-relative coordinates. </shortdesc>
					<description>Setting an element's size or location changes its bounds property, and vice-versa.</description>
					<datatype>
						<type href="#/Bounds">Bounds</type>
					</datatype>
				</property>
				<property name="location">
					<shortdesc>The upper left corner of this element relative to its parent.</shortdesc>
					<description>The location is defined as [bounds.x, bounds.y]. Setting an element's location changes its bounds property, and vice-versa. </description>
					<datatype>
						<type href="#/Point">Point</type>
					</datatype>
				</property>
				<property name="maximumSize">
					<shortdesc> The maximum height and width to which the element can be resized.</shortdesc>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="minimumSize">
					<shortdesc> The minimum height and width to which the element can be resized.</shortdesc>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="preferredSize">
					<shortdesc>The preferred size, used by layout managers to determine the best size for each element.</shortdesc>
					<description>If not explicitly set by a script, value is established by the UI framework in which ScriptUI is employed, and is based on such attributes of the element as its text, font, font size, icon size, and other UI framework-specific attributes.A script can explicitly set preferredSize before the layout manager is invoked in order to establish an element size other than the default. </description>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="size">
					<shortdesc>The current dimensions of this element.</shortdesc>
					<description> Initially undefined, and unless explicitly set by a script, it is defined by a LayoutManager. A script can explicitly set size before the layout manager is invoked to establish an element size other than the preferredSize or the default size. Defined as [bounds.width, bounds.height]. Setting an element's size changes its bounds property, and vice-versa. </description>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="windowBounds" rwaccess="readonly">
					<shortdesc>The bounds of this element relative to the top-level parent window.</shortdesc>
					<datatype>
						<type href="#/Bounds">Bounds</type>
					</datatype>
				</property>
				<property name="alignment">
					<shortdesc>The alignment style for this element. If defined, this value overrides the <i>alignChildren</i> setting for the parent container.</shortdesc>
					<description>This can be a single string, which indicates the alignment for the orientation specified in the parent container, or an array of two strings, indicating both the horizontal and vertical alignment (in that order). Allowed values depend on the orientation value of the parent container. They are not case sensitive.
					<li>For orientation=row:<b>top</b>, <b>bottom</b>, <b>fill</b></li>
					<li>For orientation=column: <b>left</b>, <b>right</b>, <b>fill</b> </li>
					<li>For orientation=stack:<b>top</b>, <b>bottom</b>, <b>left</b>, <b>right</b>, <b>fill</b></li></description>					
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="children" rwaccess="readonly">
					<shortdesc>An array of child elements.</shortdesc>
					<datatype>
						<type>Object</type>
						<array/>
					</datatype>
				</property>
				<property name="properties">
					<shortdesc>An object that contains one or more creation properties of the container (properties used only when the element is created). </shortdesc>
					 <description>A Scrollbar object has no creation properties. The third argument of the add() method that creates it is the initial value, and the fourth and fifth arguments are the minimum and maximum values of the range.</description>
					<datatype>
						<type>Object</type>
					</datatype>
				</property>
				<property name="enabled">
					<shortdesc>True if this element is enabled.</shortdesc>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="helpTip">
					<shortdesc>The help text that is displayed when the mouse hovers over the element.</shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="indent">
					<shortdesc>The number of pixels to indent the element during automatic layout.</shortdesc>
					<description>Applies for column orientation and left alignment, or row orientation and top alignment.</description>
					<datatype>
						<type>number</type>
						<min>0</min>
					</datatype>
				</property>
				<property name="parent" rwaccess="readonly">
					<shortdesc>The parent element.</shortdesc>
					<datatype>
						<type>Object</type>
					</datatype>
				</property>
				<property name="window" rwaccess="readonly">
					<shortdesc>The window that this element belongs to.</shortdesc>
					<datatype>
						<type href="#/Window">Window</type>
					</datatype>
				</property>
				<property name="type" rwaccess="readonly">
					<shortdesc>The element type, "scrollbar".</shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<method name="notify">
					<shortdesc>Sends a notification message, simulating the specified user interaction event. </shortdesc>
					<parameters>
						<parameter name="eventName" optional="true">
							<shortdesc>The name of the control event handler to call. </shortdesc>
							<description>One of: <b>onClick</b>, <b>onChange</b>, <b>onChanging</b>. By default, simulates the <b>onChange</b> event for an edittext control, an <b>onClick</b> event for controls that support that event.</description>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
					</parameters>
				</method>
				<method name="show">
					<shortdesc>Shows this element.</shortdesc>
					<description> When a window or container is hidden, its children are also hidden, but when it is shown again, the children retain their own visibility states.</description>
				</method>
				<method name="hide">
					<shortdesc>Hides this element.</shortdesc>
				</method>
				<method name="addEventListener">
					<shortdesc>Registers an event handler for a particular type of event occuring in this element.</shortdesc>
					<parameters>
						<parameter name="eventName">
							<shortdesc>The name of the event.</shortdesc>
							<description>Event names are listed in the <i>JavaScript Tools Guide</i>.</description>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="handler">
							<shortdesc>The function that handles the event.</shortdesc>
							<description>This can be the name of a function defined in the extension, or a locally defined handler function to be executed when the event occurs. A handler function takes one argument, the UIEvent object. </description>
							<datatype><type href="$COMMON/javascript.xml#/Function">Function</type></datatype>
						</parameter>
						<parameter name="capturePhase">
								<shortdesc>When true, the handler is called only in the capturing phase of the event propagation. </shortdesc>
								<description>Default is false, meaning that the handler is called in the bubbling phase if this object is an ancestor of the target, or in the at-target phase if this object is itself the target.</description>
							<datatype>
								<type>bool</type>
								<value>false</value>
							</datatype>
						</parameter>
					</parameters>
					<datatype>
						<type>bool</type>
					</datatype>
				</method>
				<method name="removeEventListener">
					<shortdesc>Unregisters an event handler for a particular type of event occuring in this element.</shortdesc>
					<description> All arguments must be identical to those that were used to register the event handler.</description>
					<parameters>
						<parameter name="eventName">
							<shortdesc>The name of the event.</shortdesc>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="handler">
							<shortdesc>The function that handles the event.</shortdesc>
							<datatype><type href="$COMMON/javascript.xml#/Function">Function</type></datatype>
						</parameter>
						<parameter name="capturePhase">
							<shortdesc>Whether to call the handler only in the capturing phase of the event propagation.</shortdesc>
							<datatype>
								<type>bool</type>
								<value>false</value>
							</datatype>
						</parameter>
					</parameters>
					<datatype>
						<type>bool</type>
					</datatype>
				</method>
				<method name="dispatchEvent">
					<shortdesc>Simulates the occurrence of an event in this target. </shortdesc>
					<description>A script can create a <a href="UIEvent">UIEvent</a> object for a specific event and pass it to this method to start the event propagation for the event. </description>
					<datatype>
						<type href="#/Event">Event</type>
					</datatype>
				</method>
			</elements>
			<elements type="event">
				<method name="onChanging">
					<shortdesc>An event-handler callback function, called when the content of the element is in the process of changing</shortdesc>
					<description>The handler is called for any motion of the position indicator while this control has the input focus.</description>
				</method>
				<method name="onChange">
					<shortdesc>An event-handler callback function, called when the user has finished dragging the position indicator, or has clicked the control.</shortdesc>
				</method>
				<method name="onShortcutKey">
					<shortdesc>An event-handler callback function, called when the element's <b>shortcutKey</b> sequence is typed in the active window.</shortdesc>
					<description>In Windows only.</description>
				</method>
			</elements>
		</classdef>
		<classdef name="RadioButton" dynamic="true">
			<shortdesc>A dual-state control, grouped with other radiobuttons, of which only one can be in the selected state. </shortdesc>
			<description> Shows the selected state when value=true, empty when value=false. Calls the <b>onClick</b> callback if the control is clicked or if its notify() method is called. </description>
			<elements type="instance">
				<property name="value">
					<shortdesc>The selection state of this button, selected when true.</shortdesc>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="characters">
					<shortdesc>A number of characters for which to reserve space when calculating the preferred size of the element. </shortdesc>
					<datatype>
						<type>number</type>
						<min>0</min>
					</datatype>
				</property>
				<property name="justify">
					<shortdesc>The default text justification style for child text elements. </shortdesc>
					<description>One of <b>left</b>, <b>center</b>, or <b>right</b>.</description>
					<datatype>
						<type>string</type>
						<value>left</value>
					</datatype>
				</property>
				<property name="text">
					<shortdesc>The label text for this button, a localizable string.</shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="active">
					<shortdesc>True if this element is active.</shortdesc>
					<description>An active control is the one with keyboard focus—that is, the one that accepts keystrokes, or in the case of a Button, is selected when the user types Return or Enter.</description>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="shortcutKey">
					<shortdesc>The key sequence that invokes the <b>onShortcutKey</b> callback for this element (in Windows only). </shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="graphics" rwaccess="readonly">
					<shortdesc>The graphics object that can be used to customize the element's appearance, in response to the <b>onDraw</b> event.</shortdesc>
					<datatype>
						<type href="#/ScriptUIGraphics">ScriptUIGraphics</type>
					</datatype>
				</property>
				<property name="visible">
					<shortdesc>True if this element is shown, false if it is hidden.</shortdesc>
					<description>When a container is hidden, its children are also hidden, but they retain their own visibility values, and are shown or hidden accordingly when the parent is next shown.</description>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="bounds">
					<shortdesc>The boundaries of the element, in parent-relative coordinates. </shortdesc>
					<description>Setting an element's size or location changes its bounds property, and vice-versa.</description>
					<datatype>
						<type href="#/Bounds">Bounds</type>
					</datatype>
				</property>
				<property name="location">
					<shortdesc>The upper left corner of this element relative to its parent.</shortdesc>
					<description>The location is defined as [bounds.x, bounds.y]. Setting an element's location changes its bounds property, and vice-versa. </description>
					<datatype>
						<type href="#/Point">Point</type>
					</datatype>
				</property>
				<property name="maximumSize">
					<shortdesc> The maximum height and width to which the element can be resized.</shortdesc>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="minimumSize">
					<shortdesc> The minimum height and width to which the element can be resized.</shortdesc>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="preferredSize">
					<shortdesc>The preferred size, used by layout managers to determine the best size for each element.</shortdesc>
					<description>If not explicitly set by a script, value is established by the UI framework in which ScriptUI is employed, and is based on such attributes of the element as its text, font, font size, icon size, and other UI framework-specific attributes.A script can explicitly set preferredSize before the layout manager is invoked in order to establish an element size other than the default. </description>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="size">
					<shortdesc>The current dimensions of this element.</shortdesc>
					<description> Initially undefined, and unless explicitly set by a script, it is defined by a LayoutManager. A script can explicitly set size before the layout manager is invoked to establish an element size other than the preferredSize or the default size. Defined as [bounds.width, bounds.height]. Setting an element's size changes its bounds property, and vice-versa. </description>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="windowBounds" rwaccess="readonly">
					<shortdesc>The bounds of this element relative to the top-level parent window.</shortdesc>
					<datatype>
						<type href="#/Bounds">Bounds</type>
					</datatype>
				</property>
				<property name="alignment">
					<shortdesc>The alignment style for this element. If defined, this value overrides the <i>alignChildren</i> setting for the parent container.</shortdesc>
					<description>This can be a single string, which indicates the alignment for the orientation specified in the parent container, or an array of two strings, indicating both the horizontal and vertical alignment (in that order). Allowed values depend on the orientation value of the parent container. They are not case sensitive.
					<li>For orientation=row:<b>top</b>, <b>bottom</b>, <b>fill</b></li>
					<li>For orientation=column: <b>left</b>, <b>right</b>, <b>fill</b> </li>
					<li>For orientation=stack:<b>top</b>, <b>bottom</b>, <b>left</b>, <b>right</b>, <b>fill</b></li></description>					
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="children" rwaccess="readonly">
					<shortdesc>An array of child elements.</shortdesc>
					<datatype>
						<type>Object</type>
						<array/>
					</datatype>
				</property>
				<property name="properties">
					<shortdesc>An object that contains one or more creation properties of the container (properties used only when the element is created). </shortdesc>
					 <description>A RadioButton object has no creation properties. The third argument of the add() method that creates can be the label text.</description>
					<datatype>
						<type>Object</type>
					</datatype>
				</property>
				<property name="enabled">
					<shortdesc>True if this element is enabled.</shortdesc>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="helpTip">
					<shortdesc>The help text that is displayed when the mouse hovers over the element.</shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="indent">
					<shortdesc>The number of pixels to indent the element during automatic layout.</shortdesc>
					<description>Applies for column orientation and left alignment, or row orientation and top alignment.</description>
					<datatype>
						<type>number</type>
						<min>0</min>
					</datatype>
				</property>
				<property name="parent" rwaccess="readonly">
					<shortdesc>The parent element.</shortdesc>
					<datatype>
						<type>Object</type>
					</datatype>
				</property>
				<property name="window" rwaccess="readonly">
					<shortdesc>The window that this element belongs to.</shortdesc>
					<datatype>
						<type href="#/Window">Window</type>
					</datatype>
				</property>
				<property name="type" rwaccess="readonly">
					<shortdesc>The element type; "radiobutton".</shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<method name="notify">
					<shortdesc>Sends a notification message, simulating the specified user interaction event. </shortdesc>
					<parameters>
						<parameter name="eventName" optional="true">
							<shortdesc>The name of the control event handler to call. </shortdesc>
							<description>One of: <b>onClick</b>, <b>onChange</b>, <b>onChanging</b>. By default, simulates the <b>onChange</b> event for an edittext control, an <b>onClick</b> event for controls that support that event.</description>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
					</parameters>
				</method>
				<method name="show">
					<shortdesc>Shows this element.</shortdesc>
					<description> When a window or container is hidden, its children are also hidden, but when it is shown again, the children retain their own visibility states.</description>
				</method>
				<method name="hide">
					<shortdesc>Hides this element.</shortdesc>
				</method>
				<method name="addEventListener">
					<shortdesc>Registers an event handler for a particular type of event occuring in this element.</shortdesc>
					<parameters>
						<parameter name="eventName">
							<shortdesc>The name of the event.</shortdesc>
							<description>Event names are listed in the <i>JavaScript Tools Guide</i>.</description>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="handler">
							<shortdesc>The function that handles the event.</shortdesc>
							<description>This can be the name of a function defined in the extension, or a locally defined handler function to be executed when the event occurs. A handler function takes one argument, the UIEvent object. </description>
							<datatype><type href="$COMMON/javascript.xml#/Function">Function</type></datatype>
						</parameter>
						<parameter name="capturePhase">
								<shortdesc>When true, the handler is called only in the capturing phase of the event propagation. </shortdesc>
								<description>Default is false, meaning that the handler is called in the bubbling phase if this object is an ancestor of the target, or in the at-target phase if this object is itself the target.</description>
							<datatype>
								<type>bool</type>
								<value>false</value>
							</datatype>
						</parameter>
					</parameters>
					<datatype>
						<type>bool</type>
					</datatype>
				</method>
				<method name="removeEventListener">
					<shortdesc>Unregisters an event handler for a particular type of event occuring in this element.</shortdesc>
					<description> All arguments must be identical to those that were used to register the event handler.</description>
					<parameters>
						<parameter name="eventName">
							<shortdesc>The name of the event.</shortdesc>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="handler">
							<shortdesc>The function that handles the event.</shortdesc>
							<datatype><type href="$COMMON/javascript.xml#/Function">Function</type></datatype>
						</parameter>
						<parameter name="capturePhase">
							<shortdesc>Whether to call the handler only in the capturing phase of the event propagation.</shortdesc>
							<datatype>
								<type>bool</type>
								<value>false</value>
							</datatype>
						</parameter>
					</parameters>
					<datatype>
						<type>bool</type>
					</datatype>
				</method>
				<method name="dispatchEvent">
					<shortdesc>Simulates the occurrence of an event in this target. </shortdesc>
					<description>A script can create a <a href="UIEvent">UIEvent</a> object for a specific event and pass it to this method to start the event propagation for the event. </description>
					<datatype>
						<type href="#/Event">Event</type>
					</datatype>
				</method>
			</elements>
			<elements type="event">
				<method name="onClick">
					<shortdesc>An event-handler callback function, called when the element has been clicked.</shortdesc>
				</method>
				<method name="onShortcutKey">
					<shortdesc>An event-handler callback function, called when the element's <b>shortcutKey</b> sequence is typed in the active window.</shortdesc>
					<description>In Windows only.</description>
				</method>
		</elements>
		</classdef>
		<classdef name="Slider" dynamic="true">
			<shortdesc>A slider bar that indicates a numeric value with a moveable position indicator. </shortdesc>
			<description>All slider controls have a horizontal orientation. Calls the <b>onChange</b> callback after the position of the indicator is changed or if its notify() method is called. Calls the <b>onChanging </b>callback repeatedly while the user is moving the indicator. The <b>value</b> property contains the current position of the indicator within the range of <b>minvalue</b> and <b>maxvalue</b>. </description>
			<elements type="instance">
				<property name="value">
					<shortdesc>The current position of the indicator. </shortdesc>
					<description>If set to a value outside the range specified by minvalue and maxvalue, it is automatically reset to the closest boundary.</description>
					<datatype>
						<type>number</type>
					</datatype>
				</property>
				<property name="minvalue">
					<shortdesc>The minimum value allowed in the <b>value</b> property.</shortdesc>
					<description>Together with <br>maxvalue</br>, sets the range.Default is 0.</description>
					<datatype>
						<type>number</type>
					</datatype>
				</property>
				<property name="maxvalue">
					<shortdesc>The maximum value allowed in the <b>value</b> property.</shortdesc>
					<description>Together with <br>minvalue</br>, sets the  range.Default is 100.</description>
					<datatype>
						<type>number</type>
					</datatype>
				</property>
				<property name="active">
					<shortdesc>True if this element is active.</shortdesc>
					<description>An active control is the one with keyboard focus—that is, the one that accepts keystrokes, or in the case of a Button, is selected when the user types Return or Enter.</description>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="shortcutKey">
					<shortdesc>The key sequence that invokes the <b>onShortcutKey</b> callback for this element (in Windows only). </shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="graphics" rwaccess="readonly">
					<shortdesc>The graphics object that can be used to customize the element's appearance, in response to the <b>onDraw</b> event.</shortdesc>
					<datatype>
						<type href="#/ScriptUIGraphics">ScriptUIGraphics</type>
					</datatype>
				</property>
				<property name="visible">
					<shortdesc>True if this element is shown, false if it is hidden.</shortdesc>
					<description>When a container is hidden, its children are also hidden, but they retain their own visibility values, and are shown or hidden accordingly when the parent is next shown.</description>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="bounds">
					<shortdesc>The boundaries of the element, in parent-relative coordinates. </shortdesc>
					<description>Setting an element's size or location changes its bounds property, and vice-versa.</description>
					<datatype>
						<type href="#/Bounds">Bounds</type>
					</datatype>
				</property>
				<property name="location">
					<shortdesc>The upper left corner of this element relative to its parent.</shortdesc>
					<description>The location is defined as [bounds.x, bounds.y]. Setting an element's location changes its bounds property, and vice-versa. </description>
					<datatype>
						<type href="#/Point">Point</type>
					</datatype>
				</property>
				<property name="maximumSize">
					<shortdesc> The maximum height and width to which the element can be resized.</shortdesc>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="minimumSize">
					<shortdesc> The minimum height and width to which the element can be resized.</shortdesc>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="preferredSize">
					<shortdesc>The preferred size, used by layout managers to determine the best size for each element.</shortdesc>
					<description>If not explicitly set by a script, value is established by the UI framework in which ScriptUI is employed, and is based on such attributes of the element as its text, font, font size, icon size, and other UI framework-specific attributes.A script can explicitly set preferredSize before the layout manager is invoked in order to establish an element size other than the default. </description>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="size">
					<shortdesc>The current dimensions of this element.</shortdesc>
					<description> Initially undefined, and unless explicitly set by a script, it is defined by a LayoutManager. A script can explicitly set size before the layout manager is invoked to establish an element size other than the preferredSize or the default size. Defined as [bounds.width, bounds.height]. Setting an element's size changes its bounds property, and vice-versa. </description>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="windowBounds" rwaccess="readonly">
					<shortdesc>The bounds of this element relative to the top-level parent window.</shortdesc>
					<datatype>
						<type href="#/Bounds">Bounds</type>
					</datatype>
				</property>
				<property name="alignment">
					<shortdesc>The alignment style for this element. If defined, this value overrides the <i>alignChildren</i> setting for the parent container.</shortdesc>
					<description>This can be a single string, which indicates the alignment for the orientation specified in the parent container, or an array of two strings, indicating both the horizontal and vertical alignment (in that order). Allowed values depend on the orientation value of the parent container. They are not case sensitive.
					<li>For orientation=row:<b>top</b>, <b>bottom</b>, <b>fill</b></li>
					<li>For orientation=column: <b>left</b>, <b>right</b>, <b>fill</b> </li>
					<li>For orientation=stack:<b>top</b>, <b>bottom</b>, <b>left</b>, <b>right</b>, <b>fill</b></li></description>					
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="children" rwaccess="readonly">
					<shortdesc>An array of child elements.</shortdesc>
					<datatype>
						<type>Object</type>
						<array/>
					</datatype>
				</property>
				<property name="properties">
					<shortdesc>An object that contains one or more creation properties of the container (properties used only when the element is created). </shortdesc>
					 <description>A Slider object has no creation properties. The third argument of the add() method that creates it is the initial value, and the fourth and fifth arguments are the minimum and maximum values of the range.</description>
					<datatype>
						<type>Object</type>
					</datatype>
				</property>
				<property name="enabled">
					<shortdesc>True if this element is enabled.</shortdesc>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="helpTip">
					<shortdesc>The help text that is displayed when the mouse hovers over the element.</shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="indent">
					<shortdesc>The number of pixels to indent the element during automatic layout.</shortdesc>
					<description>Applies for column orientation and left alignment, or row orientation and top alignment.</description>
					<datatype>
						<type>number</type>
						<min>0</min>
					</datatype>
				</property>
				<property name="parent" rwaccess="readonly">
					<shortdesc>The parent element.</shortdesc>
					<datatype>
						<type>Object</type>
					</datatype>
				</property>
				<property name="window" rwaccess="readonly">
					<shortdesc>The window that this element belongs to.</shortdesc>
					<datatype>
						<type href="#/Window">Window</type>
					</datatype>
				</property>
				<property name="type" rwaccess="readonly">
					<shortdesc>The element type, "slider".</shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<method name="notify">
					<shortdesc>Sends a notification message, simulating the specified user interaction event. </shortdesc>
					<parameters>
						<parameter name="eventName" optional="true">
							<shortdesc>The name of the control event handler to call. </shortdesc>
							<description>One of: <b>onClick</b>, <b>onChange</b>, <b>onChanging</b>. By default, simulates the <b>onChange</b> event for an edittext control, an <b>onClick</b> event for controls that support that event.</description>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
					</parameters>
				</method>
				<method name="show">
					<shortdesc>Shows this element.</shortdesc>
					<description> When a window or container is hidden, its children are also hidden, but when it is shown again, the children retain their own visibility states.</description>
				</method>
				<method name="hide">
					<shortdesc>Hides this element.</shortdesc>
				</method>
				<method name="addEventListener">
					<shortdesc>Registers an event handler for a particular type of event occuring in this element.</shortdesc>
					<parameters>
						<parameter name="eventName">
							<shortdesc>The name of the event.</shortdesc>
							<description>Event names are listed in the <i>JavaScript Tools Guide</i>.</description>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="handler">
							<shortdesc>The function that handles the event.</shortdesc>
							<description>This can be the name of a function defined in the extension, or a locally defined handler function to be executed when the event occurs. A handler function takes one argument, the UIEvent object. </description>
							<datatype><type href="$COMMON/javascript.xml#/Function">Function</type></datatype>
						</parameter>
						<parameter name="capturePhase">
								<shortdesc>When true, the handler is called only in the capturing phase of the event propagation. </shortdesc>
								<description>Default is false, meaning that the handler is called in the bubbling phase if this object is an ancestor of the target, or in the at-target phase if this object is itself the target.</description>
							<datatype>
								<type>bool</type>
								<value>false</value>
							</datatype>
						</parameter>
					</parameters>
					<datatype>
						<type>bool</type>
					</datatype>
				</method>
				<method name="removeEventListener">
					<shortdesc>Unregisters an event handler for a particular type of event occuring in this element.</shortdesc>
					<description> All arguments must be identical to those that were used to register the event handler.</description>
					<parameters>
						<parameter name="eventName">
							<shortdesc>The name of the event.</shortdesc>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="handler">
							<shortdesc>The function that handles the event.</shortdesc>
							<datatype><type href="$COMMON/javascript.xml#/Function">Function</type></datatype>
						</parameter>
						<parameter name="capturePhase">
							<shortdesc>Whether to call the handler only in the capturing phase of the event propagation.</shortdesc>
							<datatype>
								<type>bool</type>
								<value>false</value>
							</datatype>
						</parameter>
					</parameters>
					<datatype>
						<type>bool</type>
					</datatype>
				</method>
				<method name="dispatchEvent">
					<shortdesc>Simulates the occurrence of an event in this target. </shortdesc>
					<description>A script can create a <a href="UIEvent">UIEvent</a> object for a specific event and pass it to this method to start the event propagation for the event. </description>
					<datatype>
						<type href="#/Event">Event</type>
					</datatype>
				</method>
			</elements>
			<elements type="event">
				<method name="onChanging">
					<shortdesc>An event-handler callback function, called when the content of the element is in the process of changing</shortdesc>
					<description>The handler is called for any motion of the position indicator while this control has the input focus.</description>
				</method>
				<method name="onChange">
					<shortdesc>An event-handler callback function, called when the user has finished dragging the position indicator, or has clicked the control.</shortdesc>
				</method>
				<method name="onShortcutKey">
					<shortdesc>An event-handler callback function, called when the element's <b>shortcutKey</b> sequence is typed in the active window.</shortdesc>
					<description>In Windows only.</description>
				</method>
			</elements>
		</classdef>
		<classdef name="Progressbar" dynamic="true">
			<shortdesc>A horizontal bar with an indicator that shows the progress of an operation.</shortdesc>
			<description>All progressbar controls have a horizontal orientation. The <b>value</b> property contains the current position of the progress indicator; the default is 0. There is a <b>minvalue</b> property, but it is always 0; attempts to set it to a different value are silently ignored. </description>
			<elements type="instance">
				<property name="value">
					<shortdesc>The current position of the indicator. </shortdesc>
					<description>If set to a value outside the range specified by <br>minvalue</br> and <b>maxvalue</b>, it is automatically reset to the closest boundary.</description>
					<datatype>
						<type>number</type>
					</datatype>
				</property>
				<property name="minvalue">
					<shortdesc>The minimum value in the range; always 0. If set to a different value, it is ignored. </shortdesc>
					<datatype>
						<type>number</type>
					</datatype>
				</property>
				<property name="maxvalue">
					<shortdesc>The maximum value in the range. Default is 100. </shortdesc>
					<datatype>
						<type>number</type>
					</datatype>
				</property>
				<property name="graphics" rwaccess="readonly">
					<shortdesc>The graphics object that can be used to customize the element's appearance, in response to the <b>onDraw</b> event.</shortdesc>
					<datatype>
						<type href="#/ScriptUIGraphics">ScriptUIGraphics</type>
					</datatype>
				</property>
				<property name="visible">
					<shortdesc>True if this element is shown, false if it is hidden.</shortdesc>
					<description>When a container is hidden, its children are also hidden, but they retain their own visibility values, and are shown or hidden accordingly when the parent is next shown.</description>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="bounds">
					<shortdesc>The boundaries of the element, in parent-relative coordinates. </shortdesc>
					<description>Setting an element's size or location changes its bounds property, and vice-versa.</description>
					<datatype>
						<type href="#/Bounds">Bounds</type>
					</datatype>
				</property>
				<property name="location">
					<shortdesc>The upper left corner of this element relative to its parent.</shortdesc>
					<description>The location is defined as [bounds.x, bounds.y]. Setting an element's location changes its bounds property, and vice-versa. </description>
					<datatype>
						<type href="#/Point">Point</type>
					</datatype>
				</property>
				<property name="maximumSize">
					<shortdesc> The maximum height and width to which the element can be resized.</shortdesc>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="minimumSize">
					<shortdesc> The minimum height and width to which the element can be resized.</shortdesc>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="preferredSize">
					<shortdesc>The preferred size, used by layout managers to determine the best size for each element.</shortdesc>
					<description>If not explicitly set by a script, value is established by the UI framework in which ScriptUI is employed, and is based on such attributes of the element as its text, font, font size, icon size, and other UI framework-specific attributes.A script can explicitly set preferredSize before the layout manager is invoked in order to establish an element size other than the default. </description>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="size">
					<shortdesc>The current dimensions of this element.</shortdesc>
					<description> Initially undefined, and unless explicitly set by a script, it is defined by a LayoutManager. A script can explicitly set size before the layout manager is invoked to establish an element size other than the preferredSize or the default size. Defined as [bounds.width, bounds.height]. Setting an element's size changes its bounds property, and vice-versa. </description>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="windowBounds" rwaccess="readonly">
					<shortdesc>The bounds of this element relative to the top-level parent window.</shortdesc>
					<datatype>
						<type href="#/Bounds">Bounds</type>
					</datatype>
				</property>
				<property name="alignment">
					<shortdesc>The alignment style for this element. If defined, this value overrides the <i>alignChildren</i> setting for the parent container.</shortdesc>
					<description>This can be a single string, which indicates the alignment for the orientation specified in the parent container, or an array of two strings, indicating both the horizontal and vertical alignment (in that order). Allowed values depend on the orientation value of the parent container. They are not case sensitive.
					<li>For orientation=row:<b>top</b>, <b>bottom</b>, <b>fill</b></li>
					<li>For orientation=column: <b>left</b>, <b>right</b>, <b>fill</b> </li>
					<li>For orientation=stack:<b>top</b>, <b>bottom</b>, <b>left</b>, <b>right</b>, <b>fill</b></li></description>					
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="children" rwaccess="readonly">
					<shortdesc>An array of child elements.</shortdesc>
					<datatype>
						<type>Object</type>
						<array/>
					</datatype>
				</property>
				<property name="properties">
					<shortdesc>An object that contains one or more creation properties of the container (properties used only when the element is created). </shortdesc>
					 <description>A ProgressBar object has no creation properties. The third argument of the add() method that creates it is the initial value (default 0), and the fourth argument is the maximum value of the range (default 100).</description>
					<datatype>
						<type>Object</type>
					</datatype>
				</property>
				<property name="enabled">
					<shortdesc>True if this element is enabled.</shortdesc>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="helpTip">
					<shortdesc>The help text that is displayed when the mouse hovers over the element.</shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="indent">
					<shortdesc>The number of pixels to indent the element during automatic layout.</shortdesc>
					<description>Applies for column orientation and left alignment, or row orientation and top alignment.</description>
					<datatype>
						<type>number</type>
						<min>0</min>
					</datatype>
				</property>
				<property name="parent" rwaccess="readonly">
					<shortdesc>The parent element.</shortdesc>
					<datatype>
						<type>Object</type>
					</datatype>
				</property>
				<property name="window" rwaccess="readonly">
					<shortdesc>The window that this element belongs to.</shortdesc>
					<datatype>
						<type href="#/Window">Window</type>
					</datatype>
				</property>
				<property name="type" rwaccess="readonly">
					<shortdesc>The element type, "progessbar".</shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<method name="show">
					<shortdesc>Shows this element.</shortdesc>
					<description> When a window or container is hidden, its children are also hidden, but when it is shown again, the children retain their own visibility states.</description>
				</method>
				<method name="hide">
					<shortdesc>Hides this element.</shortdesc>
				</method>
				<method name="addEventListener">
					<shortdesc>Registers an event handler for a particular type of event occuring in this element.</shortdesc>
					<parameters>
						<parameter name="eventName">
							<shortdesc>The name of the event.</shortdesc>
							<description>Event names are listed in the <i>JavaScript Tools Guide</i>.</description>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="handler">
							<shortdesc>The function that handles the event.</shortdesc>
							<description>This can be the name of a function defined in the extension, or a locally defined handler function to be executed when the event occurs. A handler function takes one argument, the UIEvent object. </description>
							<datatype><type href="$COMMON/javascript.xml#/Function">Function</type></datatype>
						</parameter>
						<parameter name="capturePhase">
								<shortdesc>When true, the handler is called only in the capturing phase of the event propagation. </shortdesc>
								<description>Default is false, meaning that the handler is called in the bubbling phase if this object is an ancestor of the target, or in the at-target phase if this object is itself the target.</description>
							<datatype>
								<type>bool</type>
								<value>false</value>
							</datatype>
						</parameter>
					</parameters>
					<datatype>
						<type>bool</type>
					</datatype>
				</method>
				<method name="removeEventListener">
					<shortdesc>Unregisters an event handler for a particular type of event occuring in this element.</shortdesc>
					<description> All arguments must be identical to those that were used to register the event handler.</description>
					<parameters>
						<parameter name="eventName">
							<shortdesc>The name of the event.</shortdesc>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="handler">
							<shortdesc>The function that handles the event.</shortdesc>
							<datatype><type href="$COMMON/javascript.xml#/Function">Function</type></datatype>
						</parameter>
						<parameter name="capturePhase">
							<shortdesc>Whether to call the handler only in the capturing phase of the event propagation.</shortdesc>
							<datatype>
								<type>bool</type>
								<value>false</value>
							</datatype>
						</parameter>
					</parameters>
					<datatype>
						<type>bool</type>
					</datatype>
				</method>
				<method name="dispatchEvent">
					<shortdesc>Simulates the occurrence of an event in this target. </shortdesc>
					<description>A script can create a <a href="UIEvent">UIEvent</a> object for a specific event and pass it to this method to start the event propagation for the event. </description>
					<datatype>
						<type href="#/Event">Event</type>
					</datatype>
				</method>
			</elements>
		</classdef>
		<classdef name="TreeView" dynamic="true">
			<shortdesc>A hierarchical list whose items can contain child items.</shortdesc>
			<description>The <a href="ListItem">ListItem</a> children of this control (in the <b>items</b> array) can contain child items. An item with child items can expanded, so that the child items are displayed, or collapsed, so that the child items are hidden Individual items can be selected at any level of the tree. </description>
			<elements type="instance">
				<property name="items" rwaccess="readonly">
					<shortdesc>The array of top-level choice items displayed in the list.</shortdesc>
					<description>Access this array with a 0-based index. To obtain the number of items in the list, use <br>items.length</br>.The objects are created when items are specified on creation of the parent list object, or afterward using the list control’s add() method. </description>
					<datatype>
						<type href="#/ListItem">ListItem</type>
						<array/>
					</datatype>
				</property>
				<property name="itemSize">
					<shortdesc>The width and height in pixels of each item in the list.</shortdesc>
					<description>Used by auto-layout to determine the <br>preferredSize</br> of the list, if not otherwise specified. If not set explicitly, the size of each item is set to match the largest height and width among all items in the list </description>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="selection">
					<shortdesc>The currently selected item for a single-selection list, or an array of items for current selection in a multi-selection list. </shortdesc>
					<description>Setting this value causes the selected item to be highlighted and to be scrolled into view if necessary. If no items are selected, the value is null. Set to null to deselect all items.
						<li>If you set the value to an array for a single-selection list, only the first item in the array is selected.</li>
						<li>If you set the value to a single item for a multi-selection list, that item is added to the current selection.</li></description>
					<datatype>
						<type href="#/ListItem">ListItem</type>
					</datatype>
				</property>
				<property name="active">
					<shortdesc>True if this element is active.</shortdesc>
					<description>An active control is the one with keyboard focus—that is, the one that accepts keystrokes, or in the case of a Button, is selected when the user types Return or Enter.</description>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="shortcutKey">
					<shortdesc>The key sequence that invokes the <b>onShortcutKey</b> callback for this element (in Windows only). </shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="graphics" rwaccess="readonly">
					<shortdesc>The graphics object that can be used to customize the element's appearance, in response to the <b>onDraw</b> event.</shortdesc>
					<datatype>
						<type href="#/ScriptUIGraphics">ScriptUIGraphics</type>
					</datatype>
				</property>
				<property name="visible">
					<shortdesc>True if this element is shown, false if it is hidden.</shortdesc>
					<description>When a container is hidden, its children are also hidden, but they retain their own visibility values, and are shown or hidden accordingly when the parent is next shown.</description>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="bounds">
					<shortdesc>The boundaries of the element, in parent-relative coordinates. </shortdesc>
					<description>Setting an element's size or location changes its bounds property, and vice-versa.</description>
					<datatype>
						<type href="#/Bounds">Bounds</type>
					</datatype>
				</property>
				<property name="location">
					<shortdesc>The upper left corner of this element relative to its parent.</shortdesc>
					<description>The location is defined as [bounds.x, bounds.y]. Setting an element's location changes its bounds property, and vice-versa. </description>
					<datatype>
						<type href="#/Point">Point</type>
					</datatype>
				</property>
				<property name="maximumSize">
					<shortdesc> The maximum height and width to which the element can be resized.</shortdesc>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="minimumSize">
					<shortdesc> The minimum height and width to which the element can be resized.</shortdesc>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="preferredSize">
					<shortdesc>The preferred size, used by layout managers to determine the best size for each element.</shortdesc>
					<description>If not explicitly set by a script, value is established by the UI framework in which ScriptUI is employed, and is based on such attributes of the element as its text, font, font size, icon size, and other UI framework-specific attributes.A script can explicitly set preferredSize before the layout manager is invoked in order to establish an element size other than the default. </description>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="size">
					<shortdesc>The current dimensions of this element.</shortdesc>
					<description> Initially undefined, and unless explicitly set by a script, it is defined by a LayoutManager. A script can explicitly set size before the layout manager is invoked to establish an element size other than the preferredSize or the default size. Defined as [bounds.width, bounds.height]. Setting an element's size changes its bounds property, and vice-versa. </description>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="windowBounds" rwaccess="readonly">
					<shortdesc>The bounds of this element relative to the top-level parent window.</shortdesc>
					<datatype>
						<type href="#/Bounds">Bounds</type>
					</datatype>
				</property>
				<property name="alignment">
					<shortdesc>The alignment style for this element. If defined, this value overrides the <i>alignChildren</i> setting for the parent container.</shortdesc>
					<description>This can be a single string, which indicates the alignment for the orientation specified in the parent container, or an array of two strings, indicating both the horizontal and vertical alignment (in that order). Allowed values depend on the orientation value of the parent container. They are not case sensitive.
					<li>For orientation=row:<b>top</b>, <b>bottom</b>, <b>fill</b></li>
					<li>For orientation=column: <b>left</b>, <b>right</b>, <b>fill</b> </li>
					<li>For orientation=stack:<b>top</b>, <b>bottom</b>, <b>left</b>, <b>right</b>, <b>fill</b></li></description>					
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="children" rwaccess="readonly">
					<shortdesc>An array of child elements.</shortdesc>
					<datatype>
						<type>Object</type>
						<array/>
					</datatype>
				</property>
				<property name="properties">
					<shortdesc>An object that contains one or more creation properties of the control (properties used only when the element is created). </shortdesc>
					 <description>Creation properties of a ListBox object can include: 
					  <li><b>items</b>: An array of strings for the text of each top-level list item. An item object is created for each item. An item with the text string "-" creates a separator item. Supply this property, or the <i>items</i> argument to the add() method, not both. This form is most useful for elements defined using Resource Specifications. </li></description>
					<datatype>
						<type>Object</type>
					</datatype>
				</property>
				<property name="enabled">
					<shortdesc>True if this element is enabled.</shortdesc>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="helpTip">
					<shortdesc>The help text that is displayed when the mouse hovers over the element.</shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="indent">
					<shortdesc>The number of pixels to indent the element during automatic layout.</shortdesc>
					<description>Applies for column orientation and left alignment, or row orientation and top alignment.</description>
					<datatype>
						<type>number</type>
						<min>0</min>
					</datatype>
				</property>
				<property name="parent" rwaccess="readonly">
					<shortdesc>The parent element.</shortdesc>
					<datatype>
						<type>Object</type>
					</datatype>
				</property>
				<property name="window" rwaccess="readonly">
					<shortdesc>The window that this element belongs to.</shortdesc>
					<datatype>
						<type href="#/Window">Window</type>
					</datatype>
				</property>
				<property name="type" rwaccess="readonly">
					<shortdesc>The element type, "treeview".</shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<method name="add">
					<shortdesc> Adds an item to the top-level choices in this list.</shortdesc>
					<description>Returns the item control object.</description>
					<parameters>
						<parameter name="type">
							<shortdesc>The type of the child element, the string "item". </shortdesc>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="text" optional="true">
							<shortdesc>The localizable text label for the item. </shortdesc>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
					</parameters>
					<datatype>
						<type href="#/ListItem">ListItem</type>
					</datatype>
				</method>
				<method name="find">
					<shortdesc>Retrieves an item object from the list that has a given text label.</shortdesc>
					<parameters>
						<parameter name="text">
							<shortdesc>The text string to match.</shortdesc>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
					</parameters>

					<datatype>
						<type href="ListItem">ListItem</type>
					</datatype>
				</method>
				<method name="remove">
					<shortdesc>Removes a child item from the list.</shortdesc>
					<parameters>
						<parameter name="what">
							<shortdesc>The item or child to remove, specified by 0-based index in the top-level item list, text value, or as a <a href="ListItem">ListItem</a> object.</shortdesc>
							<datatype><type>any</type></datatype>
						</parameter>
					</parameters>
				</method>
				<method name="removeAll">
					<shortdesc>Removes all child items from the list.</shortdesc>
				</method>
				<method name="notify">
					<shortdesc>Sends a notification message, simulating the specified user interaction event. </shortdesc>
					<parameters>
						<parameter name="eventName" optional="true">
							<shortdesc>The name of the control event handler to call. </shortdesc>
							<description>One of: <b>onClick</b>, <b>onChange</b>, <b>onChanging</b>. By default, simulates the <b>onChange</b> event for an edittext control, an <b>onClick</b> event for controls that support that event.</description>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
					</parameters>
				</method>
				<method name="show">
					<shortdesc>Shows this element.</shortdesc>
					<description> When a window or container is hidden, its children are also hidden, but when it is shown again, the children retain their own visibility states.</description>
				</method>
				<method name="hide">
					<shortdesc>Hides this element.</shortdesc>
				</method>
				<method name="addEventListener">
					<shortdesc>Registers an event handler for a particular type of event occuring in this element.</shortdesc>
					<parameters>
						<parameter name="eventName">
							<shortdesc>The name of the event.</shortdesc>
							<description>Event names are listed in the <i>JavaScript Tools Guide</i>.</description>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="handler">
							<shortdesc>The function that handles the event.</shortdesc>
							<description>This can be the name of a function defined in the extension, or a locally defined handler function to be executed when the event occurs. A handler function takes one argument, the UIEvent object. </description>
							<datatype><type href="$COMMON/javascript.xml#/Function">Function</type></datatype>
						</parameter>
						<parameter name="capturePhase">
								<shortdesc>When true, the handler is called only in the capturing phase of the event propagation. </shortdesc>
								<description>Default is false, meaning that the handler is called in the bubbling phase if this object is an ancestor of the target, or in the at-target phase if this object is itself the target.</description>
							<datatype>
								<type>bool</type>
								<value>false</value>
							</datatype>
						</parameter>
					</parameters>
					<datatype>
						<type>bool</type>
					</datatype>
				</method>
				<method name="removeEventListener">
					<shortdesc>Unregisters an event handler for a particular type of event occuring in this element.</shortdesc>
					<description> All arguments must be identical to those that were used to register the event handler.</description>
					<parameters>
						<parameter name="eventName">
							<shortdesc>The name of the event.</shortdesc>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="handler">
							<shortdesc>The function that handles the event.</shortdesc>
							<datatype><type href="$COMMON/javascript.xml#/Function">Function</type></datatype>
						</parameter>
						<parameter name="capturePhase">
							<shortdesc>Whether to call the handler only in the capturing phase of the event propagation.</shortdesc>
							<datatype>
								<type>bool</type>
								<value>false</value>
							</datatype>
						</parameter>
					</parameters>
					<datatype>
						<type>bool</type>
					</datatype>
				</method>
				<method name="dispatchEvent">
					<shortdesc>Simulates the occurrence of an event in this target. </shortdesc>
					<description>A script can create a <a href="UIEvent">UIEvent</a> object for a specific event and pass it to this method to start the event propagation for the event. </description>
					<datatype>
						<type href="#/Event">Event</type>
					</datatype>
				</method>
			</elements>
		</classdef>
		<classdef name="FlashPlayer" dynamic="true">
			<shortdesc>A control that contains a Flash Player, which can load and play Flash movies stored in SWF files. </shortdesc>
			<description>The ScriptUI FlashPlayer element runs the Flash application within an Adobe application. The Flash application runs ActionScript, a different implementation of JavaScript from the ExtendScript version of JavaScript that Adobe applications run. A control object of this type contains functions that allow your script to load SWF files, control movie playback, and communicate with the ActionScript environment. </description>
			<elements type="instance">
				<property name="active">
					<shortdesc>True if this element is active.</shortdesc>
					<description>An active control is the one with keyboard focus—that is, the one that accepts keystrokes, or in the case of a Button, is selected when the user types Return or Enter.</description>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="visible">
					<shortdesc>True if this element is shown, false if it is hidden.</shortdesc>
					<description>When a container is hidden, its children are also hidden, but they retain their own visibility values, and are shown or hidden accordingly when the parent is next shown.</description>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="bounds">
					<shortdesc>The boundaries of the element, in parent-relative coordinates. </shortdesc>
					<description>Setting an element's size or location changes its bounds property, and vice-versa.</description>
					<datatype>
						<type href="#/Bounds">Bounds</type>
					</datatype>
				</property>
				<property name="location">
					<shortdesc>The upper left corner of this element relative to its parent.</shortdesc>
					<description>The location is defined as [bounds.x, bounds.y]. Setting an element's location changes its bounds property, and vice-versa. </description>
					<datatype>
						<type href="#/Point">Point</type>
					</datatype>
				</property>
				<property name="maximumSize">
					<shortdesc> The maximum height and width to which the element can be resized.</shortdesc>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="minimumSize">
					<shortdesc> The minimum height and width to which the element can be resized.</shortdesc>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="preferredSize">
					<shortdesc>The preferred size, used by layout managers to determine the best size for each element.</shortdesc>
					<description>If not explicitly set by a script, value is established by the UI framework in which ScriptUI is employed, and is based on such attributes of the element as its text, font, font size, icon size, and other UI framework-specific attributes.A script can explicitly set preferredSize before the layout manager is invoked in order to establish an element size other than the default. </description>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="size">
					<shortdesc>The current dimensions of this element.</shortdesc>
					<description> Initially undefined, and unless explicitly set by a script, it is defined by a LayoutManager. A script can explicitly set size before the layout manager is invoked to establish an element size other than the preferredSize or the default size. Defined as [bounds.width, bounds.height]. Setting an element's size changes its bounds property, and vice-versa. </description>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="windowBounds" rwaccess="readonly">
					<shortdesc>The bounds of this element relative to the top-level parent window.</shortdesc>
					<datatype>
						<type href="#/Bounds">Bounds</type>
					</datatype>
				</property>
				<property name="alignment">
					<shortdesc>The alignment style for this element. If defined, this value overrides the <i>alignChildren</i> setting for the parent container.</shortdesc>
					<description>This can be a single string, which indicates the alignment for the orientation specified in the parent container, or an array of two strings, indicating both the horizontal and vertical alignment (in that order). Allowed values depend on the orientation value of the parent container. They are not case sensitive.
					<li>For orientation=row:<b>top</b>, <b>bottom</b>, <b>fill</b></li>
					<li>For orientation=column: <b>left</b>, <b>right</b>, <b>fill</b> </li>
					<li>For orientation=stack:<b>top</b>, <b>bottom</b>, <b>left</b>, <b>right</b>, <b>fill</b></li></description>					
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="properties">
					<shortdesc>An object that contains one or more creation properties of the container (properties used only when the element is created). </shortdesc>
					 <description>A FlashPlayer object has no creation properties. </description>
					<datatype>
						<type>Object</type>
					</datatype>
				</property>
				<property name="enabled">
					<shortdesc>True if this element is enabled.</shortdesc>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="helpTip">
					<shortdesc>The help text that is displayed when the mouse hovers over the element.</shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="indent">
					<shortdesc>The number of pixels to indent the element during automatic layout.</shortdesc>
					<description>Applies for column orientation and left alignment, or row orientation and top alignment.</description>
					<datatype>
						<type>number</type>
						<min>0</min>
					</datatype>
				</property>
				<property name="parent" rwaccess="readonly">
					<shortdesc>The parent element.</shortdesc>
					<datatype>
						<type>Object</type>
					</datatype>
				</property>
				<property name="window" rwaccess="readonly">
					<shortdesc>The window that this element belongs to.</shortdesc>
					<datatype>
						<type href="#/Window">Window</type>
					</datatype>
				</property>
				<property name="type" rwaccess="readonly">
					<shortdesc>The element type, "flashplayer".</shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<method name="invokePlayerFunction">
					<shortdesc>Invokes an ActionScript function defined in the Flash application.</shortdesc>
					<description>Returns the result of the invoked function, which must be one of the allowed types. The ActionScript class and date objects are not supported as return values.</description>
					<parameters>
						<parameter name="name">
							<shortdesc>The name of a Flash ActionScript function that has been registered with the ExternalInterface object by the currently loaded SWF file.</shortdesc>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="argument" optional="true">
							<shortdesc>An argument to pass through to the function.</shortdesc>
							<description>
								 There can be any number of arguments. An argument must be one of these data types:Number, String, Boolean, Null, undefined, Object, Array. No other data types are supported.	</description>
							<datatype>
								<type>any</type>
							</datatype>
						</parameter>
					</parameters>
					<datatype>
						<type>any</type>
					</datatype>
				</method>
				<method name="loadMovie">
					<shortdesc>Loads a movie into the Flash Player, and begins playing it.</shortdesc>
					<parameters>
						<parameter name="file">
							<shortdesc>The File object for the SWF file to load.</shortdesc>
							<datatype>
								<type href="$COMMON/javascript.xml#/File">File</type>
							</datatype>
						</parameter>
					</parameters>
				</method>
				<method name="playMovie">
					<shortdesc>Restarts a movie that has been stopped.</shortdesc>
					<description>Do not use on a movie that is currently playing.<br></br>The stopMovie()-playMovie() sequence does not work for SWF files produced by Flex, or for some files produced by Flash Authoring (depending on how they were implemented).</description>
					<parameters>
						<parameter name="rewind">
							<shortdesc>When true, restarts the movie from the beginning; otherwise, starts playing from the	point where it was stopped.</shortdesc>
							<datatype>
								<type>bool</type>
								<value>false</value>
							</datatype>
						</parameter>
					</parameters>
				</method>
				<method name="stopMovie">
					<shortdesc>Halts playback of the current movie.</shortdesc>
					<description>The stopMovie()-playMovie() sequence does not work for SWF files produced by Flex, or for some files produced by Flash Authoring (depending on how they were implemented).<br></br>Using stopMovie() from the player's hosting environment has no effect on an SWF file playing in a ScriptUI Flash Player element. It is, however, possible to produce an SWF using Flash Authoring that can stop itself in response to user interaction.</description>
				</method>
				<method name="notify">
					<shortdesc>Sends a notification message, simulating the specified user interaction event. </shortdesc>
					<parameters>
						<parameter name="eventName" optional="true">
							<shortdesc>The name of the control event handler to call. </shortdesc>
							<description>One of: <b>onClick</b>, <b>onChange</b>, <b>onChanging</b>. By default, simulates the <b>onChange</b> event for an edittext control, an <b>onClick</b> event for controls that support that event.</description>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
					</parameters>
				</method>
				<method name="show">
					<shortdesc>Shows this element.</shortdesc>
					<description> When a window or container is hidden, its children are also hidden, but when it is shown again, the children retain their own visibility states.</description>
				</method>
				<method name="hide">
					<shortdesc>Hides this element.</shortdesc>
				</method>
				<method name="addEventListener">
					<shortdesc>Registers an event handler for a particular type of event occuring in this element.</shortdesc>
					<parameters>
						<parameter name="eventName">
							<shortdesc>The name of the event.</shortdesc>
							<description>Event names are listed in the <i>JavaScript Tools Guide</i>.</description>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="handler">
							<shortdesc>The function that handles the event.</shortdesc>
							<description>This can be the name of a function defined in the extension, or a locally defined handler function to be executed when the event occurs. A handler function takes one argument, the UIEvent object. </description>
							<datatype><type href="$COMMON/javascript.xml#/Function">Function</type></datatype>
						</parameter>
						<parameter name="capturePhase">
								<shortdesc>When true, the handler is called only in the capturing phase of the event propagation. </shortdesc>
								<description>Default is false, meaning that the handler is called in the bubbling phase if this object is an ancestor of the target, or in the at-target phase if this object is itself the target.</description>
							<datatype>
								<type>bool</type>
								<value>false</value>
							</datatype>
						</parameter>
					</parameters>
					<datatype>
						<type>bool</type>
					</datatype>
				</method>
				<method name="removeEventListener">
					<shortdesc>Unregisters an event handler for a particular type of event occuring in this element.</shortdesc>
					<description> All arguments must be identical to those that were used to register the event handler.</description>
					<parameters>
						<parameter name="eventName">
							<shortdesc>The name of the event.</shortdesc>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="handler">
							<shortdesc>The function that handles the event.</shortdesc>
							<datatype><type href="$COMMON/javascript.xml#/Function">Function</type></datatype>
						</parameter>
						<parameter name="capturePhase">
							<shortdesc>Whether to call the handler only in the capturing phase of the event propagation.</shortdesc>
							<datatype>
								<type>bool</type>
								<value>false</value>
							</datatype>
						</parameter>
					</parameters>
					<datatype>
						<type>bool</type>
					</datatype>
				</method>
				<method name="dispatchEvent">
					<shortdesc>Simulates the occurrence of an event in this target. </shortdesc>
					<description>A script can create a <a href="UIEvent">UIEvent</a> object for a specific event and pass it to this method to start the event propagation for the event. </description>
					<datatype>
						<type href="#/Event">Event</type>
					</datatype>
				</method>
			</elements>
			<elements type="event">
				<method name="callback">
					<shortdesc>A function definition for a callback from the Flash ActionScript environment.</shortdesc>
					<description>The Flash ActionScript code can call any callback function defined on the ExtendScript side of the FlashPlayer object, invoking it by name as a property of the control object. The function can take any arguments of a supported data types, and can return any value of a supported data type. data types:Number, String, Boolean, Null, undefined, Object, Array. </description>
				</method>
			</elements>
		</classdef>
		<classdef name="Group" dynamic="true">
			<shortdesc>A container for other controls within a window.</shortdesc>
			<description>A group can specify layout options for its child elements. Hiding a group hides all its children. Making it visible makes visible those children that are not individually hidden. </description>
			<elements type="instance">
				<property name="graphics" rwaccess="readonly">
					<shortdesc>The graphics object that can be used to customize the element's appearance, in response to the <b>onDraw</b> event.</shortdesc>
					<datatype>
						<type href="#/ScriptUIGraphics">ScriptUIGraphics</type>
					</datatype>
				</property>
				<property name="visible">
					<shortdesc>True if this element is shown, false if it is hidden.</shortdesc>
					<description>When a container is hidden, its children are also hidden, but they retain their own visibility values, and are shown or hidden accordingly when the parent is next shown.</description>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="bounds">
					<shortdesc>The boundaries of the element, in parent-relative coordinates. </shortdesc>
					<description>Setting an element's size or location changes its bounds property, and vice-versa.</description>
					<datatype>
						<type href="#/Bounds">Bounds</type>
					</datatype>
				</property>
				<property name="location">
					<shortdesc>The upper left corner of this element relative to its parent.</shortdesc>
					<description>The location is defined as [bounds.x, bounds.y]. Setting an element's location changes its bounds property, and vice-versa. </description>
					<datatype>
						<type href="#/Point">Point</type>
					</datatype>
				</property>
				<property name="maximumSize">
					<shortdesc> The maximum height and width to which the element can be resized.</shortdesc>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="minimumSize">
					<shortdesc> The minimum height and width to which the element can be resized.</shortdesc>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="preferredSize">
					<shortdesc>The preferred size, used by layout managers to determine the best size for each element.</shortdesc>
					<description>If not explicitly set by a script, value is established by the UI framework in which ScriptUI is employed, and is based on such attributes of the element as its text, font, font size, icon size, and other UI framework-specific attributes.A script can explicitly set preferredSize before the layout manager is invoked in order to establish an element size other than the default. </description>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="size">
					<shortdesc>The current dimensions of this element.</shortdesc>
					<description> Initially undefined, and unless explicitly set by a script, it is defined by a LayoutManager. A script can explicitly set size before the layout manager is invoked to establish an element size other than the preferredSize or the default size. Defined as [bounds.width, bounds.height]. Setting an element's size changes its bounds property, and vice-versa. </description>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="windowBounds" rwaccess="readonly">
					<shortdesc>The bounds of this element relative to the top-level parent window.</shortdesc>
					<datatype>
						<type href="#/Bounds">Bounds</type>
					</datatype>
				</property>
				<property name="alignChildren">
					<shortdesc>Tells the layout manager how unlike-sized children of this container should be aligned within a column or row. </shortdesc>
					<description>Order of creation determines which children are at the top of a column or the left of a row; the earlier a child is created, the closer it is to the top or left of its column or row. If defined, <b>alignment</b> for a child element overrides the <b>alignChildren</b> setting for the parent container. See <b>alignment</b> property for values. </description>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="children" rwaccess="readonly">
					<shortdesc>An array of child elements.</shortdesc>
					<datatype>
						<type>Object</type>
						<array/>
					</datatype>
				</property>
				<property name="layout">
					<shortdesc>The layout manager for this container.</shortdesc>
					<description>The first time a container object is made visible, ScriptUI invokes this layout manager by calling its <b>layout()</b> function. Default is an instance of the LayoutManager class that is automatically created when the container element is created. </description>
					<datatype>
						<type>LayoutManager</type>
					</datatype>
				</property>
				<property name="margins">
					<shortdesc>The number of pixels between the edges of a container and the outermost child elements.</shortdesc>
					<description> You can specify different margins for each edge of the container. The default value is based on the type of container, and is chosen to match the standard Adobe UI guidelines. </description>
					<datatype>
						<type>number</type>
					</datatype>
				</property>
				<property name="orientation">
					<shortdesc>The layout orientation of children in a container.</shortdesc>
					<description>Interpreted by the layout manager for the container. The default LayoutManager Object accepts the (case-insensitive) values <b>row</b>, <b>column</b>, or <b>stack</b>.  For window and panel, the default is column, and for group the default is row. The allowed values for the container’s <b>alignChildren</b> and its children’s <b>alignment</b> properties depend on the orientation.</description>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="spacing">
					<shortdesc>The number of pixels separating one child element from its adjacent sibling element.</shortdesc>
					<description>Because each container holds only a single row or column of children, only a single spacing value is needed for a container. The default value is based on the type of co ntainer, and is chosen to match standard Adobe UI guidelines. </description>
					<datatype>
						<type>number</type>
					</datatype>
				</property>
				<property name="alignment">
					<shortdesc>The alignment style for this element. If defined, this value overrides the <i>alignChildren</i> setting for the parent container.</shortdesc>
					<description>This can be a single string, which indicates the alignment for the orientation specified in the parent container, or an array of two strings, indicating both the horizontal and vertical alignment (in that order). Allowed values depend on the orientation value of the parent container. They are not case sensitive.
					<li>For orientation=row:<b>top</b>, <b>bottom</b>, <b>fill</b></li>
					<li>For orientation=column: <b>left</b>, <b>right</b>, <b>fill</b> </li>
					<li>For orientation=stack:<b>top</b>, <b>bottom</b>, <b>left</b>, <b>right</b>, <b>fill</b></li></description>					
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="properties">
					<shortdesc>An object that contains one or more creation properties of the control (properties used only when the element is created). </shortdesc>
					 <description>A Group object has no creation properties.</description>
					<datatype>
						<type>Object</type>
					</datatype>
				</property>
				<property name="enabled">
					<shortdesc>True if this element is enabled.</shortdesc>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="helpTip">
					<shortdesc>The help text that is displayed when the mouse hovers over the element.</shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="indent">
					<shortdesc>The number of pixels to indent the element during automatic layout.</shortdesc>
					<description>Applies for column orientation and left alignment, or row orientation and top alignment.</description>
					<datatype>
						<type>number</type>
						<min>0</min>
					</datatype>
				</property>
				<property name="parent" rwaccess="readonly">
					<shortdesc>The parent element.</shortdesc>
					<datatype>
						<type>Object</type>
					</datatype>
				</property>
				<property name="window" rwaccess="readonly">
					<shortdesc>The window that this element belongs to.</shortdesc>
					<datatype>
						<type href="#/Window">Window</type>
					</datatype>
				</property>
				<property name="type" rwaccess="readonly">
					<shortdesc>The element type; "group".</shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<method name="show">
					<shortdesc>Shows this element.</shortdesc>
					<description> When a window or container is hidden, its children are also hidden, but when it is shown again, the children retain their own visibility states.</description>
				</method>
				<method name="hide">
					<shortdesc>Hides this element.</shortdesc>
				</method>
				<method name="add">
					<shortdesc>Adds a child element to this container.</shortdesc>
					 <description>Creates and returns a new control or container object and adds it to the children of this group.</description> 
					<parameters>
						<parameter name="type">
							<shortdesc>The type of the child element, as specified for the <br>type</br> property.</shortdesc>
							<description>Control types are listed in the <i>JavaScript Tools Guide</i>.</description>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="bounds" optional="true">
							<shortdesc>A bounds specification that describes the size and position of the new control or container, relative to its parent. </shortdesc>
							<description>If supplied, this value creates a new Bounds object which is assigned to the new object’s <b>bounds</b> property.</description>
							<datatype>
								<type href="#/Bounds">Bounds</type>
							</datatype>
						</parameter>
						<parameter name="text" optional="true">
							<shortdesc>The text or label, a localizable string.</shortdesc>
							<description> Initial text to be displayed in the control as the title, label, or contents, depending on the control type. If supplied, this value is assigned to the new object’s <b>text</b> property.</description>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="properties" optional="true">
							<shortdesc>An object that contains one or more creation properties of the new child (properties used only when the element is created). </shortdesc>
							<description>The creation properties depend on the element type. See <br>properties</br> property of each control type.</description>
							<datatype>
								<type>Object</type>
							</datatype>
						</parameter>
					</parameters>
					<datatype>
						<type>Object</type>
					</datatype>
 				</method>
				<method name="remove">
					<shortdesc>Removes the specified child control from this group's <b>children</b> array.</shortdesc>
					<description> No error results if the child does not exist. </description>
					<parameters>
						<parameter name="what">
							<shortdesc>The child control to remove, specified by 0-based index, <b>text</b> property value, or as a control object.</shortdesc>
							<datatype><type>any</type></datatype>
						</parameter>
					</parameters>
				</method>
				<method name="addEventListener">
					<shortdesc>Registers an event handler for a particular type of event occuring in this element.</shortdesc>
					<parameters>
						<parameter name="eventName">
							<shortdesc>The name of the event.</shortdesc>
							<description>Event names are listed in the <i>JavaScript Tools Guide</i>.</description>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="handler">
							<shortdesc>The function that handles the event.</shortdesc>
							<description>This can be the name of a function defined in the extension, or a locally defined handler function to be executed when the event occurs. A handler function takes one argument, the UIEvent object. </description>
							<datatype><type href="$COMMON/javascript.xml#/Function">Function</type></datatype>
						</parameter>
						<parameter name="capturePhase">
								<shortdesc>When true, the handler is called only in the capturing phase of the event propagation. </shortdesc>
								<description>Default is false, meaning that the handler is called in the bubbling phase if this object is an ancestor of the target, or in the at-target phase if this object is itself the target.</description>
							<datatype>
								<type>bool</type>
								<value>false</value>
							</datatype>
						</parameter>
					</parameters>
					<datatype>
						<type>bool</type>
					</datatype>
				</method>
				<method name="removeEventListener">
					<shortdesc>Unregisters an event handler for a particular type of event occuring in this element.</shortdesc>
					<description> All arguments must be identical to those that were used to register the event handler.</description>
					<parameters>
						<parameter name="eventName">
							<shortdesc>The name of the event.</shortdesc>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="handler">
							<shortdesc>The function that handles the event.</shortdesc>
							<datatype><type href="$COMMON/javascript.xml#/Function">Function</type></datatype>
						</parameter>
						<parameter name="capturePhase">
							<shortdesc>Whether to call the handler only in the capturing phase of the event propagation.</shortdesc>
							<datatype>
								<type>bool</type>
								<value>false</value>
							</datatype>
						</parameter>
					</parameters>
					<datatype>
						<type>bool</type>
					</datatype>
				</method>
				<method name="dispatchEvent">
					<shortdesc>Simulates the occurrence of an event in this target. </shortdesc>
					<description>A script can create a <a href="UIEvent">UIEvent</a> object for a specific event and pass it to this method to start the event propagation for the event. </description>
					<datatype>
						<type href="#/Event">Event</type>
					</datatype>
				</method>
			</elements>
		</classdef>
		<classdef name="Panel" dynamic="true">
		<shortdesc>A container for other types of controls, with an optional frame. </shortdesc>
		<description>A panel can specify layout options for its child elements. Hiding a panel hides all its children. Making it visible makes visible those children that are not individually hidden. </description>
			<elements type="instance">
				<property name="characters">
					<shortdesc>Reserve space for the specified number of characters; affects calculation of preferredSize.</shortdesc>
					<datatype>
						<type>number</type>
						<min>0</min>
					</datatype>
				</property>
				<property name="justify">
					<shortdesc>The default text justification style for child text elements. </shortdesc>
					<description>One of <b>left</b>, <b>center</b>, or <b>right</b>.</description>
					<datatype>
						<type>string</type>
						<value>left</value>
					</datatype>
				</property>
				<property name="text">
					<shortdesc>The title or label text, a localizable string.</shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="graphics" rwaccess="readonly">
					<shortdesc>The graphics object that can be used to customize the element's appearance, in response to the <b>onDraw</b> event.</shortdesc>
					<datatype>
						<type href="#/ScriptUIGraphics">ScriptUIGraphics</type>
					</datatype>
				</property>
				<property name="visible">
					<shortdesc>True if this element is shown, false if it is hidden.</shortdesc>
					<description>When a container is hidden, its children are also hidden, but they retain their own visibility values, and are shown or hidden accordingly when the parent is next shown.</description>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="bounds">
					<shortdesc>The boundaries of the element, in parent-relative coordinates. </shortdesc>
					<description>Setting an element's size or location changes its bounds property, and vice-versa.</description>
					<datatype>
						<type href="#/Bounds">Bounds</type>
					</datatype>
				</property>
				<property name="location">
					<shortdesc>The upper left corner of this element relative to its parent.</shortdesc>
					<description>The location is defined as [bounds.x, bounds.y]. Setting an element's location changes its bounds property, and vice-versa. </description>
					<datatype>
						<type href="#/Point">Point</type>
					</datatype>
				</property>
				<property name="maximumSize">
					<shortdesc> The maximum height and width to which the element can be resized.</shortdesc>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="minimumSize">
					<shortdesc> The minimum height and width to which the element can be resized.</shortdesc>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="preferredSize">
					<shortdesc>The preferred size, used by layout managers to determine the best size for each element.</shortdesc>
					<description>If not explicitly set by a script, value is established by the UI framework in which ScriptUI is employed, and is based on such attributes of the element as its text, font, font size, icon size, and other UI framework-specific attributes.A script can explicitly set preferredSize before the layout manager is invoked in order to establish an element size other than the default. </description>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="size">
					<shortdesc>The current dimensions of this element.</shortdesc>
					<description> Initially undefined, and unless explicitly set by a script, it is defined by a LayoutManager. A script can explicitly set size before the layout manager is invoked to establish an element size other than the preferredSize or the default size. Defined as [bounds.width, bounds.height]. Setting an element's size changes its bounds property, and vice-versa. </description>
					<datatype>
						<type href="#/Dimension">Dimension</type>
					</datatype>
				</property>
				<property name="windowBounds" rwaccess="readonly">
					<shortdesc>The bounds of this element relative to the top-level parent window.</shortdesc>
					<datatype>
						<type href="#/Bounds">Bounds</type>
					</datatype>
				</property>
				<property name="alignChildren">
					<shortdesc>Specifies how to align the child elements.</shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="children" rwaccess="readonly">
					<shortdesc>An array of child elements.</shortdesc>
					<datatype>
						<type>Object</type>
						<array/>
					</datatype>
				</property>
				<property name="layout">
					<shortdesc>The layout manager for this container.</shortdesc>
					<description>The first time a container object is made visible, ScriptUI invokes this layout manager by calling its <b>layout()</b> function. Default is an instance of the LayoutManager class that is automatically created when the container element is created. </description>
					<datatype>
						<type>LayoutManager</type>
					</datatype>
				</property>
				<property name="margins">
					<shortdesc>The number of pixels between the edges of a container and the outermost child elements.</shortdesc>
					<description> You can specify different margins for each edge of the container. The default value is based on the type of container, and is chosen to match the standard Adobe UI guidelines. </description>
					<datatype>
						<type>number</type>
					</datatype>
				</property>
				<property name="orientation">
					<shortdesc>The layout orientation of children in a container.</shortdesc>
					<description>Interpreted by the layout manager for the container. The default LayoutManager Object accepts the (case-insensitive) values <b>row</b>, <b>column</b>, or <b>stack</b>.  For window and panel, the default is column, and for group the default is row. The allowed values for the container’s <b>alignChildren</b> and its children’s <b>alignment</b> properties depend on the orientation.</description>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="spacing">
					<shortdesc>The number of pixels separating one child element from its adjacent sibling element.</shortdesc>
					<description>Because each container holds only a single row or column of children, only a single spacing value is needed for a container. The default value is based on the type of co ntainer, and is chosen to match standard Adobe UI guidelines. </description>
					<datatype>
						<type>number</type>
					</datatype>
				</property>
				<property name="alignment">
					<shortdesc>The alignment style for this element. If defined, this value overrides the <i>alignChildren</i> setting for the parent container.</shortdesc>
					<description>This can be a single string, which indicates the alignment for the orientation specified in the parent container, or an array of two strings, indicating both the horizontal and vertical alignment (in that order). Allowed values depend on the orientation value of the parent container. They are not case sensitive.
					<li>For orientation=row:<b>top</b>, <b>bottom</b>, <b>fill</b></li>
					<li>For orientation=column: <b>left</b>, <b>right</b>, <b>fill</b> </li>
					<li>For orientation=stack:<b>top</b>, <b>bottom</b>, <b>left</b>, <b>right</b>, <b>fill</b></li></description>					
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="properties">
					<shortdesc>An object that contains one or more creation properties of the control (properties used only when the element is created). </shortdesc>
					 <description>Creation properties of a Panel object can include: 
					 <li><b>borderStyle</b>: A string that specifies the appearance of the border drawn around the panel. One of <b>black</b>, <b>etched</b>, <b>gray</b>, <b>raised</b>, <b>sunken</b>. Default is <b>etched</b>.</li>
					  <li><b>su1PanelCoordinates</b>: Photoshop only. When true, this panel automatically adjusts the positions of its children for compatability with Photoshop CS. Default is false, meaning that the panel does not adjust the positions of its children, even if the parent window has automatic adjustment enabled. </li></description>
					<datatype>
						<type>Object</type>
					</datatype>
				</property>
				<property name="enabled">
					<shortdesc>True if this element is enabled.</shortdesc>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="helpTip">
					<shortdesc>The help text that is displayed when the mouse hovers over the element.</shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="indent">
					<shortdesc>The number of pixels to indent the element during automatic layout.</shortdesc>
					<description>Applies for column orientation and left alignment, or row orientation and top alignment.</description>
					<datatype>
						<type>number</type>
						<min>0</min>
					</datatype>
				</property>
				<property name="parent" rwaccess="readonly">
					<shortdesc>The parent element.</shortdesc>
					<datatype>
						<type>Object</type>
					</datatype>
				</property>
				<property name="window" rwaccess="readonly">
					<shortdesc>The window that this element belongs to.</shortdesc>
					<datatype>
						<type href="#/Window">Window</type>
					</datatype>
				</property>
				<property name="type" rwaccess="readonly">
					<shortdesc>The element type; "panel".</shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<method name="show">
					<shortdesc>Shows this element.</shortdesc>
					<description> When a window or container is hidden, its children are also hidden, but when it is shown again, the children retain their own visibility states.</description>
				</method>
				<method name="hide">
					<shortdesc>Hides this element.</shortdesc>
				</method>
				<method name="add">
					<shortdesc>Adds a child element to this container.</shortdesc>
					 <description>Creates and returns a new control or container object and adds it to the children of this group.</description> 
					<parameters>
						<parameter name="type">
							<shortdesc>The type of the child element, as specified for the <br>type</br> property.</shortdesc>
							<description>Control types are listed in the <i>JavaScript Tools Guide</i>.</description>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="bounds" optional="true">
							<shortdesc>A bounds specification that describes the size and position of the new control or container, relative to its parent. </shortdesc>
							<description>If supplied, this value creates a new Bounds object which is assigned to the new object’s <b>bounds</b> property.</description>
							<datatype>
								<type href="#/Bounds">Bounds</type>
							</datatype>
						</parameter>
						<parameter name="text" optional="true">
							<shortdesc>The text or label, a localizable string.</shortdesc>
							<description> Initial text to be displayed in the control as the title, label, or contents, depending on the control type. If supplied, this value is assigned to the new object’s <b>text</b> property.</description>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="properties" optional="true">
							<shortdesc>An object that contains one or more creation properties of the new child (properties used only when the element is created). </shortdesc>
							<description>The creation properties depend on the element type. See <br>properties</br> property of each control type.</description>
							<datatype>
								<type>Object</type>
							</datatype>
						</parameter>
					</parameters>
					<datatype>
						<type>Object</type>
					</datatype>
				</method>
				<method name="remove">
					<shortdesc>Removes the specified child control from this group's <b>children</b> array.</shortdesc>
					<description> No error results if the child does not exist. </description>
					<parameters>
						<parameter name="what">
							<shortdesc>The child control to remove, specified by 0-based index, <b>text</b> property value, or as a control object.</shortdesc>
							<datatype><type>any</type></datatype>
						</parameter>
					</parameters>
				</method>
				<method name="addEventListener">
					<shortdesc>Registers an event handler for a particular type of event occuring in this element.</shortdesc>
					<parameters>
						<parameter name="eventName">
							<shortdesc>The name of the event.</shortdesc>
							<description>Event names are listed in the <i>JavaScript Tools Guide</i>.</description>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="handler">
							<shortdesc>The function that handles the event.</shortdesc>
							<description>This can be the name of a function defined in the extension, or a locally defined handler function to be executed when the event occurs. A handler function takes one argument, the UIEvent object. </description>
							<datatype><type href="$COMMON/javascript.xml#/Function">Function</type></datatype>
						</parameter>
						<parameter name="capturePhase">
								<shortdesc>When true, the handler is called only in the capturing phase of the event propagation. </shortdesc>
								<description>Default is false, meaning that the handler is called in the bubbling phase if this object is an ancestor of the target, or in the at-target phase if this object is itself the target.</description>
							<datatype>
								<type>bool</type>
								<value>false</value>
							</datatype>
						</parameter>
					</parameters>
					<datatype>
						<type>bool</type>
					</datatype>
				</method>
				<method name="removeEventListener">
					<shortdesc>Unregisters an event handler for a particular type of event occuring in this element.</shortdesc>
					<description> All arguments must be identical to those that were used to register the event handler.</description>
					<parameters>
						<parameter name="eventName">
							<shortdesc>The name of the event.</shortdesc>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="handler">
							<shortdesc>The function that handles the event.</shortdesc>
							<datatype><type href="$COMMON/javascript.xml#/Function">Function</type></datatype>
						</parameter>
						<parameter name="capturePhase">
							<shortdesc>Whether to call the handler only in the capturing phase of the event propagation.</shortdesc>
							<datatype>
								<type>bool</type>
								<value>false</value>
							</datatype>
						</parameter>
					</parameters>
					<datatype>
						<type>bool</type>
					</datatype>
				</method>
				<method name="dispatchEvent">
					<shortdesc>Simulates the occurrence of an event in this target. </shortdesc>
					<description>A script can create a <a href="UIEvent">UIEvent</a> object for a specific event and pass it to this method to start the event propagation for the event. </description>
					<datatype>
						<type href="#/Event">Event</type>
					</datatype>
				</method>
			</elements>
		</classdef>
		<classdef name="Point" dynamic="true">
			<shortdesc>Defines the location of a window or UI element. Contains a 2-element array. </shortdesc>
			<description>Specifies the origin point of an element as horizontal and vertical pixel offsets from the origin of the element's coordinate space. 
A Point object is created when you set an element’s <b>location</b> property. You can set the property using a JavaScript object with properties named x and y, or an array with 2 values in the order [x, y].</description>
			<elements type="instance">
				<property name="x">
					<shortdesc>The horizontal coordinate, a pixel offset from the origin of the element's coordinate space.</shortdesc>
					<datatype>
						<type>number</type>
					</datatype>
				</property>
				<property name="y">
					<shortdesc>The vertical coordinate, a pixel offset from the origin of the element's coordinate space.</shortdesc>
					<datatype>
						<type>number</type>
					</datatype>
				</property>
				<property name="left">
					<shortdesc>The left coordinate.</shortdesc>
					<datatype>
						<type>number</type>
					</datatype>
				</property>
				<property name="top">
					<shortdesc>The top coordinate.</shortdesc>
					<datatype>
						<type>number</type>
					</datatype>
				</property>
				<property name="length" rwaccess="readonly">
					<shortdesc>The array length.</shortdesc>
					<datatype>
						<type>number</type>
						<value>2</value>
					</datatype>
				</property>
			</elements>
		</classdef>
		<classdef name="Dimension" dynamic="true">
			<shortdesc>Defines the size of a window or UI element. Contains a 2-element array. </shortdesc>
			<description>Specifies the height and width of an element in pixels. A Dimension object is created when you set an element’s <br>size</br> property. You can set the property using a JavaScript object with properties named width and height, or an array with 2 values in the order [wd, ht].</description>
			<elements type="instance">
				<property name="width">
					<shortdesc>The width in pixels.</shortdesc>
					<datatype>
						<type>number</type>
					</datatype>
				</property>
				<property name="height">
					<shortdesc>The height in pixels.</shortdesc>
					<datatype>
						<type>number</type>
					</datatype>
				</property>
				<property name="length" rwaccess="readonly">
					<shortdesc>The array length.</shortdesc>
					<datatype>
						<type>number</type>
						<value>2</value>
					</datatype>
				</property>
			</elements>
		</classdef>
		<classdef name="Bounds" dynamic="true">
			<shortdesc>Defines the boundaries of a window within the screen’s coordinate space, or of a UI element within the container’s coordinate space. </shortdesc>
			<description>A Bounds object is created when you set an element’s <br>bounds</br> property. You can set the property using a JavaScript object with properties named  left, top, right, bottom or x, y, width, height, or an array with 4 values in the order [x, y, wd, ht].</description>
			<elements type="instance">
				<property name="x">
					<shortdesc>The horizontal coordinate, a pixel offset from the origin of the element's coordinate space.</shortdesc>
					<datatype>
						<type>number</type>
					</datatype>
				</property>
				<property name="y">
					<shortdesc>The vertical coordinate, a pixel offset from the origin of the element's coordinate space.</shortdesc>
					<datatype>
						<type>number</type>
					</datatype>
				</property>
				<property name="width">
					<shortdesc>The width in pixels.</shortdesc>
					<datatype>
						<type>number</type>
					</datatype>
				</property>
				<property name="height">
					<shortdesc>The height in pixels.</shortdesc>
					<datatype>
						<type>number</type>
					</datatype>
				</property>
				<property name="left">
					<shortdesc>The horizontal coordinate, a pixel offset from the origin of the element's coordinate space.</shortdesc>
					<datatype>
						<type>number</type>
					</datatype>
				</property>
				<property name="right">
					<shortdesc>The width in pixels.</shortdesc>
					<datatype>
						<type>number</type>
					</datatype>
				</property>
				<property name="top">
					<shortdesc>The height in pixels.</shortdesc>
					<datatype>
						<type>number</type>
					</datatype>
				</property>
				<property name="bottom">
					<shortdesc>The vertical coordinate, a pixel offset from the origin of the element's coordinate space.</shortdesc>
					<datatype>
						<type>number</type>
					</datatype>
				</property>
				<property name="length" rwaccess="readonly">
					<shortdesc>The array length.</shortdesc>
					<datatype>
						<type>number</type>
						<value>4</value>
					</datatype>
				</property>
			</elements>
		</classdef>
		<classdef name="UIEvent" dynamic="true">
			<shortdesc>Encapsulates input event information for an event that propagates through a container and control hierarchy. </shortdesc>
			<description>Implements W3C standard event handling. This object is passed to a function that you register to respond to events of a certain type that occur in a window or control. Use windowObj.addEventListener() or controlObj.addEventListener() to register a handler function. </description>
			<elements type="constructor">
				<method name="UIEvent">
					<shortdesc>Creates an event.</shortdesc>
					<description>The UIEvent object is normally created by ScriptUI and passed to your event handler. However, you can simulate a user action by constructing an event object and sending it to a target object’s dispatchEvent() function. </description>
					<parameters>
						<parameter name="type">
							<shortdesc>The event type. See UIEvent.type property. </shortdesc>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="captures">
							<shortdesc>Set to true if this event can be captured.</shortdesc>
							<datatype>
								<type>bool</type>
								<value>false</value>
							</datatype>
						</parameter>
						<parameter name="bubbles">
							<shortdesc>Set to true if the event bubbles.</shortdesc>
							<datatype>
								<type>bool</type>
								<value>false</value>
							</datatype>
						</parameter>
						<parameter name="view" optional="true">
							<shortdesc>The ScriptUI element that this event relates to.</shortdesc>
							<datatype>
								<type>Object</type>
							</datatype>
						</parameter>
						<parameter name="detail" optional="true">
							<shortdesc>This value sets the detail property; it can e.g. be a mouse click count.</shortdesc>
							<datatype>
								<type>number</type>
							</datatype>
						</parameter>
					</parameters>
					<datatype>
						<type>UIEvent</type>
					</datatype>
				</method>
			</elements>
			<elements type="instance">
				<property name="captures" rwaccess="readonly">
					<shortdesc>True if this event can be captured.</shortdesc>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="bubbles" rwaccess="readonly">
					<shortdesc>True if the event is of a type that bubbles.</shortdesc>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="cancelable" rwaccess="readonly">
					<shortdesc>
						True if the default action associated with the event can be canceled with
						preventDefault().
					</shortdesc>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="currentTarget" rwaccess="readonly">
					<shortdesc>The event target object which is currently handling the event. During capturing and bubbling, this is different from the property target.</shortdesc>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="eventPhase" rwaccess="readonly">
					<shortdesc>
						The current phase of event propagation; one of none, target, capture, bubble.
					</shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="target" rwaccess="readonly">
					<shortdesc>
						The event target object for this event.
					</shortdesc>
					<datatype>
						<type>Object</type>
					</datatype>
				</property>
				<property name="timeStamp" rwaccess="readonly">
					<shortdesc>
						The date and time at which the event occurred.
					</shortdesc>
					<datatype>
						<type href="$COMMON/javascript.xml#/Date">Date</type>
					</datatype>
				</property>
				<property name="type" rwaccess="readonly">
					<shortdesc>
						The name of the event that this Event object represents.
					</shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="view" rwaccess="readonly">
					<shortdesc></shortdesc>
					<datatype>
						<type>any</type>
					</datatype>
				</property>
				<property name="detail" rwaccess="readonly">
					<shortdesc>Passed in to initEvent(); it can e.g. be a mouse click count.</shortdesc>
					<datatype>
						<type>any</type>
					</datatype>
				</property>
				<method name="preventDefault">
					<shortdesc>
						Calling this function causes the default action associated with this event not to be called.
					</shortdesc>
				</method>
				<method name="stopPropagation">
					<shortdesc>
						Stops the propagation of this event.
					</shortdesc>
				</method>
				<method name="initEvent">
					<shortdesc>Initializes an UI event as a core W3C event.</shortdesc>
					<parameters>
						<parameter name="type">
							<shortdesc>The event type.</shortdesc>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="captures">
							<shortdesc>Set to true if this event can be captured.</shortdesc>
							<datatype>
								<type>bool</type>
								<value>false</value>
							</datatype>
						</parameter>
						<parameter name="bubbles">
							<shortdesc>Set to true if the event bubbles.</shortdesc>
							<datatype>
								<type>bool</type>
								<value>false</value>
							</datatype>
						</parameter>
						<parameter name="cancelable">
							<shortdesc>Set to true if the default action is cancelable.</shortdesc>
							<datatype>
								<type>bool</type>
								<value>false</value>
							</datatype>
						</parameter>
					</parameters>
				</method>
				<method name="initUIEvent">
					<shortdesc>Initializes an event.</shortdesc>
					<parameters>
						<parameter name="type">
							<shortdesc>The event type.</shortdesc>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="captures">
							<shortdesc>Set to true if this event can be captured.</shortdesc>
							<datatype>
								<type>bool</type>
								<value>false</value>
							</datatype>
						</parameter>
						<parameter name="bubbles">
							<shortdesc>Set to true if the event bubbles.</shortdesc>
							<datatype>
								<type>bool</type>
								<value>false</value>
							</datatype>
						</parameter>
						<parameter name="view" optional="true">
							<shortdesc>The ScriptUI element that this event relates to.</shortdesc>
							<datatype>
								<type>Object</type>
							</datatype>
						</parameter>
						<parameter name="detail" optional="true">
							<shortdesc>This value sets the detail property; it can e.g. be a mouse click count.</shortdesc>
							<datatype>
								<type>number</type>
							</datatype>
						</parameter>
					</parameters>
				</method>
			</elements>
		</classdef>
		<classdef name="MenuElement" dynamic="true">
			<shortdesc> Represents the application menu bar, menus and submenus, and individual items (called commands) in Adobe Bridge</shortdesc>
			<description>Available only for Adobe Bridge, which creates  instances for each of the existing menu elements. You can create additional instances to extend the existing menus,  which have predefined identifiers, listed in Adobe Bridge scripting documentation. </description>
			<elements type="constructor">
				<method name="MenuElement">
					<shortdesc>Create a new menu or menu item</shortdesc>
					<description>Use the Menu.create() static function to create new menu items, rather than the new operator. This function behaves correctly if a menu item with the same name already exists.</description>
					<parameters>
						<parameter name="type">
							<shortdesc>The element type,  menu or command.</shortdesc>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="text">
							<shortdesc>The localizable string that is displayed as the label text. </shortdesc>
							<description>Script-created menu and menu commands cannot have keyboard shortcuts or icons.</description>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="location">
							<shortdesc>The location of the  new menu element, with respect to existing menu elements.</shortdesc>
							<description>This can take one of the following forms: 
							<br>before <i>identifier</i>: Create the new element before the given menu element.</br>
							<b>after <i>identifier</i>: Create the new element before the given menu element.</b>
							<b>at the end of <i>identifier</i>: Append the new element to the given menu. The identifier must be for a menu, not a command item.</b>
							<b>at the beginning of <i>identifier</i>: Create the new element as the first item in the given menu. The identifier must be for a menu, not a command item.</b>
							<p>To insert a separator before or after the new element, specify a dash (-) at the beginning or end of the location string.</p> </description>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="id" optional="true">
							<shortdesc>The unique identifier for this element. </shortdesc>
							<description><li>If the ID of an existing menu or submenu is supplied, the call returns the new MenuElement object.</li>
							<li>If the ID of an existing command is supplied, the call causes a JavaScript error.</li>
							<li>If not supplied, the call generates a numeric value, which can be found in the id property of the returned menu object.</li></description>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
					</parameters>
					<datatype>
						<type>MenuElement</type>
					</datatype>
				</method>
			</elements>
			<elements type="class">
				<method name="find">
					<shortdesc>Retrieves a menu element using its unique identifier.</shortdesc>
					<description>Returns the MenuElement object for the specified menu or menu item, or null if no such element is found.</description>
					<parameters>
						<parameter name="id">
							<shortdesc>The unique identifier for the menu element to find.</shortdesc>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
					</parameters>
					<datatype>
						<type>MenuElement</type>
					</datatype>
				</method>
			</elements>
			<elements type="instance">
				<property name="checked">
					<shortdesc>When true, the command is selected. A check mark appears next to the label. When false, the item is not selected, and no check mark is shown. </shortdesc>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="enabled">
					<shortdesc>When true, the menu or command is selectable. When false, it is grayed out and cannot be selected. </shortdesc>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="id" rwaccess="readonly">
					<shortdesc>A unique identifier. </shortdesc>
					<description>Identifiers take the form:<i>/app/menu/submenu/command</i>. They are not localized, and are case sensitive.</description>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="location" rwaccess="readonly">
					<shortdesc>The menu element location</shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="separatorAfter" rwaccess="readonly">
					<shortdesc>True if a separator follows the element</shortdesc>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="separatorBefore" rwaccess="readonly">
					<shortdesc>True if a separator preceeds the element</shortdesc>
					<datatype>
						<type>bool</type>
					</datatype>
				</property>
				<property name="text">
					<shortdesc>The menu element text</shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="type" rwaccess="readonly">
					<shortdesc>The menu element type, either menu or command</shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<property name="shortcutKey">
					<shortdesc>The key sequence that invokes the <b>onShortcutKey</b> callback for this element (in Windows only). </shortdesc>
					<datatype>
						<type>string</type>
					</datatype>
				</property>
				<method name="addEventListener">
					<shortdesc>Registers an event handler for a particular type of event occuring in this element.</shortdesc>
					<parameters>
						<parameter name="eventName">
							<shortdesc>The name of the event.</shortdesc>
							<description>Event names are listed in the <i>JavaScript Tools Guide</i>.</description>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="handler">
							<shortdesc>The function that handles the event.</shortdesc>
							<description>This can be the name of a function defined in the extension, or a locally defined handler function to be executed when the event occurs. A handler function takes one argument, the UIEvent object. </description>
							<datatype><type href="$COMMON/javascript.xml#/Function">Function</type></datatype>
						</parameter>
						<parameter name="capturePhase">
								<shortdesc>When true, the handler is called only in the capturing phase of the event propagation. </shortdesc>
								<description>Default is false, meaning that the handler is called in the bubbling phase if this object is an ancestor of the target, or in the at-target phase if this object is itself the target.</description>
							<datatype>
								<type>bool</type>
								<value>false</value>
							</datatype>
						</parameter>
					</parameters>
					<datatype>
						<type>bool</type>
					</datatype>
				</method>
				<method name="removeEventListener">
					<shortdesc>Unregisters an event handler for a particular type of event occuring in this element.</shortdesc>
					<description> All arguments must be identical to those that were used to register the event handler.</description>
					<parameters>
						<parameter name="eventName">
							<shortdesc>The name of the event.</shortdesc>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
						<parameter name="handler">
							<shortdesc>The function that handles the event.</shortdesc>
							<datatype><type href="$COMMON/javascript.xml#/Function">Function</type></datatype>
						</parameter>
						<parameter name="capturePhase">
							<shortdesc>Whether to call the handler only in the capturing phase of the event propagation.</shortdesc>
							<datatype>
								<type>bool</type>
								<value>false</value>
							</datatype>
						</parameter>
					</parameters>
					<datatype>
						<type>bool</type>
					</datatype>
				</method>
				<method name="dispatchEvent">
					<shortdesc>Simulates the occurrence of an event in this target. </shortdesc>
					<description>A script can create a <a href="UIEvent">UIEvent</a> object for a specific event and pass it to this method to start the event propagation for the event. </description>
					<datatype>
						<type href="#/Event">Event</type>
					</datatype>
				</method>
				<method name="remove">
					<shortdesc>Removes this menu element</shortdesc>
				</method>
				<method name="find">
					<shortdesc>Searches for a menu element; returns the menu element found or null</shortdesc>
					<parameters>
						<parameter name="id">
							<shortdesc>the menu element ID to search for</shortdesc>
							<datatype>
								<type>string</type>
							</datatype>
						</parameter>
					</parameters>
					<datatype>
						<type>MenuElement</type>
					</datatype>
				</method>
			</elements>
			<elements type="event">
				<method name="onDisplay">
					<shortdesc>Called when the menu element is about to be displayed</shortdesc>
				</method>
				<method name="onSelect">
					<shortdesc>Called when the menu element has been selected</shortdesc>
				</method>
			</elements>
		</classdef>
	</package>
</dictionary>