<?xml version="1.0" encoding="Windows-1255" ?><Component name="Choice" id="core.lib:Choice" sort="24" urn="core.lib:Choice.htc" toc="\"><Summary>A single/multiple selection element.</Summary><Copyright>(c) SAP AG 2003-2006. All rights reserved.</Copyright>
<Topics>
<Property name="columns" type="Number" default="1" access="RW" sortGroup="true" scope="public" id="core.lib:Choice!columns" sort="34" group="Properties" seq="0000"><Summary>Gets or sets the number of displayed columns.</Summary></Property>
<Property name="cursor" access="RW" sortGroup="true" scope="public" id="core.lib:Choice!cursor" sort="34" group="Properties" seq="0001"><Summary>Gets or sets the cursor key.</Summary><Remarks>The cursor is only available for the &lt;code&gt;dual&lt;/code&gt; choice type.</Remarks></Property>
<Property name="domain" also="core.lib:Choice!value" access="RW" sortGroup="true" scope="public" id="core.lib:Choice!domain" sort="34" group="Properties" seq="0002"><Summary>Gets or sets the list of items that are displayed by the choice control.</Summary><Remarks>The property is a semicolon-separated list of value:text pairs defining the choice
		items. The order of the items in the list defines also their display order.</Remarks><SeeAlso>&lt;q ref=&quot;core.lib:Choice!value&quot;&gt;value&lt;/q&gt;</SeeAlso></Property>
<Property name="enabled" type="Boolean" default="true" access="RW" sortGroup="true" scope="public" id="core.lib:Choice!enabled" sort="34" group="Properties" seq="0003"><Summary>Gets or sets whether the button can respond to user interaction.</Summary></Property>
<Property name="glyph" default="(type)" access="RW" sortGroup="true" scope="public" id="core.lib:Choice!glyph" sort="34" group="Properties" seq="0004"><Summary>Gets or sets the control styling glyph.</Summary><Remarks>&lt;p&gt;By default, the glyph is set according to the &lt;q ref=&quot;core.lib:Choice!type&quot;&gt;type&lt;/q&gt; property.&lt;/p&gt;</Remarks></Property>
<Property name="html" access="RO" also="core.lib:Choice!value core.lib:Choice!text" type="Variant" sortGroup="true" scope="public" id="core.lib:Choice!html" sort="34" group="Properties" seq="0005"><Summary>Gets the current selection HTML text.</Summary><Remarks>&lt;ul&gt;&lt;li&gt;For single-selection choice types, the property holds the HTML text of the currently selected item. &lt;/li&gt;&lt;li&gt;For multiple-selection choice types, the property holds an array of the HTML texts of the selected items. &lt;/li&gt;&lt;/ul&gt;</Remarks><SeeAlso>&lt;q ref=&quot;core.lib:Choice!value&quot;&gt;value&lt;/q&gt; | &lt;q ref=&quot;core.lib:Choice!text&quot;&gt;text&lt;/q&gt;</SeeAlso></Property>
<Property name="isEmpty" access="RO" type="Boolean" sortGroup="true" scope="public" id="core.lib:Choice!isEmpty" sort="34" group="Properties" seq="0006"><Summary>Indicates whether the current selection is empty.</Summary></Property>
<Property name="itemsCount" access="RO" also="core.lib:Choice!domain" type="Integer" sortGroup="true" scope="public" id="core.lib:Choice!itemsCount" sort="34" group="Properties" seq="0007"><Summary>Gets the total number of items.</Summary><SeeAlso>&lt;q ref=&quot;core.lib:Choice!domain&quot;&gt;domain&lt;/q&gt;</SeeAlso></Property>
<Property name="multiple" access="RO" type="Boolean" sortGroup="true" scope="public" id="core.lib:Choice!multiple" sort="34" group="Properties" seq="0008"><Summary>Indicates whether the choice type is single or multiple selection.</Summary></Property>
<Property name="quickSelect" default="true" type="Boolean" access="RW" sortGroup="true" scope="public" id="core.lib:Choice!quickSelect" sort="34" group="Properties" seq="0009"><Summary>Gets or sets whether quick selection mode is enabled (i.e., select by dragging the mouse).</Summary></Property>
<Property name="selection" access="RO" also="core.lib:Choice!value" type="String[value]" sortGroup="true" scope="public" id="core.lib:Choice!selection" sort="34" group="Properties" seq="0010"><Summary>Gets an object holding the currently selected keys.</Summary><SeeAlso>&lt;q ref=&quot;core.lib:Choice!value&quot;&gt;value&lt;/q&gt;</SeeAlso></Property>
<Property name="text" access="RO" also="core.lib:Choice!value core.lib:Choice!html" type="Variant" sortGroup="true" scope="public" id="core.lib:Choice!text" sort="34" group="Properties" seq="0011"><Summary>Gets the current selection text (stripped of any HTML markup).</Summary><Remarks>&lt;ul&gt;&lt;li&gt;For single-selection choice types, the property holds the text of the currently selected item. &lt;/li&gt;&lt;li&gt;For multiple-selection choice types, the property holds an array of the texts of the selected items. &lt;/li&gt;&lt;/ul&gt;</Remarks><SeeAlso>&lt;q ref=&quot;core.lib:Choice!value&quot;&gt;value&lt;/q&gt; | &lt;q ref=&quot;core.lib:Choice!html&quot;&gt;html&lt;/q&gt;</SeeAlso></Property>
<Property name="type" type="CHOICE_TYPES" default="SINGLE" typeRef="&lt;q ref=&quot;core.lib:Choice!CHOICE_TYPES&quot;&gt;CHOICE_TYPES&lt;/q&gt;" access="RW" sortGroup="true" scope="public" id="core.lib:Choice!type" sort="34" group="Properties" seq="0012"><Summary>Gets or sets the control type.</Summary></Property>
<Property name="value" also="core.lib:Choice!selection core.lib:Choice!domain core.lib:Choice!text core.lib:Choice!html" access="RW" sortGroup="true" scope="public" id="core.lib:Choice!value" sort="34" group="Properties" seq="0013"><Summary>Gets or sets the current selection value.</Summary><Remarks>&lt;ul&gt;&lt;li&gt;For single-selection choice types, the property holds the key of the currently selected item. &lt;/li&gt;&lt;li&gt;For multiple-selection choice types, the property holds a whitespace-separated list of the keys of the selected items. &lt;/li&gt;&lt;/ul&gt;</Remarks><SeeAlso>&lt;q ref=&quot;core.lib:Choice!selection&quot;&gt;selection&lt;/q&gt; | &lt;q ref=&quot;core.lib:Choice!domain&quot;&gt;domain&lt;/q&gt; | &lt;q ref=&quot;core.lib:Choice!text&quot;&gt;text&lt;/q&gt; | &lt;q ref=&quot;core.lib:Choice!html&quot;&gt;html&lt;/q&gt;</SeeAlso></Property>
<Property name="valueCount" access="RO" also="core.lib:Choice!value" type="Integer" sortGroup="true" scope="public" id="core.lib:Choice!valueCount" sort="34" group="Properties" seq="0014"><Summary>Gets the number of selected items.</Summary><SeeAlso>&lt;q ref=&quot;core.lib:Choice!value&quot;&gt;value&lt;/q&gt;</SeeAlso></Property>
<Property name="wheelAction" default="scroll" type="enum" access="RW" sortGroup="true" scope="public" id="core.lib:Choice!wheelAction" sort="34" group="Properties" seq="0015"><Summary>Gets or sets the action to perform when the mouse wheel is rolled over this element (scroll|select|none).</Summary></Property>
<Method name="appendItem" sortGroup="true" scope="public" id="core.lib:Choice!appendItem" sort="35" group="Methods" seq="0016"><Summary>Appends a new item after a specified item.</Summary><Parameters signature="method:: &lt;i&gt;this&lt;/i&gt;.&lt;b&gt;appendItem&lt;/b&gt;(&lt;i&gt;item&lt;/i&gt;, &lt;i&gt;target&lt;/i&gt;, &lt;i&gt;reselect&lt;/i&gt;) &amp;rarr; void"><Param name="item" type="{value,text}">The new item to append.</Param><Param name="target">The key of the item after which the new item will be appended (if omitted, the new item will be appended at the end).</Param><Param name="reselect">Indicates whether the new item should also be selected after it is created.</Param></Parameters><Return></Return></Method>
<Method name="enableItem" sortGroup="true" scope="public" id="core.lib:Choice!enableItem" sort="35" group="Methods" seq="0017"><Summary>Enables or disables the specified item.</Summary><Parameters signature="method:: &lt;i&gt;this&lt;/i&gt;.&lt;b&gt;enableItem&lt;/b&gt;(&lt;i&gt;key&lt;/i&gt;) &amp;rarr; void"><Param name="key">Key of the item to enable/disable.</Param></Parameters><Return></Return></Method>
<Method name="getFirstItem" sortGroup="true" scope="public" id="core.lib:Choice!getFirstItem" sort="35" group="Methods" seq="0018"><Summary>Gets the first item.</Summary><Parameters signature="method:: &lt;i&gt;this&lt;/i&gt;.&lt;b&gt;getFirstItem&lt;/b&gt;() &amp;rarr; HtmlElement"></Parameters><Return type="HtmlElement">The requested HTML element.</Return></Method>
<Method name="getItem" sortGroup="true" scope="public" id="core.lib:Choice!getItem" sort="35" group="Methods" seq="0019"><Summary>Gets the HTML element that represents a given item.</Summary><Parameters signature="method:: &lt;i&gt;this&lt;/i&gt;.&lt;b&gt;getItem&lt;/b&gt;(&lt;i&gt;key&lt;/i&gt;) &amp;rarr; HtmlElement"><Param name="key">The item key.</Param></Parameters><Return type="HtmlElement">The requested HTML element.</Return></Method>
<Method name="getItemData" sortGroup="true" scope="public" id="core.lib:Choice!getItemData" sort="35" group="Methods" seq="0020"><Summary>Gets a data object with the value and text of a given item.</Summary><Parameters signature="method:: &lt;i&gt;this&lt;/i&gt;.&lt;b&gt;getItemData&lt;/b&gt;(&lt;i&gt;key&lt;/i&gt;) &amp;rarr; {value,text}"><Param name="key"></Param></Parameters><Return type="{value,text}">An object containing the value and text of the requested item.</Return></Method>
<Method name="getItemsTable" sortGroup="true" scope="public" id="core.lib:Choice!getItemsTable" sort="35" group="Methods" seq="0021"><Summary>Gets a table of data objects with the value and text of all items.</Summary><Parameters signature="method:: &lt;i&gt;this&lt;/i&gt;.&lt;b&gt;getItemsTable&lt;/b&gt;() &amp;rarr; {value,text}[]"></Parameters><Return type="{value,text}[]">An array of items data.</Return></Method>
<Method name="getLastItem" sortGroup="true" scope="public" id="core.lib:Choice!getLastItem" sort="35" group="Methods" seq="0022"><Summary>Gets the last item.</Summary><Parameters signature="method:: &lt;i&gt;this&lt;/i&gt;.&lt;b&gt;getLastItem&lt;/b&gt;() &amp;rarr; HtmlElement"></Parameters><Return type="HtmlElement">The requested HTML element.</Return></Method>
<Method name="getNextItem" sortGroup="true" scope="public" id="core.lib:Choice!getNextItem" sort="35" group="Methods" seq="0023"><Summary>Gets the item that immediately follows a specified item.</Summary><Parameters signature="method:: &lt;i&gt;this&lt;/i&gt;.&lt;b&gt;getNextItem&lt;/b&gt;(&lt;i&gt;key&lt;/i&gt;) &amp;rarr; HtmlElement"><Param name="key">The item key.</Param></Parameters><Return type="HtmlElement">The requested HTML element.</Return></Method>
<Method name="getPrevItem" sortGroup="true" scope="public" id="core.lib:Choice!getPrevItem" sort="35" group="Methods" seq="0024"><Summary>Gets the item that immediately precedes a specified item.</Summary><Parameters signature="method:: &lt;i&gt;this&lt;/i&gt;.&lt;b&gt;getPrevItem&lt;/b&gt;(&lt;i&gt;key&lt;/i&gt;) &amp;rarr; HtmlElement"><Param name="key">The item key.</Param></Parameters><Return type="HtmlElement">The requested HTML element.</Return></Method>
<Method name="insertItem" sortGroup="true" scope="public" id="core.lib:Choice!insertItem" sort="35" group="Methods" seq="0025"><Summary>Inserts a new item before a specified item.</Summary><Parameters signature="method:: &lt;i&gt;this&lt;/i&gt;.&lt;b&gt;insertItem&lt;/b&gt;(&lt;i&gt;item&lt;/i&gt;, &lt;i&gt;target&lt;/i&gt;, &lt;i&gt;reselect&lt;/i&gt;) &amp;rarr; void"><Param name="item" type="{value,text}">The new item to insert.</Param><Param name="target">The key of the item before which the new item will be inserted (if omitted, the new item will be inserted at the beginning).</Param><Param name="reselect">Indicates whether the new item should also be selected after it is created.</Param></Parameters><Return></Return></Method>
<Method name="isEnabled" sortGroup="true" scope="public" id="core.lib:Choice!isEnabled" sort="35" group="Methods" seq="0026"><Summary>Tests whether the specified item is enabled.</Summary><Parameters signature="method:: &lt;i&gt;this&lt;/i&gt;.&lt;b&gt;isEnabled&lt;/b&gt;(&lt;i&gt;key&lt;/i&gt;) &amp;rarr; Boolean"><Param name="key">Key of the item to test.</Param></Parameters><Return type="Boolean">Returns &lt;code&gt;true&lt;/code&gt; if the item is enabled, &lt;code&gt;false&lt;/code&gt; otherwise.</Return></Method>
<Method name="isSelected" sortGroup="true" scope="public" id="core.lib:Choice!isSelected" sort="35" group="Methods" seq="0027"><Summary>Tests whether the specified item is selected.</Summary><Parameters signature="method:: &lt;i&gt;this&lt;/i&gt;.&lt;b&gt;isSelected&lt;/b&gt;(&lt;i&gt;key&lt;/i&gt;) &amp;rarr; Boolean"><Param name="key">Key of the item to test.</Param></Parameters><Return type="Boolean">Returns &lt;code&gt;true&lt;/code&gt; if the item is selected, &lt;code&gt;false&lt;/code&gt; otherwise.</Return></Method>
<Method name="moveAfter" sortGroup="true" scope="public" id="core.lib:Choice!moveAfter" sort="35" group="Methods" seq="0028"><Summary>Moves the source item after the target item.</Summary><Parameters signature="method:: &lt;i&gt;this&lt;/i&gt;.&lt;b&gt;moveAfter&lt;/b&gt;(&lt;i&gt;source&lt;/i&gt;, &lt;i&gt;target&lt;/i&gt;) &amp;rarr; void"><Param name="source">The key of the source item.</Param><Param name="target">The key of the target item.</Param></Parameters><Return></Return></Method>
<Method name="moveBefore" sortGroup="true" scope="public" id="core.lib:Choice!moveBefore" sort="35" group="Methods" seq="0029"><Summary>Moves the source item before the target item.</Summary><Parameters signature="method:: &lt;i&gt;this&lt;/i&gt;.&lt;b&gt;moveBefore&lt;/b&gt;(&lt;i&gt;source&lt;/i&gt;, &lt;i&gt;target&lt;/i&gt;) &amp;rarr; void"><Param name="source">The key of the source item.</Param><Param name="target">The key of the target item.</Param></Parameters><Return></Return></Method>
<Method name="moveFirst" sortGroup="true" scope="public" id="core.lib:Choice!moveFirst" sort="35" group="Methods" seq="0030"><Summary>Moves the specified item to the beginning of the list.</Summary><Parameters signature="method:: &lt;i&gt;this&lt;/i&gt;.&lt;b&gt;moveFirst&lt;/b&gt;(&lt;i&gt;key&lt;/i&gt;) &amp;rarr; void"><Param name="key">The key of the item to move.</Param></Parameters><Return></Return></Method>
<Method name="moveLast" sortGroup="true" scope="public" id="core.lib:Choice!moveLast" sort="35" group="Methods" seq="0031"><Summary>Moves the specified item to the end of the list.</Summary><Parameters signature="method:: &lt;i&gt;this&lt;/i&gt;.&lt;b&gt;moveLast&lt;/b&gt;(&lt;i&gt;key&lt;/i&gt;) &amp;rarr; void"><Param name="key">The key of the item to move.</Param></Parameters><Return></Return></Method>
<Method name="moveNext" sortGroup="true" scope="public" id="core.lib:Choice!moveNext" sort="35" group="Methods" seq="0032"><Summary>Moves the specified item to the next position in the list.</Summary><Parameters signature="method:: &lt;i&gt;this&lt;/i&gt;.&lt;b&gt;moveNext&lt;/b&gt;(&lt;i&gt;key&lt;/i&gt;, &lt;i&gt;cyclic&lt;/i&gt;) &amp;rarr; void"><Param name="key">The key of the item to move.</Param><Param name="cyclic">Indicates whether to cycle to the beginning of the list when attempting to move past the end of the list.</Param></Parameters><Return></Return></Method>
<Method name="movePrev" sortGroup="true" scope="public" id="core.lib:Choice!movePrev" sort="35" group="Methods" seq="0033"><Summary>Moves the specified item to the previous position in the list.</Summary><Parameters signature="method:: &lt;i&gt;this&lt;/i&gt;.&lt;b&gt;movePrev&lt;/b&gt;(&lt;i&gt;key&lt;/i&gt;, &lt;i&gt;cyclic&lt;/i&gt;) &amp;rarr; void"><Param name="key">The key of the item to move.</Param><Param name="cyclic">Indicates whether to cycle to the end of the list when attempting to move past the beginning of the list.</Param></Parameters><Return></Return></Method>
<Method name="removeAll" sortGroup="true" scope="public" id="core.lib:Choice!removeAll" sort="35" group="Methods" seq="0034"><Summary>Removes all items from the control.</Summary><Parameters signature="method:: &lt;i&gt;this&lt;/i&gt;.&lt;b&gt;removeAll&lt;/b&gt;() &amp;rarr; void"></Parameters><Return></Return></Method>
<Method name="removeItem" sortGroup="true" scope="public" id="core.lib:Choice!removeItem" sort="35" group="Methods" seq="0035"><Summary>Removes an existing item.</Summary><Parameters signature="method:: &lt;i&gt;this&lt;/i&gt;.&lt;b&gt;removeItem&lt;/b&gt;(&lt;i&gt;key&lt;/i&gt;, &lt;i&gt;reselect&lt;/i&gt;) &amp;rarr; void"><Param name="key">The key of the item to remove.</Param><Param name="reselect">Indicates whether the current selection should be updated to the closest neighbor of the removed item, if it was previously selected.</Param></Parameters><Return></Return></Method>
<Method name="selectAll" sortGroup="true" scope="public" id="core.lib:Choice!selectAll" sort="35" group="Methods" seq="0036"><Summary>Selects all items.</Summary><Parameters signature="method:: &lt;i&gt;this&lt;/i&gt;.&lt;b&gt;selectAll&lt;/b&gt;() &amp;rarr; void"></Parameters><Return></Return></Method>
<Method name="selectFirst" sortGroup="true" scope="public" id="core.lib:Choice!selectFirst" sort="35" group="Methods" seq="0037"><Summary>Selects the first item in the list.</Summary><Parameters signature="method:: &lt;i&gt;this&lt;/i&gt;.&lt;b&gt;selectFirst&lt;/b&gt;() &amp;rarr; void"></Parameters><Return></Return></Method>
<Method name="selectItem" sortGroup="true" scope="public" id="core.lib:Choice!selectItem" sort="35" group="Methods" seq="0038"><Summary>Selects or deselect the specified item.</Summary><Parameters signature="method:: &lt;i&gt;this&lt;/i&gt;.&lt;b&gt;selectItem&lt;/b&gt;(&lt;i&gt;key&lt;/i&gt;, &lt;i&gt;flag&lt;/i&gt;) &amp;rarr; void"><Param name="key">Key of the item to select or deselect.</Param><Param name="flag">Indicates whether to select or deselect the specified item.</Param></Parameters><Return></Return></Method>
<Method name="selectLast" sortGroup="true" scope="public" id="core.lib:Choice!selectLast" sort="35" group="Methods" seq="0039"><Summary>Selects the last item in the list.</Summary><Parameters signature="method:: &lt;i&gt;this&lt;/i&gt;.&lt;b&gt;selectLast&lt;/b&gt;() &amp;rarr; void"></Parameters><Return></Return></Method>
<Method name="selectNext" sortGroup="true" scope="public" id="core.lib:Choice!selectNext" sort="35" group="Methods" seq="0040"><Summary>Selects the item that follows the currently selected item (only in single-selection types).</Summary><Parameters signature="method:: &lt;i&gt;this&lt;/i&gt;.&lt;b&gt;selectNext&lt;/b&gt;() &amp;rarr; void"></Parameters><Return></Return></Method>
<Method name="selectNone" sortGroup="true" scope="public" id="core.lib:Choice!selectNone" sort="35" group="Methods" seq="0041"><Summary>Deselects all items.</Summary><Parameters signature="method:: &lt;i&gt;this&lt;/i&gt;.&lt;b&gt;selectNone&lt;/b&gt;() &amp;rarr; void"></Parameters><Return></Return></Method>
<Method name="selectPrev" sortGroup="true" scope="public" id="core.lib:Choice!selectPrev" sort="35" group="Methods" seq="0042"><Summary>Selects the item that precedes the currently selected item (only in single-selection types).</Summary><Parameters signature="method:: &lt;i&gt;this&lt;/i&gt;.&lt;b&gt;selectPrev&lt;/b&gt;() &amp;rarr; void"></Parameters><Return></Return></Method>
<Method name="toggleItem" sortGroup="true" scope="public" id="core.lib:Choice!toggleItem" sort="35" group="Methods" seq="0043"><Summary>Toggles the selection state of the specified item.</Summary><Parameters signature="method:: &lt;i&gt;this&lt;/i&gt;.&lt;b&gt;toggleItem&lt;/b&gt;(&lt;i&gt;key&lt;/i&gt;) &amp;rarr; void"><Param name="key">Key of the item to toggle.</Param></Parameters><Return></Return></Method>
<Event name="onchange" sortGroup="true" scope="public" id="core.lib:Choice!onchange" sort="36" group="Events" seq="0044"><Summary>Fires whenever the selection is changed.</Summary><Parameters signature="event:: &lt;b&gt;onchange&lt;/b&gt; &amp;rarr; {&lt;i&gt;value&lt;/i&gt;, &lt;i&gt;item&lt;/i&gt;}"><Param name="value">The current selection value (see &lt;q ref=&quot;core.lib:Choice!value&quot;&gt;value&lt;/q&gt;).</Param><Param name="item">The key of the item that has changed.</Param></Parameters></Event>
<Event name="oncursorchange" sortGroup="true" scope="public" id="core.lib:Choice!oncursorchange" sort="36" group="Events" seq="0045"><Summary>Fires whenever the cursor is moved.</Summary><Parameters signature="event:: &lt;b&gt;oncursorchange&lt;/b&gt; &amp;rarr; {&lt;i&gt;value&lt;/i&gt;}"><Param name="value">The key of the item that has the cursor.</Param></Parameters></Event>
<Enumeration name="CHOICE_TYPES" sortGroup="true" id="core.lib:Choice!CHOICE_TYPES" sort="42" group="Enumerations" seq="0046"><Summary>An enumeration of available choice types.</Summary><Remarks>The available choice types are listed below:

		&lt;table class=&quot;VERT&quot;&gt;&lt;tr&gt;&lt;td class=&quot;H V&quot;&gt;RADIO &lt;/td&gt;&lt;td class=H&gt;A group of radio buttons &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=V&gt;CHECKLIST &lt;/td&gt;&lt;td&gt;A list of checkbox buttons &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=V&gt;SELECT &lt;/td&gt;&lt;td&gt;A single selection list &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=V&gt;MULTISEL &lt;/td&gt;&lt;td&gt;A multiple selection list &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=V&gt;DUALSEL &lt;/td&gt;&lt;td&gt;A multiple selection list with a cursor &lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</Remarks></Enumeration>
</Topics>
</Component>