<?xml version="1.0" encoding="Windows-1255" ?><Class name="SimpleControl" inherit="core.gml:Control" implement="core.dev:IPropertyBagSupport" alias="ctrl" hierarchy="GMLDOM" id="core.gml:SimpleControl" sort="21" urn="core.gml:elements.controls.SimpleControl.gs" toc="\Elements"><Summary>The SimpleControl class represents a data-bound display field.</Summary><Inherit>&lt;q ref=&quot;core.gml:Control&quot;&gt;Control&lt;/q&gt;</Inherit><Implement>&lt;q ref=&quot;core.dev:IPropertyBagSupport&quot;&gt;IPropertyBagSupport&lt;/q&gt;</Implement><Remarks>&lt;font color=&quot;red&quot;&gt;This class is in preliminary design stage, and is subject to change.&lt;/font&gt;</Remarks><Copyright>(c) SAP AG 2003-2006. All rights reserved.</Copyright>
<Topics>
<Property name="action" type="String" default="''" access="RW" sortGroup="true" scope="public" id="core.gml:SimpleControl!action" sort="34" group="Properties" seq="0000"><Summary>Defines action to be executed when control is clicked.</Summary></Property>
<Property name="forceSync" type="Boolean" default="false" access="RW" sortGroup="true" scope="public" id="core.gml:SimpleControl!forceSync" sort="34" group="Properties" seq="0001"><Summary>Gets or sets the control's 'forceSync' attribute.</Summary></Property>
<Property name="propertyBag" strong="Yes" type="PropertyBagItem![id]" modifier="strong" typeRef="&lt;q ref=&quot;core.gml:PropertyBagItem&quot;&gt;PropertyBagItem&lt;/q&gt;[id]" access="RW" sortGroup="true" scope="public" id="core.gml:SimpleControl!propertyBag" sort="34" group="Properties" seq="0002"><Summary>A set of PropertyBagItems holding specific control configuration properties.</Summary></Property>
<Property name="value" type="Expression &lt;String&gt;" default="''" access="RW" sortGroup="true" scope="public" id="core.gml:SimpleControl!value" sort="34" group="Properties" seq="0003"><Summary>Gets or sets the control's  expression. Used to assosiate the control with fields.</Summary></Property>
<Method name="enforcePropBagCreation" sortGroup="true" scope="public" id="core.gml:SimpleControl!enforcePropBagCreation" sort="35" group="Methods" seq="0004"><Summary>Used for enforcing the property bag values persistency, even for default values.</Summary><Parameters signature="method:: &lt;i&gt;ctrl&lt;/i&gt;.&lt;b&gt;enforcePropBagCreation&lt;/b&gt;() &amp;rarr; void"></Parameters><Return></Return></Method>
<Method name="getBoundField" sortGroup="true" scope="public" id="core.gml:SimpleControl!getBoundField" sort="35" group="Methods" seq="0005"><Summary>Gets the bound field to the control.</Summary><Parameters signature="method:: &lt;i&gt;ctrl&lt;/i&gt;.&lt;b&gt;getBoundField&lt;/b&gt;(&lt;i&gt;BO&lt;/i&gt;, &lt;i&gt;member&lt;/i&gt;) &amp;rarr; gml:Field"><Param name="BO" type="gml:BOInfoshape">A BOInfoshape.</Param><Param name="member" type="String">Optional, The member name which reperesent the bound field. The default is &quot;value&quot;.</Param></Parameters><Return type="gml:Field">Returns the bound field iff the object is bound to a field.</Return></Method>
<Method name="getConfigEditor" sortGroup="true" scope="public" id="core.gml:SimpleControl!getConfigEditor" sort="35" group="Methods" seq="0006"><Summary>Define an editor for the property bag.</Summary><Parameters signature="method:: &lt;i&gt;ctrl&lt;/i&gt;.&lt;b&gt;getConfigEditor&lt;/b&gt;() &amp;rarr; void"></Parameters><Return></Return></Method>
<Method name="getPropertyBagItemValue" sortGroup="true" scope="public" id="core.gml:SimpleControl!getPropertyBagItemValue" sort="35" group="Methods" seq="0007"><Summary>Gets a property bag item value.</Summary><Parameters signature="method:: &lt;i&gt;ctrl&lt;/i&gt;.&lt;b&gt;getPropertyBagItemValue&lt;/b&gt;(&lt;i&gt;name&lt;/i&gt;) &amp;rarr; String"><Param name="name" type="String">The configuration property item name.</Param></Parameters><Return type="String">Returns the value. Null is return when not found.</Return></Method>
<Method name="hasAction" sortGroup="true" scope="public" id="core.gml:SimpleControl!hasAction" sort="35" group="Methods" seq="0008"><Summary>Returns whether this control has an action.</Summary><Parameters signature="method:: &lt;i&gt;ctrl&lt;/i&gt;.&lt;b&gt;hasAction&lt;/b&gt;() &amp;rarr; Boolean"></Parameters><Return type="Boolean">true if this control has an action, otherwise false.</Return></Method>
<Method name="setBoundField" sortGroup="true" scope="public" id="core.gml:SimpleControl!setBoundField" sort="35" group="Methods" seq="0009"><Summary>Sets the memeber propety of the object to repersent Bound object.</Summary><Parameters signature="method:: &lt;i&gt;ctrl&lt;/i&gt;.&lt;b&gt;setBoundField&lt;/b&gt;(&lt;i&gt;fieldId&lt;/i&gt;, &lt;i&gt;member&lt;/i&gt;) &amp;rarr; bool"><Param name="fieldId" type="String">An id of a field.</Param><Param name="member" type="String">Optional, The member name which reperesent the bound field. The default is &quot;value&quot;.</Param></Parameters><Return type="bool">Returns &lt;code&gt;true&lt;/code&gt; iff the setting of the bound field to the control was succeeded.</Return></Method>
<Method name="setPropertyBagItem" sortGroup="true" scope="public" id="core.gml:SimpleControl!setPropertyBagItem" sort="35" group="Methods" seq="0010"><Summary>Sets a property bag item value. If no item is found a new one is created.</Summary><Parameters signature="method:: &lt;i&gt;ctrl&lt;/i&gt;.&lt;b&gt;setPropertyBagItem&lt;/b&gt;(&lt;i&gt;name&lt;/i&gt;, &lt;i&gt;value&lt;/i&gt;) &amp;rarr; void"><Param name="name" type="String">The configuration property name.</Param><Param name="value" type="String">The configuration property value. If omitted or undefined the item will be removed.</Param></Parameters><Return></Return></Method>
</Topics>
</Class>