<?xml version="1.0" encoding="Windows-1255" ?><Class name="WinFrame" id="core.lib:WinFrame" sort="21" urn="core.lib:WinFrame.js" toc="\"><Summary>A class that represents a floating window.</Summary><Copyright>(c) SAP AG 2003-2006. All rights reserved.</Copyright>
<Topics>
<Property name="url" access="RO" group="Window Control" sortGroup="No" type="String" scope="public" id="core.lib:WinFrame!url" sort="34" seq="0000"><Summary>Gets the window contents url.</Summary><Remarks>This the url of an external file to be displayed in a secondary browser inside the window.</Remarks></Property>
<Property name="key" default="" access="RO" also="core.lib:WinFrame!reusable" type="String" sortGroup="true" scope="public" id="core.lib:WinFrame!key" sort="34" group="Window Control" seq="0001"><Summary>Gets the window key.</Summary><Remarks>The window key is used for identifying the window. In case the window is &lt;q ref=&quot;core.lib:WinFrame!reusable&quot;&gt;reusable&lt;/q&gt;, at most one window instance
   	with the same key may exist. If the window is not reusable, then any number of windows with the same key exist.
   	If omitted, the window key will be set to the window url.</Remarks><SeeAlso>&lt;q ref=&quot;core.lib:WinFrame!reusable&quot;&gt;reusable&lt;/q&gt;</SeeAlso></Property>
<Property name="behavior" access="RO" type="String" default="amodal" sortGroup="true" scope="public" id="core.lib:WinFrame!behavior" sort="34" group="Window Control" seq="0002"><Summary>Gets the window behavioral mode.</Summary><Remarks>&lt;h2&gt;&lt;/h2&gt;
   &lt;table class=&quot;SIMPLE&quot;&gt;&lt;tr&gt;&lt;td class=&quot;H V&quot;&gt;Value &lt;/td&gt;&lt;td class=H&gt;Description &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=V&gt;&lt;code&gt;modal&lt;/code&gt; &lt;/td&gt;&lt;td&gt;modal window &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=V&gt;&lt;code&gt;amodal&lt;/code&gt; &lt;/td&gt;&lt;td&gt;amodal window &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=V&gt;&lt;code&gt;lens&lt;/code&gt; &lt;/td&gt;&lt;td&gt;lens window &lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</Remarks></Property>
<Property name="position" access="RO" type="String" default="inside" sortGroup="true" scope="public" id="core.lib:WinFrame!position" sort="34" group="Window Control" seq="0003"><Summary>Gets the window positioning mode.</Summary><Remarks>&lt;h2&gt;&lt;/h2&gt;
   &lt;table class=&quot;SIMPLE&quot;&gt;&lt;tr&gt;&lt;td class=&quot;H V&quot;&gt;Value &lt;/td&gt;&lt;td class=H&gt;Description &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=V&gt;&lt;code&gt;inside&lt;/code&gt; &lt;/td&gt;&lt;td&gt;floating, inside canvas bounds &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=V&gt;&lt;code&gt;unbound&lt;/code&gt; &lt;/td&gt;&lt;td&gt;floating, without bounds &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=V&gt;&lt;code&gt;fill&lt;/code&gt; &lt;/td&gt;&lt;td&gt;fill entire canvas &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=V&gt;&lt;code&gt;center&lt;/code&gt; &lt;/td&gt;&lt;td&gt;position on canvas center &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=V&gt;&lt;i&gt;&lt;code&gt;side&lt;/i&gt;&lt;/code&gt; &lt;/td&gt;&lt;td&gt;dock to canvas side (top, bottom, left, right) &lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</Remarks></Property>
<Property name="movable" access="RO" type="Boolean" default="true" sortGroup="true" scope="public" id="core.lib:WinFrame!movable" sort="34" group="Window Control" seq="0004"><Summary>Indicates whether the window can be moved.</Summary></Property>
<Property name="sizable" access="RO" type="Boolean" default="true" sortGroup="true" scope="public" id="core.lib:WinFrame!sizable" sort="34" group="Window Control" seq="0005"><Summary>Indicates whether the window can be resized.</Summary></Property>
<Property name="dockable" access="RO" type="Boolean" default="false" sortGroup="true" scope="public" id="core.lib:WinFrame!dockable" sort="34" group="Window Control" seq="0006"><Summary>Indicates whether the window can be docked.</Summary></Property>
<Property name="reusable" access="RO" also="core.lib:WinFrame!key" type="Boolean" default="true" sortGroup="true" scope="public" id="core.lib:WinFrame!reusable" sort="34" group="Window Control" seq="0007"><Summary>Indicates whether the window can be reused.</Summary><SeeAlso>&lt;q ref=&quot;core.lib:WinFrame!key&quot;&gt;key&lt;/q&gt;</SeeAlso></Property>
<Property name="board" access="RO" type="String" sortGroup="true" scope="public" id="core.lib:WinFrame!board" sort="34" group="Window Control" seq="0008"><Summary>Gets the window board id, if the window is a board window.</Summary></Property>
<Method name="close" sortGroup="true" scope="public" id="core.lib:WinFrame!close" sort="35" group="Window Control" seq="0009"><Summary>Closes the window.</Summary><Parameters signature="method:: &lt;i&gt;this&lt;/i&gt;.&lt;b&gt;close&lt;/b&gt;() &amp;rarr; void"></Parameters><Return></Return></Method>
<Method name="reload" sortGroup="true" scope="public" id="core.lib:WinFrame!reload" sort="35" group="Window Control" seq="0010"><Summary>Reloads the window.</Summary><Parameters signature="method:: &lt;i&gt;this&lt;/i&gt;.&lt;b&gt;reload&lt;/b&gt;() &amp;rarr; void"></Parameters><Return></Return></Method>
<Property name="x" access="RO" group="Window Positioning" sortGroup="No" type="Number" default="auto" scope="public" id="core.lib:WinFrame!x" sort="34" seq="0011"><Summary>Gets the window y position (relative to the canvas origin).</Summary></Property>
<Property name="y" access="RO" type="Number" default="auto" sortGroup="true" scope="public" id="core.lib:WinFrame!y" sort="34" group="Window Positioning" seq="0012"><Summary>Gets the window x position (relative to the canvas origin).</Summary></Property>
<Property name="w" access="RO" type="Number" default="auto" sortGroup="true" scope="public" id="core.lib:WinFrame!w" sort="34" group="Window Positioning" seq="0013"><Summary>Gets the window width.</Summary></Property>
<Property name="h" access="RO" type="Number" default="auto" sortGroup="true" scope="public" id="core.lib:WinFrame!h" sort="34" group="Window Positioning" seq="0014"><Summary>Gets the window height.</Summary></Property>
<Property name="minw" access="RO" type="Number" default="100" sortGroup="true" scope="public" id="core.lib:WinFrame!minw" sort="34" group="Window Positioning" seq="0015"><Summary>Gets the minimum window width.</Summary></Property>
<Property name="minh" access="RO" type="Number" default="50" sortGroup="true" scope="public" id="core.lib:WinFrame!minh" sort="34" group="Window Positioning" seq="0016"><Summary>Gets the minimum window height.</Summary></Property>
<Property name="maxw" access="RO" type="Number" default="9999" sortGroup="true" scope="public" id="core.lib:WinFrame!maxw" sort="34" group="Window Positioning" seq="0017"><Summary>Gets the maximum window width.</Summary></Property>
<Property name="maxh" access="RO" type="Number" default="9999" sortGroup="true" scope="public" id="core.lib:WinFrame!maxh" sort="34" group="Window Positioning" seq="0018"><Summary>Gets the maximum window height.</Summary></Property>
<Property name="margin" access="RO" type="Number" default="0" sortGroup="true" scope="public" id="core.lib:WinFrame!margin" sort="34" group="Window Positioning" seq="0019"><Summary>Gets the margin to leave around the window.</Summary></Property>
<Method name="center" sortGroup="true" scope="public" id="core.lib:WinFrame!center" sort="35" group="Window Positioning" seq="0020"><Summary>Centers the window on a given point.</Summary><Parameters signature="method:: &lt;i&gt;this&lt;/i&gt;.&lt;b&gt;center&lt;/b&gt;(&lt;i&gt;x&lt;/i&gt;, &lt;i&gt;y&lt;/i&gt;) &amp;rarr; void"><Param name="x" default="" type="0">The new window x center.</Param><Param name="y" default="" type="0">The new window y center.</Param></Parameters><Return></Return><Remarks>If the center point is omitted, the window will be centered in the middle of the canvas.</Remarks></Method>
<Method name="moveTo" sortGroup="true" scope="public" id="core.lib:WinFrame!moveTo" sort="35" group="Window Positioning" seq="0021"><Summary>Moves the window.</Summary><Parameters signature="method:: &lt;i&gt;this&lt;/i&gt;.&lt;b&gt;moveTo&lt;/b&gt;(&lt;i&gt;x&lt;/i&gt;, &lt;i&gt;y&lt;/i&gt;) &amp;rarr; void"><Param name="x" type="0">The new window x position.</Param><Param name="y" type="0">The new window y position.</Param></Parameters><Return></Return></Method>
<Method name="resizeTo" sortGroup="true" scope="public" id="core.lib:WinFrame!resizeTo" sort="35" group="Window Positioning" seq="0022"><Summary>Resizes the window.</Summary><Parameters signature="method:: &lt;i&gt;this&lt;/i&gt;.&lt;b&gt;resizeTo&lt;/b&gt;(&lt;i&gt;w&lt;/i&gt;, &lt;i&gt;h&lt;/i&gt;) &amp;rarr; void"><Param name="w" type="0">The new window width.</Param><Param name="h" type="0">The new window height.</Param></Parameters><Return></Return></Method>
<Method name="raise" sortGroup="true" scope="public" id="core.lib:WinFrame!raise" sort="35" group="Window Positioning" seq="0023"><Summary>Raises the window to the front.</Summary><Parameters signature="method:: &lt;i&gt;this&lt;/i&gt;.&lt;b&gt;raise&lt;/b&gt;() &amp;rarr; void"></Parameters><Return></Return></Method>
<Method name="maximize" sortGroup="true" scope="public" id="core.lib:WinFrame!maximize" sort="35" group="Window Positioning" seq="0024"><Summary>Maximizes the window to fill the entire canvas.</Summary><Parameters signature="method:: &lt;i&gt;this&lt;/i&gt;.&lt;b&gt;maximize&lt;/b&gt;() &amp;rarr; void"></Parameters><Return></Return></Method>
<Method name="restore" sortGroup="true" scope="public" id="core.lib:WinFrame!restore" sort="35" group="Window Positioning" seq="0025"><Summary>Restores the window to its last position.</Summary><Parameters signature="method:: &lt;i&gt;this&lt;/i&gt;.&lt;b&gt;restore&lt;/b&gt;() &amp;rarr; void"></Parameters><Return></Return></Method>
<Property name="background" access="RO" group="Window Style" sortGroup="No" type="String" default="white" scope="public" id="core.lib:WinFrame!background" sort="34" seq="0026"><Summary>Gets the window background color.</Summary><Remarks>&lt;h2&gt;&lt;/h2&gt;
   &lt;table class=&quot;SIMPLE&quot;&gt;&lt;tr&gt;&lt;td class=&quot;H V&quot;&gt;Value &lt;/td&gt;&lt;td class=H&gt;Description &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=V&gt;&lt;i&gt;&lt;code&gt;color&lt;/i&gt;&lt;/code&gt; &lt;/td&gt;&lt;td&gt;color name / rgb code &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=V&gt;&lt;code&gt;none&lt;/code&gt; &lt;/td&gt;&lt;td&gt;no color (transparent) &lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</Remarks></Property>
<Property name="border" access="RO" type="String" default="thin" sortGroup="true" scope="public" id="core.lib:WinFrame!border" sort="34" group="Window Style" seq="0027"><Summary>Gets the window border style.</Summary><Remarks>&lt;h2&gt;&lt;/h2&gt;
   &lt;table class=&quot;SIMPLE&quot;&gt;&lt;tr&gt;&lt;td class=&quot;H V&quot;&gt;Value &lt;/td&gt;&lt;td class=H&gt;Description &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=V&gt;&lt;code&gt;thick&lt;/code&gt; &lt;/td&gt;&lt;td&gt;thick frame &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=V&gt;&lt;code&gt;thin&lt;/code&gt; &lt;/td&gt;&lt;td&gt;thin frame &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=V&gt;&lt;code&gt;dash&lt;/code&gt; &lt;/td&gt;&lt;td&gt;dashed frame &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=V&gt;&lt;code&gt;double&lt;/code&gt; &lt;/td&gt;&lt;td&gt;double frame &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=V&gt;&lt;code&gt;none&lt;/code&gt; &lt;/td&gt;&lt;td&gt;no frame &lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</Remarks></Property>
<Property name="shadow" access="RO" type="String" default="none" sortGroup="true" scope="public" id="core.lib:WinFrame!shadow" sort="34" group="Window Style" seq="0028"><Summary>Gets the window shadow style.</Summary><Remarks>&lt;h2&gt;&lt;/h2&gt;
   &lt;table class=&quot;SIMPLE&quot;&gt;&lt;tr&gt;&lt;td class=&quot;H V&quot;&gt;Value &lt;/td&gt;&lt;td class=H&gt;Description &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=V&gt;&lt;code&gt;none&lt;/code&gt; &lt;/td&gt;&lt;td&gt;no shadow &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=V&gt;&lt;code&gt;drop&lt;/code&gt; &lt;/td&gt;&lt;td&gt;drop shadow &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=V&gt;&lt;code&gt;gradient&lt;/code&gt; &lt;/td&gt;&lt;td&gt;gradient shadow &lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</Remarks></Property>
<Property name="opacity" access="RO" type="Number" default="100" sortGroup="true" scope="public" id="core.lib:WinFrame!opacity" sort="34" group="Window Style" seq="0029"><Summary>Gets the window opacity, between 0 (transparent) and 100 (opaque).</Summary></Property>
<Property name="titlebar" access="RO" group="Window Titlebar" sortGroup="No" type="String" default="raised" scope="public" id="core.lib:WinFrame!titlebar" sort="34" seq="0030"><Summary>Gets the window titlebar style.</Summary><Remarks>&lt;h2&gt;&lt;/h2&gt;
   &lt;table class=&quot;SIMPLE&quot;&gt;&lt;tr&gt;&lt;td class=&quot;H V&quot;&gt;Value &lt;/td&gt;&lt;td class=H&gt;Description &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=V&gt;&lt;code&gt;raised&lt;/code&gt; &lt;/td&gt;&lt;td&gt;raised titlebar (3D) &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=V&gt;&lt;code&gt;flat&lt;/code&gt; &lt;/td&gt;&lt;td&gt;flat titlebar &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=V&gt;&lt;code&gt;thin&lt;/code&gt; &lt;/td&gt;&lt;td&gt;thin flat titlebar &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=V&gt;&lt;code&gt;text&lt;/code&gt; &lt;/td&gt;&lt;td&gt;text-only titlebar &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=V&gt;&lt;code&gt;none&lt;/code&gt; &lt;/td&gt;&lt;td&gt;no titlebar &lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</Remarks></Property>
<Property name="titleColor" access="RO" type="String" default="auto" sortGroup="true" scope="public" id="core.lib:WinFrame!titleColor" sort="34" group="Window Titlebar" seq="0031"><Summary>Gets the window titlebar color.</Summary><Remarks>&lt;h2&gt;&lt;/h2&gt;
   &lt;table class=&quot;SIMPLE&quot;&gt;&lt;tr&gt;&lt;td class=&quot;H V&quot;&gt;Value &lt;/td&gt;&lt;td class=H&gt;Description &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=V&gt;&lt;code&gt;auto&lt;/code&gt; &lt;/td&gt;&lt;td&gt;color depends on titlebar style &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=V&gt;&lt;i&gt;&lt;code&gt;color&lt;/i&gt;&lt;/code&gt; &lt;/td&gt;&lt;td&gt;explicit color name / rgb code &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=V&gt;&lt;code&gt;none&lt;/code&gt; &lt;/td&gt;&lt;td&gt;no color (transparent) &lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</Remarks></Property>
<Property name="titleText" access="RO" type="String" sortGroup="true" scope="public" id="core.lib:WinFrame!titleText" sort="34" group="Window Titlebar" seq="0032"><Summary>Gets the window title text.</Summary></Property>
<Property name="btnClose" access="RO" type="Boolean" default="true" sortGroup="true" scope="public" id="core.lib:WinFrame!btnClose" sort="34" group="Window Titlebar" seq="0033"><Summary>Indicates whether to show the Close button.</Summary></Property>
<Property name="btnLock" access="RO" type="Boolean" default="false" sortGroup="true" scope="public" id="core.lib:WinFrame!btnLock" sort="34" group="Window Titlebar" seq="0034"><Summary>Indicates whether to show the Lock/Unlock button.</Summary></Property>
<Property name="btnMax" access="RO" type="Boolean" default="false" sortGroup="true" scope="public" id="core.lib:WinFrame!btnMax" sort="34" group="Window Titlebar" seq="0035"><Summary>Indicates whether to show the Maximize/Restore button.</Summary></Property>
<Method name="setTitle" sortGroup="true" scope="public" id="core.lib:WinFrame!setTitle" sort="35" group="Window Titlebar" seq="0036"><Summary>Sets the window title.</Summary><Parameters signature="method:: &lt;i&gt;this&lt;/i&gt;.&lt;b&gt;setTitle&lt;/b&gt;(&lt;i&gt;text&lt;/i&gt;) &amp;rarr; void"><Param name="text" type="String">The title text.</Param></Parameters><Return></Return></Method>
</Topics>
</Class>