<?xml version="1.0" encoding="Windows-1255" ?><Class name="Element" inherit="core.gml:TransObject" alias="elem" hierarchy="GMLDOM" id="core.gml:Element" sort="21" urn="core.gml:elements.Element.gs" toc="\Elements"><Summary>The Element is the basic building block from which GML units are composed.</Summary><Inherit>&lt;q ref=&quot;core.gml:TransObject&quot;&gt;TransObject&lt;/q&gt;</Inherit><Remarks>&lt;ul&gt;&lt;li&gt;A GML unit is always made of a collection of one or more GML elements, referenced by unique identifiers. &lt;/li&gt;&lt;li&gt;Depending on its type, a GML element may contain a collection of one or more child elements, referenced by unique identifiers. &lt;/li&gt;&lt;li&gt;Elements can be nested in this way to any arbitrary depth. &lt;/li&gt;&lt;/ul&gt;</Remarks><Copyright>(c) SAP AG 2003-2006. All rights reserved.</Copyright>
<Topics>
<Property name="config_item" virtual="Yes" type="ConfigurationItem![id]" modifier="virtual" typeRef="&lt;q ref=&quot;core.gml:ConfigurationItem&quot;&gt;ConfigurationItem&lt;/q&gt;[id]" access="RW" sortGroup="true" scope="public" id="core.gml:Element!config_item" sort="34" group="Properties" seq="0000"><Summary>Reference to a collection of configuration items configuring this element.</Summary></Property>
<Property name="parent" virtual="Yes" access="RO" type="GmlObject!" modifier="virtual" typeRef="&lt;q ref=&quot;core.gml:GmlObject&quot;&gt;GmlObject&lt;/q&gt;" sortGroup="true" scope="public" id="core.gml:Element!parent" sort="34" group="Properties" seq="0001"><Summary>Gets the parent object.</Summary></Property>
<Property name="state" virtual="Yes" access="RO" type="CompositeState!" modifier="virtual" typeRef="&lt;q ref=&quot;core.gml:CompositeState&quot;&gt;CompositeState&lt;/q&gt;" sortGroup="true" scope="public" id="core.gml:Element!state" sort="34" group="Properties" seq="0002"><Summary>Gets the state that contains this object, if any.</Summary></Property>
<Property name="unit" virtual="Yes" access="RO" type="Unit!" modifier="virtual" typeRef="&lt;q ref=&quot;core.gml:Unit&quot;&gt;Unit&lt;/q&gt;" sortGroup="true" scope="public" id="core.gml:Element!unit" sort="34" group="Properties" seq="0003"><Summary>Gets the containing unit.</Summary></Property>
<Method name="getTooltip" sortGroup="true" scope="public" id="core.gml:Element!getTooltip" sort="35" group="Methods" seq="0004"><Summary>Gets the tooltip text to display for the element.</Summary><Parameters signature="method:: &lt;i&gt;elem&lt;/i&gt;.&lt;b&gt;getTooltip&lt;/b&gt;(&lt;i&gt;textScale&lt;/i&gt;) &amp;rarr; String"><Param name="textScale" type="Float">The scale at the which the element's text is currently displayed, relative to the reference coordinates system (1=actual size).</Param></Parameters><Return type="String">The tooltip text to display, or &lt;code&gt;null&lt;/code&gt; if there is no tooltip.</Return><Remarks>&lt;ol&gt;&lt;li&gt;The tooltip text can contain any valid HTML markup. &lt;/li&gt;&lt;li&gt;The &lt;code&gt;textScale&lt;/code&gt; parameter can be used as a condition for displaying the tooltip only when the scale is too small to render legible text. &lt;/li&gt;&lt;/ol&gt;</Remarks></Method>
<Method name="getTranslation" sortGroup="true" scope="public" id="core.gml:Element!getTranslation" sort="35" group="Methods" seq="0005"><Summary>Used for retrieving Text from the translation table.</Summary><Parameters signature="method:: &lt;i&gt;elem&lt;/i&gt;.&lt;b&gt;getTranslation&lt;/b&gt;(&lt;i&gt;key&lt;/i&gt;, &lt;i&gt;isDE&lt;/i&gt;) &amp;rarr; Object"><Param name="key">The key of the Text to retrieve.</Param><Param name="isDE" type="Boolean">Whether called from DE engine or not.</Param></Parameters><Return type="Object">The translated text (and type in case of DE).</Return></Method>
<Method name="getUiConfiguration" sortGroup="true" scope="public" id="core.gml:Element!getUiConfiguration" sort="35" group="Methods" seq="0006"><Summary>Gets the UI Configuration by calling the rule defineUIConfiguration.</Summary><Parameters signature="method:: &lt;i&gt;elem&lt;/i&gt;.&lt;b&gt;getUiConfiguration&lt;/b&gt;() &amp;rarr; Collection"></Parameters><Return type="Collection">The list of UI Configuration definitions - in the structure {key1:value1, key2:value2, ...}, where:
   key is a concatenation of the name-spaced-command and the name-of-the-button-attribute.
   For example, to disable the FieldSelector button, command is '' and  attribute is &quot;disable&quot;.
   The key, in that case, will be UPPER('_disable');
   The value is typically boolean, and depends on the attribute logic. For disable false means the button will work.
   Note - since the command ID is kept in upper-case, the key must also be entered in UPPER case mode.</Return><Remarks>&lt;ol&gt;&lt;li&gt;Note - since IDs in VC Core are upper-case, the key must be also entered in UPPER case mode. &lt;/li&gt;&lt;/ol&gt;</Remarks></Method>
<Method name="insertTranslation" sortGroup="true" scope="public" id="core.gml:Element!insertTranslation" sort="35" group="Methods" seq="0007"><Summary>Used for creating a new Text instance and an entry in the translation table.</Summary><Parameters signature="method:: &lt;i&gt;elem&lt;/i&gt;.&lt;b&gt;insertTranslation&lt;/b&gt;(&lt;i&gt;theType&lt;/i&gt;, &lt;i&gt;value&lt;/i&gt;) &amp;rarr; String"><Param name="theType">The translation type.</Param><Param name="value">The text to be translated.</Param></Parameters><Return type="String">The newly genenrated key.</Return></Method>
<Method name="removeTranslation" sortGroup="true" scope="public" id="core.gml:Element!removeTranslation" sort="35" group="Methods" seq="0008"><Summary>Used for removing Texts from the translation table.</Summary><Parameters signature="method:: &lt;i&gt;elem&lt;/i&gt;.&lt;b&gt;removeTranslation&lt;/b&gt;(&lt;i&gt;key&lt;/i&gt;) &amp;rarr; void"><Param name="key">One or more (array) of Texts to remove.</Param></Parameters><Return></Return></Method>
<Method name="updateTranslation" sortGroup="true" scope="public" id="core.gml:Element!updateTranslation" sort="35" group="Methods" seq="0009"><Summary>Used for updating Text instance and an entry in the translation table.</Summary><Parameters signature="method:: &lt;i&gt;elem&lt;/i&gt;.&lt;b&gt;updateTranslation&lt;/b&gt;(&lt;i&gt;value&lt;/i&gt;, &lt;i&gt;key&lt;/i&gt;, &lt;i&gt;type&lt;/i&gt;) &amp;rarr; String"><Param name="value">The new text to be translated.</Param><Param name="key">The key of the Text object to update.</Param><Param name="type">Optional. Needed when the type is to be replaced.</Param></Parameters><Return type="String">The updated key.</Return></Method>
</Topics>
</Class>