<?xml version="1.0" encoding="Windows-1255" ?><Class name="CompositeState" inherit="core.gml:State" alias="state" hierarchy="GMLDOM" also="core.gml:StateAnd core.gml:StateOR" id="core.gml:CompositeState" sort="21" urn="core.gml:elements.CompositeState.gs" toc="\Elements"><Summary>A state that can be decomposed into sub-states.</Summary><Inherit>&lt;q ref=&quot;core.gml:State&quot;&gt;State&lt;/q&gt;</Inherit><Copyright>(c) SAP AG 2003-2006. All rights reserved.</Copyright><SeeAlso>&lt;q ref=&quot;core.gml:StateAnd&quot;&gt;StateAnd&lt;/q&gt; | &lt;q ref=&quot;core.gml:StateOR&quot;&gt;StateOR&lt;/q&gt;</SeeAlso>
<Topics>
<Property name="colspan" type="Number" default="3" access="RW" sortGroup="true" scope="public" id="core.gml:CompositeState!colspan" sort="34" group="Properties" seq="0000"><Summary>Column Layout specific. Gets or sets element's colspan.</Summary></Property>
<Property name="index" type="Number" default="0" access="RW" sortGroup="true" scope="public" id="core.gml:CompositeState!index" sort="34" group="Properties" seq="0001"><Summary>Defines the index of this object in its parent object layout calculation.</Summary></Property>
<Property name="layoutReadonly" type="Boolean" default="false" access="RW" sortGroup="true" scope="public" id="core.gml:CompositeState!layoutReadonly" sort="34" group="Properties" seq="0002"><Summary>Specifies if the layout inside this object is read-only (children cannot be moved/resized).</Summary></Property>
<Property name="members" access="RO" type="Element![id]" typeRef="&lt;q ref=&quot;core.gml:Element&quot;&gt;Element&lt;/q&gt;[id]" sortGroup="true" scope="public" id="core.gml:CompositeState!members" sort="34" group="Properties" seq="0003"><Summary>Collection of all member elements contained in this state, indexed by id.</Summary></Property>
<Property name="pos" type="String" default="'0 0'" access="RW" sortGroup="true" scope="public" id="core.gml:CompositeState!pos" sort="34" group="Properties" seq="0004"><Summary>Position, in format 'X Y', of this object in its parent UI container, in parent client coordinates.</Summary></Property>
<Property name="showInLayout" access="RO" type="Boolean" default="true" sortGroup="true" scope="public" id="core.gml:CompositeState!showInLayout" sort="34" group="Properties" seq="0005"><Summary>Specifies if this object is drawn in the Layout Board. Design-time only.</Summary></Property>
<Property name="size" type="String" default="'320 240'" access="RW" sortGroup="true" scope="public" id="core.gml:CompositeState!size" sort="34" group="Properties" seq="0006"><Summary>Size, in format 'W H', of this object on the screen.</Summary></Property>
<Method name="attachElement" sortGroup="true" scope="public" id="core.gml:CompositeState!attachElement" sort="35" group="Methods" seq="0007"><Summary>Attaches an element to this state.</Summary><Parameters signature="method:: &lt;i&gt;state&lt;/i&gt;.&lt;b&gt;attachElement&lt;/b&gt;(&lt;i&gt;elem&lt;/i&gt;, &lt;i&gt;pos&lt;/i&gt;) &amp;rarr; Boolean"><Param name="elem" type="gml:Element!" typeRef="&lt;q ref=&quot;core.gml:Element&quot;&gt;Element&lt;/q&gt;">The element to attach.</Param><Param name="pos" default="" type="Point">The position of the element in the coordinates system established by the new state.</Param></Parameters><Return type="Boolean">Indicates whether the element was successfully attached.</Return></Method>
<Method name="detachElement" sortGroup="true" scope="public" id="core.gml:CompositeState!detachElement" sort="35" group="Methods" seq="0008"><Summary>Detaches an element from this state.</Summary><Parameters signature="method:: &lt;i&gt;state&lt;/i&gt;.&lt;b&gt;detachElement&lt;/b&gt;(&lt;i&gt;elem&lt;/i&gt;, &lt;i&gt;pos&lt;/i&gt;) &amp;rarr; Boolean"><Param name="elem" type="gml:Element!" typeRef="&lt;q ref=&quot;core.gml:Element&quot;&gt;Element&lt;/q&gt;">The element to detach.</Param><Param name="pos" default="" type="Point">The position of the element in the coordinates system established by the unit.</Param></Parameters><Return type="Boolean">Indicates whether the element was successfully detached.</Return></Method>
<Method name="getMembers" sortGroup="true" scope="public" id="core.gml:CompositeState!getMembers" sort="35" group="Methods" seq="0009"><Summary>Returns a container with all member elements.</Summary><Parameters signature="method:: &lt;i&gt;state&lt;/i&gt;.&lt;b&gt;getMembers&lt;/b&gt;(&lt;i&gt;deep&lt;/i&gt;, &lt;i&gt;include_links&lt;/i&gt;) &amp;rarr; &lt;q ref=&quot;core.gml:Element&quot;&gt;Element&lt;/q&gt;[id]"><Param name="deep" type="Boolean" default="false">Set this flag to true to accept all members in nested states as well.</Param><Param name="include_links" type="Boolean" default="false">Set this flag to true to accept all links that connect members of the state.
   The links themselves are not members. only set this parameter to true if &lt;code&gt;deep&lt;/code&gt; was set to true.</Param></Parameters><Return type="gml:Element[id]" typeRef="&lt;q ref=&quot;core.gml:Element&quot;&gt;Element&lt;/q&gt;[id]">The container that is filled with all the members.</Return></Method>
<Event name="canAttachElement" sortGroup="true" scope="public" id="core.gml:CompositeState!canAttachElement" sort="36" group="Events" seq="0010"><Summary>Queries whether an element can be attached to a given state.</Summary><Parameters signature="event:: &lt;b&gt;canAttachElement&lt;/b&gt; &amp;rarr; {&lt;i&gt;object&lt;/i&gt;, &lt;i&gt;state&lt;/i&gt;, &lt;i&gt;cancel&lt;/i&gt;}"><Param name="object" type="gml:Element!" typeRef="&lt;q ref=&quot;core.gml:Element&quot;&gt;Element&lt;/q&gt;">The element to be attached.</Param><Param name="state" type="gml:CompositeState!" typeRef="&lt;q ref=&quot;core.gml:CompositeState&quot;&gt;CompositeState&lt;/q&gt;">The state to attach to.</Param><Param name="cancel" type="Boolean">Set this flag to &lt;code&gt;true&lt;/code&gt; to cancel attaching the element.</Param></Parameters></Event>
<Event name="canDetachElement" sortGroup="true" scope="public" id="core.gml:CompositeState!canDetachElement" sort="36" group="Events" seq="0011"><Summary>Queries whether an element can be detached from a given state.</Summary><Parameters signature="event:: &lt;b&gt;canDetachElement&lt;/b&gt; &amp;rarr; {&lt;i&gt;object&lt;/i&gt;, &lt;i&gt;state&lt;/i&gt;, &lt;i&gt;cancel&lt;/i&gt;}"><Param name="object" type="gml:Element!" typeRef="&lt;q ref=&quot;core.gml:Element&quot;&gt;Element&lt;/q&gt;">The element to be detached.</Param><Param name="state" type="gml:CompositeState!" typeRef="&lt;q ref=&quot;core.gml:CompositeState&quot;&gt;CompositeState&lt;/q&gt;">The state to detach from.</Param><Param name="cancel" type="Boolean">Set this flag to &lt;code&gt;true&lt;/code&gt; to cancel detaching the element.</Param></Parameters></Event>
<Event name="onReattachElement" sortGroup="true" scope="public" id="core.gml:CompositeState!onReattachElement" sort="36" group="Events" seq="0012"><Summary>Notifies that an element has been attached to or detached from a state.</Summary><Parameters signature="event:: &lt;b&gt;onReattachElement&lt;/b&gt; &amp;rarr; {&lt;i&gt;object&lt;/i&gt;, &lt;i&gt;newstate&lt;/i&gt;, &lt;i&gt;oldstate&lt;/i&gt;}"><Param name="object" type="gml:Element!" typeRef="&lt;q ref=&quot;core.gml:Element&quot;&gt;Element&lt;/q&gt;">The element that was attached.</Param><Param name="newstate" type="gml:CompositeState!" typeRef="&lt;q ref=&quot;core.gml:CompositeState&quot;&gt;CompositeState&lt;/q&gt;">The state to which the element was attached, or &lt;code&gt;null&lt;/code&gt; in case the element was detached.</Param><Param name="oldstate" type="gml:CompositeState!" typeRef="&lt;q ref=&quot;core.gml:CompositeState&quot;&gt;CompositeState&lt;/q&gt;">The state to which the element was previously attached, or &lt;code&gt;null&lt;/code&gt; in case the element was previously detached.</Param></Parameters></Event>
</Topics>
</Class>