[qo-modules-dev] [56] Ext3 patch, doc updates |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qo-modules-dev Archives
]
Revision: 56
Author: mjlecomte
Date: 2008-12-10 22:32:12 +0100 (Wed, 10 Dec 2008)
Log Message:
-----------
Ext3 patch, doc updates
Modified Paths:
--------------
mickael/trunk/docs/desktop/js/index.html
mickael/trunk/docs/desktop/js/symbols/Ext.ux.ActiveAppsPanel.html
mickael/trunk/docs/desktop/js/symbols/Ext.ux.App.html
mickael/trunk/docs/desktop/js/symbols/Ext.ux.Module.html
mickael/trunk/docs/desktop/js/symbols/Ext.ux.ModuleMgr.html
mickael/trunk/docs/desktop/js/symbols/Ext.ux.TaskBar.html
mickael/trunk/docs/desktop/js/symbols/Ext.ux.button.TaskButton.html
mickael/trunk/docs/desktop/js/symbols/Ext.ux.gui.Desktop.html
mickael/trunk/docs/desktop/js/symbols/_global_.html
mickael/trunk/ext/v3.0.0-a1/build/core/EventManager-min.js
mickael/trunk/ext/v3.0.0-a1/build/widgets/Component-min.js
mickael/trunk/ext/v3.0.0-a1/build/widgets/DataView-min.js
mickael/trunk/ext/v3.0.0-a1/build/widgets/menu/ColorMenu-min.js
mickael/trunk/ext/v3.0.0-a1/ext-all-debug.js
mickael/trunk/ext/v3.0.0-a1/ext-all.js
mickael/trunk/ext/v3.0.0-a1/ext-core-debug.js
mickael/trunk/ext/v3.0.0-a1/ext-core.js
mickael/trunk/ext/v3.0.0-a1/learn/desktop/controller.js
mickael/trunk/ext/v3.0.0-a1/learn/desktop/desktop.html
mickael/trunk/ext/v3.0.0-a1/learn/desktop/js/App.js
mickael/trunk/ext/v3.0.0-a1/learn/desktop/js/view/Desktop.js
mickael/trunk/ext/v3.0.0-a1/learn/desktop/js/view/View.js
mickael/trunk/ext/v3.0.0-a1/package/button/button-debug.js
mickael/trunk/ext/v3.0.0-a1/package/menu/menus.js
mickael/trunk/ext/v3.0.0-a1/package/widget-core.js
mickael/trunk/ext/v3.0.0-a1/source/core/EventManager.js
mickael/trunk/ext/v3.0.0-a1/source/widgets/Button.js
mickael/trunk/ext/v3.0.0-a1/source/widgets/Component.js
mickael/trunk/ext/v3.0.0-a1/source/widgets/DataView.js
mickael/trunk/ext/v3.0.0-a1/source/widgets/form/BasicForm.js
mickael/trunk/ext/v3.0.0-a1/source/widgets/menu/ColorMenu.js
Added Paths:
-----------
.project
mickael/trunk/docs/desktop/js/symbols/Ext.ux.XAction.html
mickael/trunk/docs/desktop/js/symbols/Ext.ux.XActionMgr.html
mickael/trunk/ext/v3.0.0-a1/learn/desktop/js/overrides/Ext.Menu.js
Added: .project
===================================================================
--- .project (rev 0)
+++ .project 2008-12-10 21:32:12 UTC (rev 56)
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>desktop</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ </buildSpec>
+ <natures>
+ </natures>
+</projectDescription>
Modified: mickael/trunk/docs/desktop/js/index.html
===================================================================
--- mickael/trunk/docs/desktop/js/index.html 2008-12-09 04:02:36 UTC (rev 55)
+++ mickael/trunk/docs/desktop/js/index.html 2008-12-10 21:32:12 UTC (rev 56)
@@ -26,7 +26,7 @@
Ext.BLANK_IMAGE_URL = "resources/s.gif";
// tree data from Publish.js
- Docs.classData = {"id":"apidocs","text":"API Documentation","singleClickExpand":true,"iconCls":"icon-docs","children":[{"id":"launch","text":"launch","parent":"root","iconCls":"icon-cls","children":[],"href":"symbols/launch.html","leaf":true,"cls":"cls"},{"id":"pkg-Ext","text":"Ext","singleClickExpand":true,"iconCls":"icon-pkg","children":[{"id":"pkg-Ext.ux","text":"ux","singleClickExpand":true,"iconCls":"icon-pkg","children":[{"id":"Ext.ux.ActiveAppsPanel","text":"ActiveAppsPanel","parent":"Ext.ux","iconCls":"icon-cls","children":[],"href":"symbols/Ext.ux.ActiveAppsPanel.html","leaf":true,"cls":"cls"},{"id":"Ext.ux.App","text":"App","parent":"Ext.ux","iconCls":"icon-cls","children":[],"href":"symbols/Ext.ux.App.html","leaf":true,"cls":"cls"},{"id":"Ext.ux.Appbar","text":"Appbar","parent":"Ext.ux","iconCls":"icon-cls","children":[],"href":"symbols/Ext.ux.Appbar.html","leaf":true,"cls":"cls"},{"id":"Ext.ux.Module","text":"Module","parent":"Ext.ux","iconCls":"icon-cls","children":[],"href":"symbols/Ext.ux.Module.html","leaf":true,"cls":"cls"},{"id":"Ext.ux.ModuleMgr","text":"ModuleMgr","parent":"Ext.ux","iconCls":"icon-cls","children":[],"href":"symbols/Ext.ux.ModuleMgr.html","leaf":true,"cls":"cls"},{"id":"Ext.ux.RemoteLoader","text":"RemoteLoader","parent":"Ext.ux","iconCls":"icon-cls","children":[],"href":"symbols/Ext.ux.RemoteLoader.html","leaf":true,"cls":"cls"},{"id":"Ext.ux.StartMenu","text":"StartMenu","parent":"Ext.ux","iconCls":"icon-cls","children":[],"href":"symbols/Ext.ux.StartMenu.html","leaf":true,"cls":"cls"},{"id":"Ext.ux.TaskBar","text":"TaskBar","parent":"Ext.ux","iconCls":"icon-cls","children":[],"href":"symbols/Ext.ux.TaskBar.html","leaf":true,"cls":"cls"},{"id":"Ext.ux.View","text":"View","parent":"Ext.ux","iconCls":"icon-cls","children":[],"href":"symbols/Ext.ux.View.html","leaf":true,"cls":"cls"},{"id":"pkg-Ext.ux.button","text":"button","singleClickExpand":true,"iconCls":"icon-pkg","children":[{"id":"Ext.ux.button.TaskButton","text":"TaskButton","parent":"Ext.ux.button","iconCls":"icon-cls","children":[],"href":"symbols/Ext.ux.button.TaskButton.html","leaf":true,"cls":"cls"}],"cls":"package"},{"id":"pkg-Ext.ux.gui","text":"gui","singleClickExpand":true,"iconCls":"icon-pkg","children":[{"id":"Ext.ux.gui.Desktop","text":"Desktop","parent":"Ext.ux.gui","iconCls":"icon-cls","children":[],"href":"symbols/Ext.ux.gui.Desktop.html","leaf":true,"cls":"cls"}],"cls":"package"}],"cls":"package"}],"cls":"package"}]};
+ Docs.classData = {"id":"apidocs","text":"API Documentation","singleClickExpand":true,"iconCls":"icon-docs","children":[{"id":"pkg-Ext","text":"Ext","singleClickExpand":true,"iconCls":"icon-pkg","children":[{"id":"Ext.sortWindows","text":"sortWindows","parent":"Ext","iconCls":"icon-cls","children":[],"href":"symbols/Ext.sortWindows.html","leaf":true,"cls":"cls"},{"id":"pkg-Ext.form","text":"form","singleClickExpand":true,"iconCls":"icon-pkg","children":[{"id":"Ext.form.JsonErrorReader","text":"JsonErrorReader","parent":"Ext.form","iconCls":"icon-cls","children":[],"href":"symbols/Ext.form.JsonErrorReader.html","leaf":true,"cls":"cls"},{"id":"Ext.form.JsonErrorReader","text":"JsonErrorReader","parent":"Ext.form","iconCls":"icon-cls","children":[],"href":"symbols/Ext.form.JsonErrorReader.html","leaf":true,"cls":"cls"}],"cls":"package"},{"id":"pkg-Ext.ux","text":"ux","singleClickExpand":true,"iconCls":"icon-pkg","children":[{"id":"Ext.ux.ActiveAppsPanel","text":"ActiveAppsPanel","parent":"Ext.ux","iconCls":"icon-cls","children":[],"href":"symbols/Ext.ux.ActiveAppsPanel.html","leaf":true,"cls":"cls"},{"id":"Ext.ux.App","text":"App","parent":"Ext.ux","iconCls":"icon-cls","children":[],"href":"symbols/Ext.ux.App.html","leaf":true,"cls":"cls"},{"id":"Ext.ux.Appbar","text":"Appbar","parent":"Ext.ux","iconCls":"icon-cls","children":[],"href":"symbols/Ext.ux.Appbar.html","leaf":true,"cls":"cls"},{"id":"Ext.ux.Module","text":"Module","parent":"Ext.ux","iconCls":"icon-cls","children":[],"href":"symbols/Ext.ux.Module.html","leaf":true,"cls":"cls"},{"id":"Ext.ux.ModuleMgr","text":"ModuleMgr","parent":"Ext.ux","iconCls":"icon-cls","children":[],"href":"symbols/Ext.ux.ModuleMgr.html","leaf":true,"cls":"cls"},{"id":"Ext.ux.RemoteLoader","text":"RemoteLoader","parent":"Ext.ux","iconCls":"icon-cls","children":[],"href":"symbols/Ext.ux.RemoteLoader.html","leaf":true,"cls":"cls"},{"id":"Ext.ux.StartMenu","text":"StartMenu","parent":"Ext.ux","iconCls":"icon-cls","children":[],"href":"symbols/Ext.ux.StartMenu.html","leaf":true,"cls":"cls"},{"id":"Ext.ux.TaskBar","text":"TaskBar","parent":"Ext.ux","iconCls":"icon-cls","children":[],"href":"symbols/Ext.ux.TaskBar.html","leaf":true,"cls":"cls"},{"id":"Ext.ux.View","text":"View","parent":"Ext.ux","iconCls":"icon-cls","children":[],"href":"symbols/Ext.ux.View.html","leaf":true,"cls":"cls"},{"id":"Ext.ux.XAction","text":"XAction","parent":"Ext.ux","iconCls":"icon-cls","children":[],"href":"symbols/Ext.ux.XAction.html","leaf":true,"cls":"cls"},{"id":"Ext.ux.XActionMgr","text":"XActionMgr","parent":"Ext.ux","iconCls":"icon-cls","children":[],"href":"symbols/Ext.ux.XActionMgr.html","leaf":true,"cls":"cls"},{"id":"pkg-Ext.ux.button","text":"button","singleClickExpand":true,"iconCls":"icon-pkg","children":[{"id":"Ext.ux.button.TaskButton","text":"TaskButton","parent":"Ext.ux.button","iconCls":"icon-cls","children":[],"href":"symbols/Ext.ux.button.TaskButton.html","leaf":true,"cls":"cls"}],"cls":"package"},{"id":"pkg-Ext.ux.gui","text":"gui","singleClickExpand":true,"iconCls":"icon-pkg","children":[{"id":"Ext.ux.gui.Desktop","text":"Desktop","parent":"Ext.ux.gui","iconCls":"icon-cls","children":[],"href":"symbols/Ext.ux.gui.Desktop.html","leaf":true,"cls":"cls"}],"cls":"package"}],"cls":"package"}],"cls":"package"}]};
Docs.icons = {"Ext.Action":"icon-cls","Ext.Ajax":"icon-static","Ext.BoxComponent":"icon-cmp","Ext.Button":"icon-cmp","Ext.ColorPalette":"icon-cmp","Ext.Component":"icon-cls","Ext.ComponentMgr":"icon-static","Ext.CompositeElement":"icon-cls","Ext.CompositeElementLite":"icon-cls","Ext.Container":"icon-cmp","Ext.CycleButton":"icon-cmp","Ext.DataView":"icon-cmp","Ext.DatePicker":"icon-cmp","Ext.DomHelper":"icon-static","Ext.DomQuery":"icon-static","Ext.Editor":"icon-cmp","Ext.Element":"icon-cls","Ext.EventManager":"icon-static","Ext.EventObject":"icon-static","Ext.Fx":"icon-cls","Ext.KeyMap":"icon-cls","Ext.KeyNav":"icon-cls","Ext.Layer":"icon-cls","Ext.LoadMask":"icon-cls","Ext.MessageBox":"icon-static","Ext.PagingToolbar":"icon-cmp","Ext.Panel":"icon-cmp","Ext.ProgressBar":"icon-cmp","Ext.QuickTip":"icon-cmp","Ext.QuickTips":"icon-static","Ext.Resizable":"icon-cls","Ext.Shadow":"icon-cls","Ext.SplitBar":"icon-cls","Ext.SplitBar.AbsoluteLayoutAdapter":"icon-cls","Ext.SplitBar.BasicLayoutAdapter":"icon-cls","Ext.SplitButton":"icon-cmp","Ext.StoreMgr":"icon-static","Ext.TabPanel":"icon-cmp","Ext.TaskMgr":"icon-static","Ext.Template":"icon-cls","Ext.Tip":"icon-cmp","Ext.ToolTip":"icon-cmp","Ext.Toolbar":"icon-cmp","Ext.Toolbar.Button":"icon-cmp","Ext.Toolbar.Fill":"icon-cls","Ext.Toolbar.Item":"icon-cls","Ext.Toolbar.Separator":"icon-cls","Ext.Toolbar.Spacer":"icon-cls","Ext.Toolbar.SplitButton":"icon-cmp","Ext.Toolbar.TextItem":"icon-cls","Ext.Updater":"icon-cls","Ext.Updater.BasicRenderer":"icon-cls","Ext.Updater.defaults":"icon-cls","Ext.Viewport":"icon-cmp","Ext.Window":"icon-cmp","Ext.WindowGroup":"icon-cls","Ext.WindowMgr":"icon-static","Ext.XTemplate":"icon-cls","Ext.data.ArrayReader":"icon-cls","Ext.data.Connection":"icon-cls","Ext.data.DataProxy":"icon-cls","Ext.data.DataReader":"icon-cls","Ext.data.GroupingStore":"icon-cls","Ext.data.HttpProxy":"icon-cls","Ext.data.JsonReader":"icon-cls","Ext.data.JsonStore":"icon-cls","Ext.data.MemoryProxy":"icon-cls","Ext.data.Node":"icon-cls","Ext.data.Record":"icon-cls","Ext.data.ScriptTagProxy":"icon-cls","Ext.data.SimpleStore":"icon-cls","Ext.data.SortTypes":"icon-static","Ext.data.Store":"icon-cls","Ext.data.Tree":"icon-cls","Ext.data.XmlReader":"icon-cls","Ext.dd.DD":"icon-cls","Ext.dd.DDProxy":"icon-cls","Ext.dd.DDTarget":"icon-cls","Ext.dd.DragDrop":"icon-cls","Ext.dd.DragDropMgr":"icon-static","Ext.dd.DragSource":"icon-cls","Ext.dd.DragZone":"icon-cls","Ext.dd.DropTarget":"icon-cls","Ext.dd.DropZone":"icon-cls","Ext.dd.Registry":"icon-static","Ext.dd.ScrollManager":"icon-static","Ext.dd.StatusProxy":"icon-cls","Ext.form.Action":"icon-cls","Ext.form.Action.Load":"icon-cls","Ext.form.Action.Submit":"icon-cls","Ext.form.BasicForm":"icon-cls","Ext.form.Checkbox":"icon-cmp","Ext.form.ComboBox":"icon-cmp","Ext.form.DateField":"icon-cmp","Ext.form.Field":"icon-cmp","Ext.form.FieldSet":"icon-cmp","Ext.form.FormPanel":"icon-cmp","Ext.form.Hidden":"icon-cmp","Ext.form.HtmlEditor":"icon-cmp","Ext.form.NumberField":"icon-cmp","Ext.form.Radio":"icon-cmp","Ext.form.TextArea":"icon-cmp","Ext.form.TextField":"icon-cmp","Ext.form.TimeField":"icon-cmp","Ext.form.TriggerField":"icon-cmp","Ext.form.VTypes":"icon-static","Ext.grid.AbstractSelectionModel":"icon-cls","Ext.grid.CellSelectionModel":"icon-cls","Ext.grid.CheckboxSelectionModel":"icon-cls","Ext.grid.ColumnModel":"icon-cls","Ext.grid.EditorGridPanel":"icon-cmp","Ext.grid.GridPanel":"icon-cmp","Ext.grid.GridView":"icon-cls","Ext.grid.GroupingView":"icon-cls","Ext.grid.PropertyColumnModel":"icon-cls","Ext.grid.PropertyGrid":"icon-cmp","Ext.grid.PropertyRecord":"icon-cls","Ext.grid.PropertyStore":"icon-cls","Ext.grid.RowNumberer":"icon-cls","Ext.grid.RowSelectionModel":"icon-cls","Ext.layout.AbsoluteLayout":"icon-cls","Ext.layout.Accordion":"icon-cls","Ext.layout.AnchorLayout":"icon-cls","Ext.layout.BorderLayout":"icon-cls","Ext.layout.BorderLayout.Region":"icon-cls","Ext.layout.BorderLayout.SplitRegion":"icon-cls","Ext.layout.CardLayout":"icon-cls","Ext.layout.ColumnLayout":"icon-cls","Ext.layout.ContainerLayout":"icon-cls","Ext.layout.FitLayout":"icon-cls","Ext.layout.FormLayout":"icon-cls","Ext.layout.TableLayout":"icon-cls","Ext.menu.Adapter":"icon-cmp","Ext.menu.BaseItem":"icon-cmp","Ext.menu.CheckItem":"icon-cmp","Ext.menu.ColorItem":"icon-cmp","Ext.menu.ColorMenu":"icon-cls","Ext.menu.DateItem":"icon-cmp","Ext.menu.DateMenu":"icon-cls","Ext.menu.Item":"icon-cmp","Ext.menu.Menu":"icon-cls","Ext.menu.MenuMgr":"icon-static","Ext.menu.Separator":"icon-cmp","Ext.menu.TextItem":"icon-cmp","Ext.state.CookieProvider":"icon-cls","Ext.state.Manager":"icon-static","Ext.state.Provider":"icon-cls","Ext.tree.AsyncTreeNode":"icon-cls","Ext.tree.DefaultSelectionModel":"icon-cls","Ext.tree.MultiSelectionModel":"icon-cls","Ext.tree.RootTreeNodeUI":"icon-cls","Ext.tree.TreeDragZone":"icon-cls","Ext.tree.TreeDropZone":"icon-cls","Ext.tree.TreeEditor":"icon-cmp","Ext.tree.TreeFilter":"icon-cls","Ext.tree.TreeLoader":"icon-cls","Ext.tree.TreeNode":"icon-cls","Ext.tree.TreeNodeUI":"icon-cls","Ext.tree.TreePanel":"icon-cmp","Ext.tree.TreeSorter":"icon-cls","Ext.util.CSS":"icon-static","Ext.util.ClickRepeater":"icon-cls","Ext.util.DelayedTask":"icon-cls","Ext.util.Format":"icon-static","Ext.util.JSON":"icon-static","Ext.util.MixedCollection":"icon-cls","Ext.util.Observable":"icon-cls","Ext.util.TaskRunner":"icon-cls","Ext.util.TextMetrics":"icon-static","Array":"icon-cls","Date":"icon-cls","Ext":"icon-static","Function":"icon-cls","Number":"icon-cls","String":"icon-cls"};
</script>
Modified: mickael/trunk/docs/desktop/js/symbols/Ext.ux.ActiveAppsPanel.html
===================================================================
--- mickael/trunk/docs/desktop/js/symbols/Ext.ux.ActiveAppsPanel.html 2008-12-09 04:02:36 UTC (rev 55)
+++ mickael/trunk/docs/desktop/js/symbols/Ext.ux.ActiveAppsPanel.html 2008-12-10 21:32:12 UTC (rev 56)
@@ -34,8 +34,8 @@
<div class="hr"></div>
<a id="Ext.ux.ActiveAppsPanel-configs"></a>
<h2>Config Options</h2>
- <p>This class has no config options.</p>
- <table cellspacing="0" class="x-hidden">
+
+ <table cellspacing="0" class="member-table">
<tr>
<th class="sig-header" colspan="2">Config Options</th>
<th class="msource-header">Defined By</th>
@@ -45,21 +45,67 @@
Ext.ux.ActiveAppsPanel
</div>
+
+ <tr class="config-row expandable">
+ <td class="micon"><a class="exi" href="#expand"> </a></td>
+ <td class="sig">
+ <a id="Ext.ux.ActiveAppsPanel-cfg-clsActiveBtn"></a>
+ <b>clsActiveBtn</b> : String
+ <div class="mdesc">
+ <div class="short">An optional class to be applied to the taskbar button associated with this module when
+the active state of the module wi...</div>
+ <div class="long">
+
+ An optional class to be applied to the taskbar button associated with this module when
+the active state of the module window changes.
+
+ </div>
+ </div>
+ </td>
+ <td class="msource">
+ ActiveAppsPanel
+ <a class="x-hidden" ext:cls="Ext.ux.ActiveAppsPanel" ext:member="Ext.ux.ActiveAppsPanel#clsActiveBtn" href="symbols/Ext.ux.ActiveAppsPanel.html">ActiveAppsPanel</a>
+ </td>
+ </tr>
</table>
<a id="Ext.ux.ActiveAppsPanel-props"></a>
<h2>Public Properties</h2>
- <p>This class has no public properties.</p>
- <table cellspacing="0" class="x-hidden">
+
+ <table cellspacing="0" class="member-table">
<tr>
<th class="sig-header" colspan="2">Property</th>
<th class="msource-header">Defined By</th>
</tr>
+
+ <tr class="property-row expandable">
+ <td class="micon">
+ <a class="exi" href="#expand"> </a>
+ </td>
+ <td class="sig">
+ <a id="Ext.ux.ActiveAppsPanel-props-activeWindow"></a>
+ <b>activeWindow</b> : Object
+ <div class="mdesc">
+ <div class="short"></div>
+ <div class="long">
+
+
+
+ </div>
+ </div>
+ </td>
+ <td class="msource">
+ ActiveAppsPanel
+ <a class="x-hidden" ext:cls="Ext.ux.ActiveAppsPanel" ext:member="Ext.ux.ActiveAppsPanel#activeWindow" href="symbols/Ext.ux.ActiveAppsPanel.html">ActiveAppsPanel</a>
+ </td>
+ </tr>
+
+
<!-- TODO: implement this alt row. also notice non-linked "Defined by" when property is a part of this class.
<tr class="property-row alt">
<td class="micon"><a class="exi" href="#expand"> </a></td>
@@ -85,6 +131,44 @@
</tr>
+ <tr class="method-row expandable">
+ <td class="micon"><a class="exi" href="#expand"> </a></td>
+ <td class="sig">
+ <a id="Ext.ux.ActiveAppsPanel-methods-addTaskButton"></a>
+ <b>addTaskButton</b>( <code>Object m</code> ) : void
+ <div class="mdesc">
+ <div class="short">Add a button to the application bar for this module instance...</div>
+ <div class="long">
+ Add a button to the application bar for this module instance
+
+
+
+ <div class="mdetail-params">
+ <strong>Parameters:</strong>
+ <ul>
+
+ <li>
+ <code>m</code> : Object
+ <div class="sub-desc"> The module to get the task button for.</div>
+
+ </li>
+
+ </ul>
+
+ <strong>Returns:</strong>
+ <ul>
+ <li>void<div class="sub-desc"></div></li>
+ </ul>
+ </div>
+ </div>
+ </div>
+ </td>
+ <td class="msource">
+ ActiveAppsPanel
+ <a class="x-hidden" ext:cls="Ext.ux.ActiveAppsPanel" ext:member="Ext.ux.ActiveAppsPanel#addTaskButton" href="symbols/Ext.ux.ActiveAppsPanel.html">ActiveAppsPanel</a>
+ </td>
+ </tr>
+
<tr class="method-row expandable inherited">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
@@ -122,6 +206,86 @@
<a class="" ext:cls="Ext.ux.Appbar" ext:member="Ext.ux.Appbar#initButtons" href="symbols/Ext.ux.Appbar.html">Appbar</a>
</td>
</tr>
+
+ <tr class="method-row expandable">
+ <td class="micon"><a class="exi" href="#expand"> </a></td>
+ <td class="sig">
+ <a id="Ext.ux.ActiveAppsPanel-methods-markActive"></a>
+ <b>markActive</b>( <code>Object win</code> ) : void
+ <div class="mdesc">
+ <div class="short">Update the application bar button associated with this module instance
+to add the 'active-win' class....</div>
+ <div class="long">
+ Update the application bar button associated with this module instance
+to add the 'active-win' class.
+
+
+
+ <div class="mdetail-params">
+ <strong>Parameters:</strong>
+ <ul>
+
+ <li>
+ <code>win</code> : Object
+ <div class="sub-desc"> </div>
+
+ </li>
+
+ </ul>
+
+ <strong>Returns:</strong>
+ <ul>
+ <li>void<div class="sub-desc"></div></li>
+ </ul>
+ </div>
+ </div>
+ </div>
+ </td>
+ <td class="msource">
+ ActiveAppsPanel
+ <a class="x-hidden" ext:cls="Ext.ux.ActiveAppsPanel" ext:member="Ext.ux.ActiveAppsPanel#markActive" href="symbols/Ext.ux.ActiveAppsPanel.html">ActiveAppsPanel</a>
+ </td>
+ </tr>
+
+ <tr class="method-row expandable">
+ <td class="micon"><a class="exi" href="#expand"> </a></td>
+ <td class="sig">
+ <a id="Ext.ux.ActiveAppsPanel-methods-markInactive"></a>
+ <b>markInactive</b>( <code>Object win</code> ) : void
+ <div class="mdesc">
+ <div class="short">Update the application bar button associated with this module instance
+to remove the 'active-win' class....</div>
+ <div class="long">
+ Update the application bar button associated with this module instance
+to remove the 'active-win' class.
+
+
+
+ <div class="mdetail-params">
+ <strong>Parameters:</strong>
+ <ul>
+
+ <li>
+ <code>win</code> : Object
+ <div class="sub-desc"> </div>
+
+ </li>
+
+ </ul>
+
+ <strong>Returns:</strong>
+ <ul>
+ <li>void<div class="sub-desc"></div></li>
+ </ul>
+ </div>
+ </div>
+ </div>
+ </td>
+ <td class="msource">
+ ActiveAppsPanel
+ <a class="x-hidden" ext:cls="Ext.ux.ActiveAppsPanel" ext:member="Ext.ux.ActiveAppsPanel#markInactive" href="symbols/Ext.ux.ActiveAppsPanel.html">ActiveAppsPanel</a>
+ </td>
+ </tr>
</table>
Modified: mickael/trunk/docs/desktop/js/symbols/Ext.ux.App.html
===================================================================
--- mickael/trunk/docs/desktop/js/symbols/Ext.ux.App.html 2008-12-09 04:02:36 UTC (rev 55)
+++ mickael/trunk/docs/desktop/js/symbols/Ext.ux.App.html 2008-12-10 21:32:12 UTC (rev 56)
@@ -52,15 +52,68 @@
<a id="Ext.ux.App-props"></a>
<h2>Public Properties</h2>
- <p>This class has no public properties.</p>
- <table cellspacing="0" class="x-hidden">
+
+ <table cellspacing="0" class="member-table">
<tr>
<th class="sig-header" colspan="2">Property</th>
<th class="msource-header">Defined By</th>
</tr>
+
+ <tr class="property-row expandable">
+ <td class="micon">
+ <a class="exi" href="#expand"> </a>
+ </td>
+ <td class="sig">
+ <a id="Ext.ux.App-props-getPlatform"></a>
+ <b>getPlatform</b> :
+ <div class="mdesc">
+ <div class="short">Abstract method to be implemented by the instance of this app.
+This method will typically load the platform (modules, se...</div>
+ <div class="long">
+ Abstract method to be implemented by the instance of this app.
+This method will typically load the platform (modules, settings, etc.).
+The getPlatform() method shall set this.platformLoaded = true to signify
+that the system can be initialized (this is required in order to handle
+a possible race condition with Ext.isReady.
+
+
+ </div>
+ </div>
+ </td>
+ <td class="msource">
+ App
+ <a class="x-hidden" ext:cls="Ext.ux.App" ext:member="Ext.ux.App#getPlatform" href="symbols/Ext.ux.App.html">App</a>
+ </td>
+ </tr>
+
+
+ <tr class="property-row expandable">
+ <td class="micon">
+ <a class="exi" href="#expand"> </a>
+ </td>
+ <td class="sig">
+ <a id="Ext.ux.App-props-getViewConfig"></a>
+ <b>getViewConfig</b> :
+ <div class="mdesc">
+ <div class="short">Abstract method to be overridden if needed....</div>
+ <div class="long">
+ Abstract method to be overridden if needed.
+
+
+ </div>
+ </div>
+ </td>
+ <td class="msource">
+ App
+ <a class="x-hidden" ext:cls="Ext.ux.App" ext:member="Ext.ux.App#getViewConfig" href="symbols/Ext.ux.App.html">App</a>
+ </td>
+ </tr>
+
+
+
<!-- TODO: implement this alt row. also notice non-linked "Defined by" when property is a part of this class.
<tr class="property-row alt">
<td class="micon"><a class="exi" href="#expand"> </a></td>
@@ -89,12 +142,15 @@
<tr class="method-row expandable">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
- <a id="Ext.ux.App-methods-initLaunchers"></a>
- <b>initLaunchers</b>( <code>Object m</code> ) : void
+ <a id="Ext.ux.App-methods-getHandler"></a>
+ <b>getHandler</b>( <code>Object m</code> ) : void
<div class="mdesc">
- <div class="short">Initialize the module's launchers...</div>
+ <div class="short">Returns the appropriate handler for the module based on if the module has been loaded.
+If the module has not been loaded...</div>
<div class="long">
- Initialize the module's launchers
+ Returns the appropriate handler for the module based on if the module has been loaded.
+If the module has not been loaded, the handler will load the module.
+If the module has been loaded, the handler will create a new module instance.
@@ -104,7 +160,7 @@
<li>
<code>m</code> : Object
- <div class="sub-desc"> the module</div>
+ <div class="sub-desc"> The module</div>
</li>
@@ -120,13 +176,53 @@
</td>
<td class="msource">
App
- <a class="x-hidden" ext:cls="Ext.ux.App" ext:member="Ext.ux.App#initLaunchers" href="symbols/Ext.ux.App.html">App</a>
+ <a class="x-hidden" ext:cls="Ext.ux.App" ext:member="Ext.ux.App#getHandler" href="symbols/Ext.ux.App.html">App</a>
</td>
</tr>
<tr class="method-row expandable">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
+ <a id="Ext.ux.App-methods-getModule"></a>
+ <b>getModule</b>( <code>Object m</code> ) : void
+ <div class="mdesc">
+ <div class="short">Convenience method to access the ModuleMgr's Mixed Collection to get a reference to
+a module....</div>
+ <div class="long">
+ Convenience method to access the ModuleMgr's Mixed Collection to get a reference to
+a module.
+
+
+
+ <div class="mdetail-params">
+ <strong>Parameters:</strong>
+ <ul>
+
+ <li>
+ <code>m</code> : Object
+ <div class="sub-desc"> The object shall have an id property which will be used to lookup the module.</div>
+
+ </li>
+
+ </ul>
+
+ <strong>Returns:</strong>
+ <ul>
+ <li>void<div class="sub-desc"></div></li>
+ </ul>
+ </div>
+ </div>
+ </div>
+ </td>
+ <td class="msource">
+ App
+ <a class="x-hidden" ext:cls="Ext.ux.App" ext:member="Ext.ux.App#getModule" href="symbols/Ext.ux.App.html">App</a>
+ </td>
+ </tr>
+
+ <tr class="method-row expandable">
+ <td class="micon"><a class="exi" href="#expand"> </a></td>
+ <td class="sig">
<a id="Ext.ux.App-methods-onAppReady"></a>
<b>onAppReady</b>( <code>Object fn, Object scope</code> ) : void
<div class="mdesc">
@@ -171,6 +267,44 @@
<tr class="method-row expandable">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
+ <a id="Ext.ux.App-methods-onBeforeUnload"></a>
+ <b>onBeforeUnload</b>( <code>Object e</code> ) : void
+ <div class="mdesc">
+ <div class="short">Method called when the browser attempts to unload....</div>
+ <div class="long">
+ Method called when the browser attempts to unload.
+
+
+
+ <div class="mdetail-params">
+ <strong>Parameters:</strong>
+ <ul>
+
+ <li>
+ <code>e</code> : Object
+ <div class="sub-desc"> </div>
+
+ </li>
+
+ </ul>
+
+ <strong>Returns:</strong>
+ <ul>
+ <li>void<div class="sub-desc"></div></li>
+ </ul>
+ </div>
+ </div>
+ </div>
+ </td>
+ <td class="msource">
+ App
+ <a class="x-hidden" ext:cls="Ext.ux.App" ext:member="Ext.ux.App#onBeforeUnload" href="symbols/Ext.ux.App.html">App</a>
+ </td>
+ </tr>
+
+ <tr class="method-row expandable">
+ <td class="micon"><a class="exi" href="#expand"> </a></td>
+ <td class="sig">
<a id="Ext.ux.App-methods-preventBackspace"></a>
<b>preventBackspace</b>( <code></code> ) : void
<div class="mdesc">
@@ -206,9 +340,12 @@
<a id="Ext.ux.App-methods-removeAlljs"></a>
<b>removeAlljs</b>( <code></code> ) : void
<div class="mdesc">
- <div class="short">Dynamically remove external JavaScript files from appearing in the head section....</div>
+ <div class="short">Dynamically remove external JavaScript files from appearing in the head section.
+Calling this function will remove all l...</div>
<div class="long">
- Dynamically remove external JavaScript files from appearing in the head section.
+ Dynamically remove external JavaScript files from appearing in the head section.
+Calling this function will remove all linked javascript files from the head element
+of the page. This method does not remove from the browser's memory.
Modified: mickael/trunk/docs/desktop/js/symbols/Ext.ux.Module.html
===================================================================
--- mickael/trunk/docs/desktop/js/symbols/Ext.ux.Module.html 2008-12-09 04:02:36 UTC (rev 55)
+++ mickael/trunk/docs/desktop/js/symbols/Ext.ux.Module.html 2008-12-10 21:32:12 UTC (rev 56)
@@ -301,39 +301,15 @@
<a id="Ext.ux.Module-props"></a>
<h2>Public Properties</h2>
-
- <table cellspacing="0" class="member-table">
+ <p>This class has no public properties.</p>
+ <table cellspacing="0" class="x-hidden">
<tr>
<th class="sig-header" colspan="2">Property</th>
<th class="msource-header">Defined By</th>
</tr>
-
- <tr class="property-row expandable">
- <td class="micon">
- <a class="exi" href="#expand"> </a>
- </td>
- <td class="sig">
- <a id="Ext.ux.Module-props-taskButton"></a>
- <b>taskButton</b> : Object
- <div class="mdesc">
- <div class="short">The application bar task button associated with this module instance....</div>
- <div class="long">
- The application bar task button associated with this module instance.
-
-
- </div>
- </div>
- </td>
- <td class="msource">
- Module
- <a class="x-hidden" ext:cls="Ext.ux.Module" ext:member="Ext.ux.Module#taskButton" href="symbols/Ext.ux.Module.html">Module</a>
- </td>
- </tr>
-
-
<!-- TODO: implement this alt row. also notice non-linked "Defined by" when property is a part of this class.
<tr class="property-row alt">
<td class="micon"><a class="exi" href="#expand"> </a></td>
@@ -362,86 +338,6 @@
<tr class="method-row expandable">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
- <a id="Ext.ux.Module-methods-markActive"></a>
- <b>markActive</b>( <code>Object win</code> ) : void
- <div class="mdesc">
- <div class="short">Update the application bar button associated with this module instance
-to add the 'active-win' class....</div>
- <div class="long">
- Update the application bar button associated with this module instance
-to add the 'active-win' class.
-
-
-
- <div class="mdetail-params">
- <strong>Parameters:</strong>
- <ul>
-
- <li>
- <code>win</code> : Object
- <div class="sub-desc"> </div>
-
- </li>
-
- </ul>
-
- <strong>Returns:</strong>
- <ul>
- <li>void<div class="sub-desc"></div></li>
- </ul>
- </div>
- </div>
- </div>
- </td>
- <td class="msource">
- Module
- <a class="x-hidden" ext:cls="Ext.ux.Module" ext:member="Ext.ux.Module#markActive" href="symbols/Ext.ux.Module.html">Module</a>
- </td>
- </tr>
-
- <tr class="method-row expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.ux.Module-methods-markInactive"></a>
- <b>markInactive</b>( <code>Object win</code> ) : void
- <div class="mdesc">
- <div class="short">Update the application bar button associated with this module instance
-to remove the 'active-win' class....</div>
- <div class="long">
- Update the application bar button associated with this module instance
-to remove the 'active-win' class.
-
-
-
- <div class="mdetail-params">
- <strong>Parameters:</strong>
- <ul>
-
- <li>
- <code>win</code> : Object
- <div class="sub-desc"> </div>
-
- </li>
-
- </ul>
-
- <strong>Returns:</strong>
- <ul>
- <li>void<div class="sub-desc"></div></li>
- </ul>
- </div>
- </div>
- </div>
- </td>
- <td class="msource">
- Module
- <a class="x-hidden" ext:cls="Ext.ux.Module" ext:member="Ext.ux.Module#markInactive" href="symbols/Ext.ux.Module.html">Module</a>
- </td>
- </tr>
-
- <tr class="method-row expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
<a id="Ext.ux.Module-methods-minimizeWin"></a>
<b>minimizeWin</b>( <code>Object win</code> ) : void
<div class="mdesc">
Modified: mickael/trunk/docs/desktop/js/symbols/Ext.ux.ModuleMgr.html
===================================================================
--- mickael/trunk/docs/desktop/js/symbols/Ext.ux.ModuleMgr.html 2008-12-09 04:02:36 UTC (rev 55)
+++ mickael/trunk/docs/desktop/js/symbols/Ext.ux.ModuleMgr.html 2008-12-10 21:32:12 UTC (rev 56)
@@ -27,7 +27,8 @@
</table>
<div class="description">
- Mixed Collection implementation for module management.
+ <p>Provides a registry of all Modules (instances of <a href='symbols/Ext.ux.Module.html' ext:cls='Ext.ux.Module'>Ext.ux.Module</a>
+so that they can be easily accessed by moduleId or id (see <a href='#getKey' class='inner-link'>#getKey</a>.</p>
TODO: implement an onAvailable method similar to Component Manager
</div>
Modified: mickael/trunk/docs/desktop/js/symbols/Ext.ux.TaskBar.html
===================================================================
--- mickael/trunk/docs/desktop/js/symbols/Ext.ux.TaskBar.html 2008-12-09 04:02:36 UTC (rev 55)
+++ mickael/trunk/docs/desktop/js/symbols/Ext.ux.TaskBar.html 2008-12-10 21:32:12 UTC (rev 56)
@@ -113,10 +113,10 @@
<a id="Ext.ux.TaskBar-cfg-sbWidth"></a>
<b>sbWidth</b> : Integer
<div class="mdesc">
- <div class="short">button width, defaults to 93....</div>
+ <div class="short">Start Bbutton width, defaults to 93 (width later adjusted to fit the button)....</div>
<div class="long">
- button width, defaults to 93.
+ Start Bbutton width, defaults to 93 (width later adjusted to fit the button).
</div>
</div>
@@ -286,76 +286,6 @@
<tr class="method-row expandable">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
- <a id="Ext.ux.TaskBar-methods-addTaskButton"></a>
- <b>addTaskButton</b>( <code>Object cfg</code> ) : void
- <div class="mdesc">
- <div class="short">Add a button...</div>
- <div class="long">
- Add a button
-
-
-
- <div class="mdetail-params">
- <strong>Parameters:</strong>
- <ul>
-
- <li>
- <code>cfg</code> : Object
- <div class="sub-desc"> button config object</div>
-
- </li>
-
- </ul>
-
- <strong>Returns:</strong>
- <ul>
- <li>void<div class="sub-desc"></div></li>
- </ul>
- </div>
- </div>
- </div>
- </td>
- <td class="msource">
- TaskBar
- <a class="x-hidden" ext:cls="Ext.ux.TaskBar" ext:member="Ext.ux.TaskBar#addTaskButton" href="symbols/Ext.ux.TaskBar.html">TaskBar</a>
- </td>
- </tr>
-
- <tr class="method-row expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.ux.TaskBar-methods-markActive"></a>
- <b>markActive</b>( <code></code> ) : void
- <div class="mdesc">
- <div class="short">Called on activate event of **application**...</div>
- <div class="long">
- Called on activate event of **application**
-
-
-
- <div class="mdetail-params">
- <strong>Parameters:</strong>
- <ul>
-
- </ul>
-
- <strong>Returns:</strong>
- <ul>
- <li>void<div class="sub-desc"></div></li>
- </ul>
- </div>
- </div>
- </div>
- </td>
- <td class="msource">
- TaskBar
- <a class="x-hidden" ext:cls="Ext.ux.TaskBar" ext:member="Ext.ux.TaskBar#markActive" href="symbols/Ext.ux.TaskBar.html">TaskBar</a>
- </td>
- </tr>
-
- <tr class="method-row expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
<a id="Ext.ux.TaskBar-methods-onBarRender"></a>
<b>onBarRender</b>( <code></code> ) : void
<div class="mdesc">
@@ -448,82 +378,6 @@
<a class="x-hidden" ext:cls="Ext.ux.TaskBar" ext:member="Ext.ux.TaskBar#onExpand" href="symbols/Ext.ux.TaskBar.html">TaskBar</a>
</td>
</tr>
-
- <tr class="method-row expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.ux.TaskBar-methods-removeTaskButton"></a>
- <b>removeTaskButton</b>( <code>Object btn</code> ) : void
- <div class="mdesc">
- <div class="short">Calls activeAppsPanel.removeButton(btn)...</div>
- <div class="long">
- Calls activeAppsPanel.removeButton(btn)
-
-
-
- <div class="mdetail-params">
- <strong>Parameters:</strong>
- <ul>
-
- <li>
- <code>btn</code> : Object
- <div class="sub-desc"> The button to remove</div>
-
- </li>
-
- </ul>
-
- <strong>Returns:</strong>
- <ul>
- <li>void<div class="sub-desc"></div></li>
- </ul>
- </div>
- </div>
- </div>
- </td>
- <td class="msource">
- TaskBar
- <a class="x-hidden" ext:cls="Ext.ux.TaskBar" ext:member="Ext.ux.TaskBar#removeTaskButton" href="symbols/Ext.ux.TaskBar.html">TaskBar</a>
- </td>
- </tr>
-
- <tr class="method-row expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.ux.TaskBar-methods-setActiveButton"></a>
- <b>setActiveButton</b>( <code>Object btn</code> ) : void
- <div class="mdesc">
- <div class="short">Calls activeAppsPanel.setActiveButton(btn)...</div>
- <div class="long">
- Calls activeAppsPanel.setActiveButton(btn)
-
-
-
- <div class="mdetail-params">
- <strong>Parameters:</strong>
- <ul>
-
- <li>
- <code>btn</code> : Object
- <div class="sub-desc"> The button to set as active</div>
-
- </li>
-
- </ul>
-
- <strong>Returns:</strong>
- <ul>
- <li>void<div class="sub-desc"></div></li>
- </ul>
- </div>
- </div>
- </div>
- </td>
- <td class="msource">
- TaskBar
- <a class="x-hidden" ext:cls="Ext.ux.TaskBar" ext:member="Ext.ux.TaskBar#setActiveButton" href="symbols/Ext.ux.TaskBar.html">TaskBar</a>
- </td>
- </tr>
</table>
Added: mickael/trunk/docs/desktop/js/symbols/Ext.ux.XAction.html
===================================================================
--- mickael/trunk/docs/desktop/js/symbols/Ext.ux.XAction.html (rev 0)
+++ mickael/trunk/docs/desktop/js/symbols/Ext.ux.XAction.html 2008-12-10 21:32:12 UTC (rev 56)
@@ -0,0 +1,125 @@
+
+<div class="body-wrap">
+ <div class="top-tools">
+ <a class="inner-link" href="#Ext.ux.XAction-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
+ <a class="inner-link" href="#Ext.ux.XAction-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
+ <a class="inner-link" href="#Ext.ux.XAction-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
+ <a class="inner-link" href="#Ext.ux.XAction-configs"><img src="resources/s.gif" class="item-icon icon-config">Config Options</a>
+ <a class="bookmark" href="./index.html?class=Ext.ux.XAction"><img src="resources/s.gif" class="item-icon icon-fav">Direct Link</a>
+ </div>
+
+<div class="inheritance res-block"><pre class="res-block-inner">
+<img src="resources/elbow-end.gif"/><a ext:cls="Object" ext:member="" href="Object">Object</a>
+<img src="resources/elbow-end.gif"/>Ext.ux.XAction</pre>
+</div>
+
+
+
+ <h1>Class Ext.ux.XAction</h1>
+ <table cellspacing="0">
+ <tr><td class="label">Package:</td><td class="hd-info">Ext.ux</td></tr>
+ <tr><td class="label">Defined In:</td><td class="hd-info"><a href="/repo/trunk/ext/v3.0.0-a1/learn/desktop/js/XAction.js">XAction.js</a></td></tr>
+ <tr><td class="label">Class:</td><td class="hd-info">XAction</td></tr>
+ <!-- tr><td class="label">Subclasses:</td><td class="hd-info">this could be figured out</td></tr -->
+ <tr><td class="label">Extends:</td><td class="hd-info"><a ext:cls="Object" ext:member="" href="Object">Object</a> </td></tr>
+ <tr><td class="label">Version:</td><td class="hd-info"></td></tr>
+ <tr><td class="label">Author:</td><td class="hd-info"></td></tr>
+ <tr><td class="label">License:</td><td class="hd-info"></td></tr>
+ </table>
+
+ <div class="description">
+ <p>This class provides a central interface to control handlers. Handlers assigned to buttons, menus, links, etc.
+can be updated at this class so that all linkages to this handler are automatically updated.</p>
+<p>Since this class will emulate a function, it needs to behave as a function, so we will implement call and apply
+methods as per http://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Function#Methods
+Example usage:<br>
+<pre><code>
+var alert1 = function(){alert(1);};
+var alert2 = function(){alert(2);};
+
+// create XAction
+var myHandler = new Ext.ux.XAction({
+ handler: alert1,
+ itemId: 'testHandler'
+});
+
+Ext.onReady(function(){
+ // assign the XAction as a handler to some widget
+ Ext.get("elementId").on("click", myHandler);
+});
+
+// get a reference to the XAction instance through it's id
+var test = Ext.ux.XActionMgr.get('testHandler');
+
+// update the handler, so all widgets implementing this XAction automatically map to this XAction
+test.handler = alert2;
+</code></pre>
+ </div>
+
+ <div class="hr"></div>
+ <a id="Ext.ux.XAction-configs"></a>
+ <h2>Config Options</h2>
+ <p>This class has no config options.</p>
+ <table cellspacing="0" class="x-hidden">
+ <tr>
+ <th class="sig-header" colspan="2">Config Options</th>
+ <th class="msource-header">Defined By</th>
+ </tr>
+
+ <div style="display:none">
+ Ext.ux.XAction
+ </div>
+
+
+
+ </table>
+ <a id="Ext.ux.XAction-props"></a>
+
+ <h2>Public Properties</h2>
+ <p>This class has no public properties.</p>
+ <table cellspacing="0" class="x-hidden">
+ <tr>
+ <th class="sig-header" colspan="2">Property</th>
+ <th class="msource-header">Defined By</th>
+ </tr>
+
+
+
+ <!-- TODO: implement this alt row. also notice non-linked "Defined by" when property is a part of this class.
+ <tr class="property-row alt">
+ <td class="micon"><a class="exi" href="#expand"> </a></td>
+ <td class="sig">
+ <a id="Ext.Component-hidden"></a>
+ <b>hidden</b> : Boolean
+ <div class="mdesc">
+ True if this component is hidden. Read-only.
+ </div>
+ </td>
+ <td class="msource">Component</td>
+ </tr>
+ -->
+ </table>
+
+ <a id="Ext.ux.XAction-methods"></a>
+ <h2>Public Methods</h2>
+ <p>This class has no public methods</p>
+ <table cellspacing="0" class="x-hidden">
+ <tr>
+ <th class="sig-header" colspan="2">Method</th>
+ <th class="msource-header">Defined By</th>
+ </tr>
+
+
+ </table>
+
+ <a id="Ext.ux.XAction-events"></a>
+ <h2>Public Events</h2>
+ <p>This class has no events</p>
+ <table cellspacing="0" class="x-hidden">
+ <tr>
+ <th class="sig-header" colspan="2">Event</th>
+ <th class="msource-header">Defined By</th>
+ </tr>
+
+ </table>
+</div>
\ No newline at end of file
Added: mickael/trunk/docs/desktop/js/symbols/Ext.ux.XActionMgr.html
===================================================================
--- mickael/trunk/docs/desktop/js/symbols/Ext.ux.XActionMgr.html (rev 0)
+++ mickael/trunk/docs/desktop/js/symbols/Ext.ux.XActionMgr.html 2008-12-10 21:32:12 UTC (rev 56)
@@ -0,0 +1,100 @@
+
+<div class="body-wrap">
+ <div class="top-tools">
+ <a class="inner-link" href="#Ext.ux.XActionMgr-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
+ <a class="inner-link" href="#Ext.ux.XActionMgr-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
+ <a class="inner-link" href="#Ext.ux.XActionMgr-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
+ <a class="inner-link" href="#Ext.ux.XActionMgr-configs"><img src="resources/s.gif" class="item-icon icon-config">Config Options</a>
+ <a class="bookmark" href="./index.html?class=Ext.ux.XActionMgr"><img src="resources/s.gif" class="item-icon icon-fav">Direct Link</a>
+ </div>
+
+<div class="inheritance res-block"><pre class="res-block-inner">
+<img src="resources/elbow-end.gif"/>Ext.ux.XActionMgr</pre>
+</div>
+
+
+
+ <h1>Class Ext.ux.XActionMgr</h1>
+ <table cellspacing="0">
+ <tr><td class="label">Package:</td><td class="hd-info">Ext.ux</td></tr>
+ <tr><td class="label">Defined In:</td><td class="hd-info"><a href="/repo/trunk/ext/v3.0.0-a1/learn/desktop/js/XAction.js">XAction.js</a></td></tr>
+ <tr><td class="label">Class:</td><td class="hd-info">XActionMgr</td></tr>
+ <!-- tr><td class="label">Subclasses:</td><td class="hd-info">this could be figured out</td></tr -->
+ <tr><td class="label">Extends:</td><td class="hd-info"></td></tr>
+ <tr><td class="label">Version:</td><td class="hd-info"></td></tr>
+ <tr><td class="label">Author:</td><td class="hd-info"></td></tr>
+ <tr><td class="label">License:</td><td class="hd-info"></td></tr>
+ </table>
+
+ <div class="description">
+ <p>Provides a registry of all XActions (instances of <a href='symbols/Ext.ux.XAction.html' ext:cls='Ext.ux.XAction'>Ext.ux.XAction</a>
+so that they can be easily accessed by itemId (see <a href='#get' class='inner-link'>#get</a>.</p>
+ </div>
+
+ <div class="hr"></div>
+ <a id="Ext.ux.XActionMgr-configs"></a>
+ <h2>Config Options</h2>
+ <p>This class has no config options.</p>
+ <table cellspacing="0" class="x-hidden">
+ <tr>
+ <th class="sig-header" colspan="2">Config Options</th>
+ <th class="msource-header">Defined By</th>
+ </tr>
+
+ <div style="display:none">
+ Ext.ux.XActionMgr
+ </div>
+
+
+
+ </table>
+ <a id="Ext.ux.XActionMgr-props"></a>
+
+ <h2>Public Properties</h2>
+ <p>This class has no public properties.</p>
+ <table cellspacing="0" class="x-hidden">
+ <tr>
+ <th class="sig-header" colspan="2">Property</th>
+ <th class="msource-header">Defined By</th>
+ </tr>
+
+
+
+ <!-- TODO: implement this alt row. also notice non-linked "Defined by" when property is a part of this class.
+ <tr class="property-row alt">
+ <td class="micon"><a class="exi" href="#expand"> </a></td>
+ <td class="sig">
+ <a id="Ext.Component-hidden"></a>
+ <b>hidden</b> : Boolean
+ <div class="mdesc">
+ True if this component is hidden. Read-only.
+ </div>
+ </td>
+ <td class="msource">Component</td>
+ </tr>
+ -->
+ </table>
+
+ <a id="Ext.ux.XActionMgr-methods"></a>
+ <h2>Public Methods</h2>
+ <p>This class has no public methods</p>
+ <table cellspacing="0" class="x-hidden">
+ <tr>
+ <th class="sig-header" colspan="2">Method</th>
+ <th class="msource-header">Defined By</th>
+ </tr>
+
+
+ </table>
+
+ <a id="Ext.ux.XActionMgr-events"></a>
+ <h2>Public Events</h2>
+ <p>This class has no events</p>
+ <table cellspacing="0" class="x-hidden">
+ <tr>
+ <th class="sig-header" colspan="2">Event</th>
+ <th class="msource-header">Defined By</th>
+ </tr>
+
+ </table>
+</div>
\ No newline at end of file
Modified: mickael/trunk/docs/desktop/js/symbols/Ext.ux.button.TaskButton.html
===================================================================
--- mickael/trunk/docs/desktop/js/symbols/Ext.ux.button.TaskButton.html 2008-12-09 04:02:36 UTC (rev 55)
+++ mickael/trunk/docs/desktop/js/symbols/Ext.ux.button.TaskButton.html 2008-12-10 21:32:12 UTC (rev 56)
@@ -49,15 +49,175 @@
<tr class="config-row expandable">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
+ <a id="Ext.ux.button.TaskButton-cfg-clickEvent"></a>
+ <b>clickEvent</b> : String
+ <div class="mdesc">
+ <div class="short">The type of event to map to the button's event handler (defaults to 'mousedown' instead of standard 'click')...</div>
+ <div class="long">
+
+ The type of event to map to the button's event handler (defaults to 'mousedown' instead of standard 'click')
+
+ </div>
+ </div>
+ </td>
+ <td class="msource">
+ TaskButton
+ <a class="x-hidden" ext:cls="Ext.ux.button.TaskButton" ext:member="Ext.ux.button.TaskButton#clickEvent" href="symbols/Ext.ux.button.TaskButton.html">TaskButton</a>
+ </td>
+ </tr>
+
+ <tr class="config-row expandable">
+ <td class="micon"><a class="exi" href="#expand"> </a></td>
+ <td class="sig">
+ <a id="Ext.ux.button.TaskButton-cfg-ellipsis"></a>
+ <b>ellipsis</b> : Number
+ <div class="mdesc">
+ <div class="short">Ellipsis value to be used for the button title (defaults to 20)...</div>
+ <div class="long">
+
+ Ellipsis value to be used for the button title (defaults to 20)
+
+ </div>
+ </div>
+ </td>
+ <td class="msource">
+ TaskButton
+ <a class="x-hidden" ext:cls="Ext.ux.button.TaskButton" ext:member="Ext.ux.button.TaskButton#ellipsis" href="symbols/Ext.ux.button.TaskButton.html">TaskButton</a>
+ </td>
+ </tr>
+
+ <tr class="config-row expandable">
+ <td class="micon"><a class="exi" href="#expand"> </a></td>
+ <td class="sig">
+ <a id="Ext.ux.button.TaskButton-cfg-enableToggle"></a>
+ <b>enableToggle</b> : Boolean
+ <div class="mdesc">
+ <div class="short">True to enable pressed/not pressed toggling (defaults to true)...</div>
+ <div class="long">
+
+ True to enable pressed/not pressed toggling (defaults to true)
+
+ </div>
+ </div>
+ </td>
+ <td class="msource">
+ TaskButton
+ <a class="x-hidden" ext:cls="Ext.ux.button.TaskButton" ext:member="Ext.ux.button.TaskButton#enableToggle" href="symbols/Ext.ux.button.TaskButton.html">TaskButton</a>
+ </td>
+ </tr>
+
+ <tr class="config-row expandable">
+ <td class="micon"><a class="exi" href="#expand"> </a></td>
+ <td class="sig">
+ <a id="Ext.ux.button.TaskButton-cfg-iconAlign"></a>
+ <b>iconAlign</b> : String
+ <div class="mdesc">
+ <div class="short">The location for the icon (defaults to 'left')....</div>
+ <div class="long">
+
+ The location for the icon (defaults to 'left').
+
+ </div>
+ </div>
+ </td>
+ <td class="msource">
+ TaskButton
+ <a class="x-hidden" ext:cls="Ext.ux.button.TaskButton" ext:member="Ext.ux.button.TaskButton#iconAlign" href="symbols/Ext.ux.button.TaskButton.html">TaskButton</a>
+ </td>
+ </tr>
+
+ <tr class="config-row expandable">
+ <td class="micon"><a class="exi" href="#expand"> </a></td>
+ <td class="sig">
+ <a id="Ext.ux.button.TaskButton-cfg-menuAlign"></a>
+ <b>menuAlign</b> : String
+ <div class="mdesc">
+ <div class="short">The position to align the menu to (see Ext.Element#alignTo for more details, defaults to 'bl-tl')....</div>
+ <div class="long">
+
+ The position to align the menu to (see Ext.Element#alignTo for more details, defaults to 'bl-tl').
+
+ </div>
+ </div>
+ </td>
+ <td class="msource">
+ TaskButton
+ <a class="x-hidden" ext:cls="Ext.ux.button.TaskButton" ext:member="Ext.ux.button.TaskButton#menuAlign" href="symbols/Ext.ux.button.TaskButton.html">TaskButton</a>
+ </td>
+ </tr>
+
+ <tr class="config-row expandable">
+ <td class="micon"><a class="exi" href="#expand"> </a></td>
+ <td class="sig">
+ <a id="Ext.ux.button.TaskButton-cfg-minWidth"></a>
+ <b>minWidth</b> : Number
+ <div class="mdesc">
+ <div class="short">The minimum width for this button (used to give a set of buttons a common width)...</div>
+ <div class="long">
+
+ The minimum width for this button (used to give a set of buttons a common width)
+
+ </div>
+ </div>
+ </td>
+ <td class="msource">
+ TaskButton
+ <a class="x-hidden" ext:cls="Ext.ux.button.TaskButton" ext:member="Ext.ux.button.TaskButton#minWidth" href="symbols/Ext.ux.button.TaskButton.html">TaskButton</a>
+ </td>
+ </tr>
+
+ <tr class="config-row expandable">
+ <td class="micon"><a class="exi" href="#expand"> </a></td>
+ <td class="sig">
+ <a id="Ext.ux.button.TaskButton-cfg-scale"></a>
+ <b>scale</b> : String
+ <div class="mdesc">
+ <div class="short">The scale to apply to the cls (defaults to 'small') ('x-btn-SCALE' 'x-btn-icon-SCALE')....</div>
+ <div class="long">
+
+ The scale to apply to the cls (defaults to 'small') ('x-btn-SCALE' 'x-btn-icon-SCALE').
+
+ </div>
+ </div>
+ </td>
+ <td class="msource">
+ TaskButton
+ <a class="x-hidden" ext:cls="Ext.ux.button.TaskButton" ext:member="Ext.ux.button.TaskButton#scale" href="symbols/Ext.ux.button.TaskButton.html">TaskButton</a>
+ </td>
+ </tr>
+
+ <tr class="config-row expandable">
+ <td class="micon"><a class="exi" href="#expand"> </a></td>
+ <td class="sig">
+ <a id="Ext.ux.button.TaskButton-cfg-toggleGroup"></a>
+ <b>toggleGroup</b> : String
+ <div class="mdesc">
+ <div class="short">The group this toggle button is a member of (only 1 per group can be pressed)...</div>
+ <div class="long">
+
+ The group this toggle button is a member of (only 1 per group can be pressed)
+
+ </div>
+ </div>
+ </td>
+ <td class="msource">
+ TaskButton
+ <a class="x-hidden" ext:cls="Ext.ux.button.TaskButton" ext:member="Ext.ux.button.TaskButton#toggleGroup" href="symbols/Ext.ux.button.TaskButton.html">TaskButton</a>
+ </td>
+ </tr>
+
+ <tr class="config-row expandable">
+ <td class="micon"><a class="exi" href="#expand"> </a></td>
+ <td class="sig">
<a id="Ext.ux.button.TaskButton-cfg-tooltipTpl"></a>
<b>tooltipTpl</b> : String
<div class="mdesc">
<div class="short">Default tooltip template for displaying tooltips when hovering over task buttons.
-Defaults to:...</div>
+Defaults to '{title:ellipsis(20)} ({no...</div>
<div class="long">
Default tooltip template for displaying tooltips when hovering over task buttons.
-Defaults to:
+Defaults to '<h3>{title:ellipsis(20)} ({no})</h3><span class="{cls}">{description:trim}</span></div>'.
</div>
</div>
@@ -67,6 +227,26 @@
<a class="x-hidden" ext:cls="Ext.ux.button.TaskButton" ext:member="Ext.ux.button.TaskButton#tooltipTpl" href="symbols/Ext.ux.button.TaskButton.html">TaskButton</a>
</td>
</tr>
+
+ <tr class="config-row expandable">
+ <td class="micon"><a class="exi" href="#expand"> </a></td>
+ <td class="sig">
+ <a id="Ext.ux.button.TaskButton-cfg-width"></a>
+ <b>width</b> : Number
+ <div class="mdesc">
+ <div class="short">initial width for the button title (defaults to 168)...</div>
+ <div class="long">
+
+ initial width for the button title (defaults to 168)
+
+ </div>
+ </div>
+ </td>
+ <td class="msource">
+ TaskButton
+ <a class="x-hidden" ext:cls="Ext.ux.button.TaskButton" ext:member="Ext.ux.button.TaskButton#width" href="symbols/Ext.ux.button.TaskButton.html">TaskButton</a>
+ </td>
+ </tr>
</table>
Modified: mickael/trunk/docs/desktop/js/symbols/Ext.ux.gui.Desktop.html
===================================================================
--- mickael/trunk/docs/desktop/js/symbols/Ext.ux.gui.Desktop.html 2008-12-09 04:02:36 UTC (rev 55)
+++ mickael/trunk/docs/desktop/js/symbols/Ext.ux.gui.Desktop.html 2008-12-10 21:32:12 UTC (rev 56)
@@ -105,30 +105,6 @@
<a class="exi" href="#expand"> </a>
</td>
<td class="sig">
- <a id="Ext.ux.gui.Desktop-props-activeWindow"></a>
- <b>activeWindow</b> : Object
- <div class="mdesc">
- <div class="short"></div>
- <div class="long">
-
-
-
- </div>
- </div>
- </td>
- <td class="msource">
- Desktop
- <a class="x-hidden" ext:cls="Ext.ux.gui.Desktop" ext:member="Ext.ux.gui.Desktop#activeWindow" href="symbols/Ext.ux.gui.Desktop.html">Desktop</a>
- </td>
- </tr>
-
-
-
- <tr class="property-row expandable">
- <td class="micon">
- <a class="exi" href="#expand"> </a>
- </td>
- <td class="sig">
<a id="Ext.ux.gui.Desktop-props-desktopBody"></a>
<b>desktopBody</b> : Object
<div class="mdesc">
Modified: mickael/trunk/docs/desktop/js/symbols/_global_.html
===================================================================
--- mickael/trunk/docs/desktop/js/symbols/_global_.html 2008-12-09 04:02:36 UTC (rev 55)
+++ mickael/trunk/docs/desktop/js/symbols/_global_.html 2008-12-10 21:32:12 UTC (rev 56)
@@ -88,7 +88,57 @@
</tr>
+
+ <tr class="property-row expandable">
+ <td class="micon">
+ <a class="exi" href="#expand"> </a>
+ </td>
+ <td class="sig">
+ <a id="_global_-props-root"></a>
+ <b>root</b> :
+ <div class="mdesc">
+ <div class="short">/...</div>
+ <div class="long">
+ /
+
+
+ </div>
+ </div>
+ </td>
+ <td class="msource">
+ _global_
+ <a class="x-hidden" ext:cls="_global_" ext:member="_global_#root" href="symbols/_global_.html">_global_</a>
+ </td>
+ </tr>
+
+
+ <tr class="property-row expandable">
+ <td class="micon">
+ <a class="exi" href="#expand"> </a>
+ </td>
+ <td class="sig">
+ <a id="_global_-props-this.jsonData"></a>
+ <b>this.jsonData</b> : Object
+ <div class="mdesc">
+ <div class="short">After any data loads, the raw JSON data is available for further custom processing. If no data is
+loaded or there is a ...</div>
+ <div class="long">
+ After any data loads, the raw JSON data is available for further custom processing. If no data is
+loaded or there is a load exception this property will be undefined.
+
+
+ </div>
+ </div>
+ </td>
+ <td class="msource">
+ _global_
+ <a class="x-hidden" ext:cls="_global_" ext:member="_global_#this.jsonData" href="symbols/_global_.html">_global_</a>
+ </td>
+ </tr>
+
+
+
<!-- TODO: implement this alt row. also notice non-linked "Defined by" when property is a part of this class.
<tr class="property-row alt">
<td class="micon"><a class="exi" href="#expand"> </a></td>
Modified: mickael/trunk/ext/v3.0.0-a1/build/core/EventManager-min.js
===================================================================
--- mickael/trunk/ext/v3.0.0-a1/build/core/EventManager-min.js 2008-12-09 04:02:36 UTC (rev 55)
+++ mickael/trunk/ext/v3.0.0-a1/build/core/EventManager-min.js 2008-12-10 21:32:12 UTC (rev 56)
@@ -54,4 +54,4 @@
E.stopPropagation(this.browserEvent);}},getCharCode:function(){return this.charCode||this.keyCode;},getKey:function(){var k=this.keyCode||this.charCode;return Ext.isSafari?(safariKeys[k]||k):k;},getPageX:function(){return this.xy[0];},getPageY:function(){return this.xy[1];},getTime:function(){if(this.browserEvent){return E.getTime(this.browserEvent);}
return null;},getXY:function(){return this.xy;},getTarget:function(selector,maxDepth,returnEl){return selector?Ext.fly(this.target).findParent(selector,maxDepth,returnEl):(returnEl?Ext.get(this.target):this.target);},getRelatedTarget:function(){if(this.browserEvent){return E.getRelatedTarget(this.browserEvent);}
return null;},getWheelDelta:function(){var e=this.browserEvent;var delta=0;if(e.wheelDelta){delta=e.wheelDelta/120;}else if(e.detail){delta=-e.detail/3;}
-return delta;},hasModifier:function(){return((this.ctrlKey||this.altKey)||this.shiftKey)?true:false;},within:function(el,related){var t=this[related?"getRelatedTarget":"getTarget"]();return t&&((allowEl?(t===Ext.getDom(el)):false)||Ext.fly(el).contains(t));},getPoint:function(){return new Ext.lib.Point(this.xy[0],this.xy[1]);}};return new Ext.EventObjectImpl();}();
\ No newline at end of file
+return delta;},hasModifier:function(){return((this.ctrlKey||this.altKey)||this.shiftKey)?true:false;},within:function(el,related,allowEl){var t=this[related?"getRelatedTarget":"getTarget"]();return t&&Ext.fly(el).contains(t);},getPoint:function(){return new Ext.lib.Point(this.xy[0],this.xy[1]);}};return new Ext.EventObjectImpl();}();
\ No newline at end of file
Modified: mickael/trunk/ext/v3.0.0-a1/build/widgets/Component-min.js
===================================================================
--- mickael/trunk/ext/v3.0.0-a1/build/widgets/Component-min.js 2008-12-09 04:02:36 UTC (rev 55)
+++ mickael/trunk/ext/v3.0.0-a1/build/widgets/Component-min.js 2008-12-10 21:32:12 UTC (rev 56)
@@ -19,6 +19,7 @@
this.onRender(this.container,position||null);if(this.autoShow){this.el.removeClass(['x-hidden','x-hide-'+this.hideMode]);}
if(this.cls){this.el.addClass(this.cls);delete this.cls;}
if(this.style){this.el.applyStyles(this.style);delete this.style;}
+if(this.overCls){this.el.addClassOnOver(this.overCls);}
this.fireEvent("render",this);this.afterRender(this.container);if(this.hidden){this.hide();}
if(this.disabled){this.disable();}
if(this.stateful!==false){this.initStateEvents();}
@@ -27,8 +28,7 @@
i++;}
t[levels[--i]]=this;}},initState:function(config){if(Ext.state.Manager){var id=this.getStateId();if(id){var state=Ext.state.Manager.get(id);if(state){if(this.fireEvent('beforestaterestore',this,state)!==false){this.applyState(state);this.fireEvent('staterestore',this,state);}}}}},getStateId:function(){return this.stateId||((this.id.indexOf('ext-comp-')==0||this.id.indexOf('ext-gen')==0)?null:this.id);},initStateEvents:function(){if(this.stateEvents){for(var i=0,e;e=this.stateEvents[i];i++){this.on(e,this.saveState,this,{delay:100});}}},applyState:function(state,config){if(state){Ext.apply(this,state);}},getState:function(){return null;},saveState:function(){if(Ext.state.Manager){var id=this.getStateId();if(id){var state=this.getState();if(this.fireEvent('beforestatesave',this,state)!==false){Ext.state.Manager.set(id,state);this.fireEvent('statesave',this,state);}}}},applyToMarkup:function(el){this.allowDomMove=false;this.el=Ext.get(el);this.render(this.el.dom.parentNode);},addClass:function(cls){if(this.el){this.el.addClass(cls);}else{this.cls=this.cls?this.cls+' '+cls:cls;}},removeClass:function(cls){if(this.el){this.el.removeClass(cls);}else if(this.cls){this.cls=this.cls.split(' ').remove(cls).join(' ');}},onRender:function(ct,position){if(this.autoEl){if(typeof this.autoEl=='string'){this.el=document.createElement(this.autoEl);}else{var div=document.createElement('div');Ext.DomHelper.overwrite(div,this.autoEl);this.el=div.firstChild;}
if(!this.el.id){this.el.id=this.getId();}}
-if(this.el){this.el=Ext.get(this.el);if(this.allowDomMove!==false){ct.dom.insertBefore(this.el.dom,position);}
-if(this.overCls){this.el.addClassOnOver(this.overCls);}}},getAutoCreate:function(){var cfg=typeof this.autoCreate=="object"?this.autoCreate:Ext.apply({},this.defaultAutoCreate);if(this.id&&!cfg.id){cfg.id=this.id;}
+if(this.el){this.el=Ext.get(this.el);if(this.allowDomMove!==false){ct.dom.insertBefore(this.el.dom,position);}}},getAutoCreate:function(){var cfg=typeof this.autoCreate=="object"?this.autoCreate:Ext.apply({},this.defaultAutoCreate);if(this.id&&!cfg.id){cfg.id=this.id;}
return cfg;},afterRender:Ext.emptyFn,destroy:function(){if(this.fireEvent("beforedestroy",this)!==false){this.beforeDestroy();if(this.rendered){this.el.removeAllListeners();this.el.remove();if(this.actionMode=="container"||this.removeMode=="container"){this.container.remove();}}
this.onDestroy();Ext.ComponentMgr.unregister(this);this.fireEvent("destroy",this);this.purgeListeners();}},beforeDestroy:Ext.emptyFn,onDestroy:Ext.emptyFn,getEl:function(){return this.el;},getId:function(){return this.id||(this.id="ext-comp-"+(++Ext.Component.AUTO_ID));},getItemId:function(){return this.itemId||this.getId();},focus:function(selectText,delay){if(delay){this.focus.defer(typeof delay=='number'?delay:10,this,[selectText,false]);return;}
if(this.rendered){this.el.focus();if(selectText===true){this.el.dom.select();}}
Modified: mickael/trunk/ext/v3.0.0-a1/build/widgets/DataView-min.js
===================================================================
--- mickael/trunk/ext/v3.0.0-a1/build/widgets/DataView-min.js 2008-12-09 04:02:36 UTC (rev 55)
+++ mickael/trunk/ext/v3.0.0-a1/build/widgets/DataView-min.js 2008-12-10 21:32:12 UTC (rev 56)
@@ -18,7 +18,7 @@
var nodes=this.bufferRender(records,index),n,a=this.all.elements;if(index<this.all.getCount()){n=this.all.item(index).insertSibling(nodes,'before',true);a.splice.apply(a,[index,0].concat(nodes));}else{n=this.all.last().insertSibling(nodes,'after',true);a.push.apply(a,nodes);}
this.updateIndexes(index);},onRemove:function(ds,record,index){this.deselect(index);this.all.removeElement(index,true);this.updateIndexes(index);},refreshNode:function(index){this.onUpdate(this.store,this.store.getAt(index));},updateIndexes:function(startIndex,endIndex){var ns=this.all.elements;startIndex=startIndex||0;endIndex=endIndex||((endIndex===0)?0:(ns.length-1));for(var i=startIndex;i<=endIndex;i++){ns[i].viewIndex=i;}},setStore:function(store,initial){if(!initial&&this.store){this.store.un("beforeload",this.onBeforeLoad,this);this.store.un("datachanged",this.refresh,this);this.store.un("add",this.onAdd,this);this.store.un("remove",this.onRemove,this);this.store.un("update",this.onUpdate,this);this.store.un("clear",this.refresh,this);}
if(store){store=Ext.StoreMgr.lookup(store);store.on("beforeload",this.onBeforeLoad,this);store.on("datachanged",this.refresh,this);store.on("add",this.onAdd,this);store.on("remove",this.onRemove,this);store.on("update",this.onUpdate,this);store.on("clear",this.refresh,this);}
-this.store=store;if(store){this.refresh();}},findItemFromChild:function(node){return Ext.fly(node).findParent(this.itemSelector,this.getTemplateTarget());},onClick:function(e){var item=e.getTarget(this.itemSelector,this.getTemplateTarget());if(item){var index=this.indexOf(item);if(this.onItemClick(item,index,e)!==false){this.fireEvent("click",this,index,item,e);}}else{if(this.fireEvent("containerclick",this,e)!==false){this.onContainerClick(e);}}},onContainerClick:function(e){this.clearSelections();},onContextMenu:function(e){var item=e.getTarget(this.itemSelector,this.getTemplateTarget());if(item){this.fireEvent("contextmenu",this,this.indexOf(item),item,e);}},onDblClick:function(e){var item=e.getTarget(this.itemSelector,this.getTemplateTarget());if(item){this.fireEvent("dblclick",this,this.indexOf(item),item,e);}},onMouseOver:function(e){var item=e.getTarget(this.itemSelector,this.getTemplateTarget());if(item&&item!==this.lastItem){this.lastItem=item;Ext.fly(item).addClass(this.overClass);this.fireEvent("mouseenter",this,this.indexOf(item),item,e);}},onMouseOut:function(e){if(this.lastItem){if(!e.within(this.lastItem,true,true)){Ext.fly(this.lastItem).removeClass(this.overClass);this.fireEvent("mouseleave",this,this.indexOf(this.lastItem),this.lastItem,e);delete this.lastItem;}}},onItemClick:function(item,index,e){if(this.fireEvent("beforeclick",this,index,item,e)===false){return false;}
+this.store=store;if(store){this.refresh();}},findItemFromChild:function(node){return Ext.fly(node).findParent(this.itemSelector,this.getTemplateTarget());},onClick:function(e){var item=e.getTarget(this.itemSelector,this.getTemplateTarget());if(item){var index=this.indexOf(item);if(this.onItemClick(item,index,e)!==false){this.fireEvent("click",this,index,item,e);}}else{if(this.fireEvent("containerclick",this,e)!==false){this.onContainerClick(e);}}},onContainerClick:function(e){this.clearSelections();},onContextMenu:function(e){var item=e.getTarget(this.itemSelector,this.getTemplateTarget());if(item){this.fireEvent("contextmenu",this,this.indexOf(item),item,e);}},onDblClick:function(e){var item=e.getTarget(this.itemSelector,this.getTemplateTarget());if(item){this.fireEvent("dblclick",this,this.indexOf(item),item,e);}},onMouseOver:function(e){var item=e.getTarget(this.itemSelector,this.getTemplateTarget());if(item&&item!==this.lastItem){this.lastItem=item;Ext.fly(item).addClass(this.overClass);this.fireEvent("mouseenter",this,this.indexOf(item),item,e);}},onMouseOut:function(e){if(this.lastItem){if(!e.within(this.lastItem,true)){Ext.fly(this.lastItem).removeClass(this.overClass);this.fireEvent("mouseleave",this,this.indexOf(this.lastItem),this.lastItem,e);delete this.lastItem;}}},onItemClick:function(item,index,e){if(this.fireEvent("beforeclick",this,index,item,e)===false){return false;}
if(this.multiSelect){this.doMultiSelection(item,index,e);e.preventDefault();}else if(this.singleSelect){this.doSingleSelection(item,index,e);e.preventDefault();}
return true;},doSingleSelection:function(item,index,e){if(e.ctrlKey&&this.isSelected(index)){this.deselect(index);}else{this.select(index,false);}},doMultiSelection:function(item,index,e){if(e.shiftKey&&this.last!==false){var last=this.last;this.selectRange(last,index,e.ctrlKey);this.last=last;}else{if((e.ctrlKey||this.simpleSelect)&&this.isSelected(index)){this.deselect(index);}else{this.select(index,e.ctrlKey||e.shiftKey||this.simpleSelect);}}},getSelectionCount:function(){return this.selected.getCount()},getSelectedNodes:function(){return this.selected.elements;},getSelectedIndexes:function(){var indexes=[],s=this.selected.elements;for(var i=0,len=s.length;i<len;i++){indexes.push(s[i].viewIndex);}
return indexes;},getSelectedRecords:function(){var r=[],s=this.selected.elements;for(var i=0,len=s.length;i<len;i++){r[r.length]=this.store.getAt(s[i].viewIndex);}
Modified: mickael/trunk/ext/v3.0.0-a1/build/widgets/menu/ColorMenu-min.js
===================================================================
--- mickael/trunk/ext/v3.0.0-a1/build/widgets/menu/ColorMenu-min.js 2008-12-09 04:02:36 UTC (rev 55)
+++ mickael/trunk/ext/v3.0.0-a1/build/widgets/menu/ColorMenu-min.js 2008-12-10 21:32:12 UTC (rev 56)
@@ -7,4 +7,4 @@
*/
-Ext.menu.ColorMenu=function(config){Ext.menu.ColorMenu.superclass.constructor.call(this,config);this.plain=true;var ci=new Ext.menu.ColorItem(config);this.add(ci);this.palette=ci.palette;this.relayEvents(ci,["select"]);};Ext.extend(Ext.menu.ColorMenu,Ext.menu.Menu);
\ No newline at end of file
+Ext.menu.ColorMenu=function(config){Ext.menu.ColorMenu.superclass.constructor.call(this,config);this.plain=true;var ci=new Ext.menu.ColorItem(config);this.add(ci);this.palette=ci.palette;this.relayEvents(ci,["select"]);};Ext.extend(Ext.menu.ColorMenu,Ext.menu.Menu,{beforeDestroy:function(){this.palette.destroy();}});
\ No newline at end of file
Modified: mickael/trunk/ext/v3.0.0-a1/ext-all-debug.js
===================================================================
--- mickael/trunk/ext/v3.0.0-a1/ext-all-debug.js 2008-12-09 04:02:36 UTC (rev 55)
+++ mickael/trunk/ext/v3.0.0-a1/ext-all-debug.js 2008-12-10 21:32:12 UTC (rev 56)
@@ -2314,7 +2314,7 @@
},
- within : function(el, related){
+ within : function(el, related, allowEl){
var t = this[related ? "getRelatedTarget" : "getTarget"]();
return t && Ext.fly(el).contains(t);
},
@@ -13576,6 +13576,9 @@
this.el.applyStyles(this.style);
delete this.style;
}
+ if(this.overCls){
+ this.el.addClassOnOver(this.overCls);
+ }
this.fireEvent("render", this);
this.afterRender(this.container);
if(this.hidden){
@@ -13710,9 +13713,6 @@
if(this.allowDomMove !== false){
ct.dom.insertBefore(this.el.dom, position);
}
- if(this.overCls) {
- this.el.addClassOnOver(this.overCls);
- }
}
},
@@ -19651,7 +19651,7 @@
// private
onMouseOut : function(e){
if(this.lastItem){
- if(!e.within(this.lastItem, true, true)){
+ if(!e.within(this.lastItem, true)){
Ext.fly(this.lastItem).removeClass(this.overClass);
this.fireEvent("mouseleave", this, this.indexOf(this.lastItem), this.lastItem, e);
delete this.lastItem;
@@ -21627,11 +21627,18 @@
tooltipType : 'qtip',
+
buttonSelector : "button:first-child",
+
scale: 'small',
+
+
iconAlign : 'left',
+
+
arrowAlign : 'right',
+
@@ -28390,7 +28397,12 @@
this.relayEvents(ci, ["select"]);
};
-Ext.extend(Ext.menu.ColorMenu, Ext.menu.Menu);
+Ext.extend(Ext.menu.ColorMenu, Ext.menu.Menu, {
+ //private
+ beforeDestroy: function(){
+ this.palette.destroy();
+ }
+});
Ext.form.Field = Ext.extend(Ext.BoxComponent, {
Modified: mickael/trunk/ext/v3.0.0-a1/ext-all.js
===================================================================
--- mickael/trunk/ext/v3.0.0-a1/ext-all.js 2008-12-09 04:02:36 UTC (rev 55)
+++ mickael/trunk/ext/v3.0.0-a1/ext-all.js 2008-12-10 21:32:12 UTC (rev 56)
@@ -206,7 +206,7 @@
E.stopPropagation(this.browserEvent);}},getCharCode:function(){return this.charCode||this.keyCode;},getKey:function(){var k=this.keyCode||this.charCode;return Ext.isSafari?(safariKeys[k]||k):k;},getPageX:function(){return this.xy[0];},getPageY:function(){return this.xy[1];},getTime:function(){if(this.browserEvent){return E.getTime(this.browserEvent);}
return null;},getXY:function(){return this.xy;},getTarget:function(selector,maxDepth,returnEl){return selector?Ext.fly(this.target).findParent(selector,maxDepth,returnEl):(returnEl?Ext.get(this.target):this.target);},getRelatedTarget:function(){if(this.browserEvent){return E.getRelatedTarget(this.browserEvent);}
return null;},getWheelDelta:function(){var e=this.browserEvent;var delta=0;if(e.wheelDelta){delta=e.wheelDelta/120;}else if(e.detail){delta=-e.detail/3;}
-return delta;},hasModifier:function(){return((this.ctrlKey||this.altKey)||this.shiftKey)?true:false;},within:function(el,related){var t=this[related?"getRelatedTarget":"getTarget"]();return t&&Ext.fly(el).contains(t);},getPoint:function(){return new Ext.lib.Point(this.xy[0],this.xy[1]);}};return new Ext.EventObjectImpl();}();
+return delta;},hasModifier:function(){return((this.ctrlKey||this.altKey)||this.shiftKey)?true:false;},within:function(el,related,allowEl){var t=this[related?"getRelatedTarget":"getTarget"]();return t&&Ext.fly(el).contains(t);},getPoint:function(){return new Ext.lib.Point(this.xy[0],this.xy[1]);}};return new Ext.EventObjectImpl();}();
(function(){var D=Ext.lib.Dom;var E=Ext.lib.Event;var A=Ext.lib.Anim;var propCache={};var camelRe=/(-[a-z])/gi;var camelFn=function(m,a){return a.charAt(1).toUpperCase();};var view=document.defaultView;Ext.Element=function(element,forceNew){var dom=typeof element=="string"?document.getElementById(element):element;if(!dom){return null;}
var id=dom.id;if(forceNew!==true&&id&&Ext.Element.cache[id]){return Ext.Element.cache[id];}
@@ -977,6 +977,7 @@
this.onRender(this.container,position||null);if(this.autoShow){this.el.removeClass(['x-hidden','x-hide-'+this.hideMode]);}
if(this.cls){this.el.addClass(this.cls);delete this.cls;}
if(this.style){this.el.applyStyles(this.style);delete this.style;}
+if(this.overCls){this.el.addClassOnOver(this.overCls);}
this.fireEvent("render",this);this.afterRender(this.container);if(this.hidden){this.hide();}
if(this.disabled){this.disable();}
if(this.stateful!==false){this.initStateEvents();}
@@ -985,8 +986,7 @@
i++;}
t[levels[--i]]=this;}},initState:function(config){if(Ext.state.Manager){var id=this.getStateId();if(id){var state=Ext.state.Manager.get(id);if(state){if(this.fireEvent('beforestaterestore',this,state)!==false){this.applyState(state);this.fireEvent('staterestore',this,state);}}}}},getStateId:function(){return this.stateId||((this.id.indexOf('ext-comp-')==0||this.id.indexOf('ext-gen')==0)?null:this.id);},initStateEvents:function(){if(this.stateEvents){for(var i=0,e;e=this.stateEvents[i];i++){this.on(e,this.saveState,this,{delay:100});}}},applyState:function(state,config){if(state){Ext.apply(this,state);}},getState:function(){return null;},saveState:function(){if(Ext.state.Manager){var id=this.getStateId();if(id){var state=this.getState();if(this.fireEvent('beforestatesave',this,state)!==false){Ext.state.Manager.set(id,state);this.fireEvent('statesave',this,state);}}}},applyToMarkup:function(el){this.allowDomMove=false;this.el=Ext.get(el);this.render(this.el.dom.parentNode);},addClass:function(cls){if(this.el){this.el.addClass(cls);}else{this.cls=this.cls?this.cls+' '+cls:cls;}},removeClass:function(cls){if(this.el){this.el.removeClass(cls);}else if(this.cls){this.cls=this.cls.split(' ').remove(cls).join(' ');}},onRender:function(ct,position){if(this.autoEl){if(typeof this.autoEl=='string'){this.el=document.createElement(this.autoEl);}else{var div=document.createElement('div');Ext.DomHelper.overwrite(div,this.autoEl);this.el=div.firstChild;}
if(!this.el.id){this.el.id=this.getId();}}
-if(this.el){this.el=Ext.get(this.el);if(this.allowDomMove!==false){ct.dom.insertBefore(this.el.dom,position);}
-if(this.overCls){this.el.addClassOnOver(this.overCls);}}},getAutoCreate:function(){var cfg=typeof this.autoCreate=="object"?this.autoCreate:Ext.apply({},this.defaultAutoCreate);if(this.id&&!cfg.id){cfg.id=this.id;}
+if(this.el){this.el=Ext.get(this.el);if(this.allowDomMove!==false){ct.dom.insertBefore(this.el.dom,position);}}},getAutoCreate:function(){var cfg=typeof this.autoCreate=="object"?this.autoCreate:Ext.apply({},this.defaultAutoCreate);if(this.id&&!cfg.id){cfg.id=this.id;}
return cfg;},afterRender:Ext.emptyFn,destroy:function(){if(this.fireEvent("beforedestroy",this)!==false){this.beforeDestroy();if(this.rendered){this.el.removeAllListeners();this.el.remove();if(this.actionMode=="container"||this.removeMode=="container"){this.container.remove();}}
this.onDestroy();Ext.ComponentMgr.unregister(this);this.fireEvent("destroy",this);this.purgeListeners();}},beforeDestroy:Ext.emptyFn,onDestroy:Ext.emptyFn,getEl:function(){return this.el;},getId:function(){return this.id||(this.id="ext-comp-"+(++Ext.Component.AUTO_ID));},getItemId:function(){return this.itemId||this.getId();},focus:function(selectText,delay){if(delay){this.focus.defer(typeof delay=='number'?delay:10,this,[selectText,false]);return;}
if(this.rendered){this.el.focus();if(selectText===true){this.el.dom.select();}}
@@ -1393,7 +1393,7 @@
var nodes=this.bufferRender(records,index),n,a=this.all.elements;if(index<this.all.getCount()){n=this.all.item(index).insertSibling(nodes,'before',true);a.splice.apply(a,[index,0].concat(nodes));}else{n=this.all.last().insertSibling(nodes,'after',true);a.push.apply(a,nodes);}
this.updateIndexes(index);},onRemove:function(ds,record,index){this.deselect(index);this.all.removeElement(index,true);this.updateIndexes(index);},refreshNode:function(index){this.onUpdate(this.store,this.store.getAt(index));},updateIndexes:function(startIndex,endIndex){var ns=this.all.elements;startIndex=startIndex||0;endIndex=endIndex||((endIndex===0)?0:(ns.length-1));for(var i=startIndex;i<=endIndex;i++){ns[i].viewIndex=i;}},setStore:function(store,initial){if(!initial&&this.store){this.store.un("beforeload",this.onBeforeLoad,this);this.store.un("datachanged",this.refresh,this);this.store.un("add",this.onAdd,this);this.store.un("remove",this.onRemove,this);this.store.un("update",this.onUpdate,this);this.store.un("clear",this.refresh,this);}
if(store){store=Ext.StoreMgr.lookup(store);store.on("beforeload",this.onBeforeLoad,this);store.on("datachanged",this.refresh,this);store.on("add",this.onAdd,this);store.on("remove",this.onRemove,this);store.on("update",this.onUpdate,this);store.on("clear",this.refresh,this);}
-this.store=store;if(store){this.refresh();}},findItemFromChild:function(node){return Ext.fly(node).findParent(this.itemSelector,this.getTemplateTarget());},onClick:function(e){var item=e.getTarget(this.itemSelector,this.getTemplateTarget());if(item){var index=this.indexOf(item);if(this.onItemClick(item,index,e)!==false){this.fireEvent("click",this,index,item,e);}}else{if(this.fireEvent("containerclick",this,e)!==false){this.onContainerClick(e);}}},onContainerClick:function(e){this.clearSelections();},onContextMenu:function(e){var item=e.getTarget(this.itemSelector,this.getTemplateTarget());if(item){this.fireEvent("contextmenu",this,this.indexOf(item),item,e);}},onDblClick:function(e){var item=e.getTarget(this.itemSelector,this.getTemplateTarget());if(item){this.fireEvent("dblclick",this,this.indexOf(item),item,e);}},onMouseOver:function(e){var item=e.getTarget(this.itemSelector,this.getTemplateTarget());if(item&&item!==this.lastItem){this.lastItem=item;Ext.fly(item).addClass(this.overClass);this.fireEvent("mouseenter",this,this.indexOf(item),item,e);}},onMouseOut:function(e){if(this.lastItem){if(!e.within(this.lastItem,true,true)){Ext.fly(this.lastItem).removeClass(this.overClass);this.fireEvent("mouseleave",this,this.indexOf(this.lastItem),this.lastItem,e);delete this.lastItem;}}},onItemClick:function(item,index,e){if(this.fireEvent("beforeclick",this,index,item,e)===false){return false;}
+this.store=store;if(store){this.refresh();}},findItemFromChild:function(node){return Ext.fly(node).findParent(this.itemSelector,this.getTemplateTarget());},onClick:function(e){var item=e.getTarget(this.itemSelector,this.getTemplateTarget());if(item){var index=this.indexOf(item);if(this.onItemClick(item,index,e)!==false){this.fireEvent("click",this,index,item,e);}}else{if(this.fireEvent("containerclick",this,e)!==false){this.onContainerClick(e);}}},onContainerClick:function(e){this.clearSelections();},onContextMenu:function(e){var item=e.getTarget(this.itemSelector,this.getTemplateTarget());if(item){this.fireEvent("contextmenu",this,this.indexOf(item),item,e);}},onDblClick:function(e){var item=e.getTarget(this.itemSelector,this.getTemplateTarget());if(item){this.fireEvent("dblclick",this,this.indexOf(item),item,e);}},onMouseOver:function(e){var item=e.getTarget(this.itemSelector,this.getTemplateTarget());if(item&&item!==this.lastItem){this.lastItem=item;Ext.fly(item).addClass(this.overClass);this.fireEvent("mouseenter",this,this.indexOf(item),item,e);}},onMouseOut:function(e){if(this.lastItem){if(!e.within(this.lastItem,true)){Ext.fly(this.lastItem).removeClass(this.overClass);this.fireEvent("mouseleave",this,this.indexOf(this.lastItem),this.lastItem,e);delete this.lastItem;}}},onItemClick:function(item,index,e){if(this.fireEvent("beforeclick",this,index,item,e)===false){return false;}
if(this.multiSelect){this.doMultiSelection(item,index,e);e.preventDefault();}else if(this.singleSelect){this.doSingleSelection(item,index,e);e.preventDefault();}
return true;},doSingleSelection:function(item,index,e){if(e.ctrlKey&&this.isSelected(index)){this.deselect(index);}else{this.select(index,false);}},doMultiSelection:function(item,index,e){if(e.shiftKey&&this.last!==false){var last=this.last;this.selectRange(last,index,e.ctrlKey);this.last=last;}else{if((e.ctrlKey||this.simpleSelect)&&this.isSelected(index)){this.deselect(index);}else{this.select(index,e.ctrlKey||e.shiftKey||this.simpleSelect);}}},getSelectionCount:function(){return this.selected.getCount()},getSelectedNodes:function(){return this.selected.elements;},getSelectedIndexes:function(){var indexes=[],s=this.selected.elements;for(var i=0,len=s.length;i<len;i++){indexes.push(s[i].viewIndex);}
return indexes;},getSelectedRecords:function(){var r=[],s=this.selected.elements;for(var i=0,len=s.length;i<len;i++){r[r.length]=this.store.getAt(s[i].viewIndex);}
@@ -1932,7 +1932,7 @@
Ext.menu.DateMenu=function(config){Ext.menu.DateMenu.superclass.constructor.call(this,config);this.plain=true;var di=new Ext.menu.DateItem(config);this.add(di);this.picker=di.picker;this.relayEvents(di,["select"]);this.on('beforeshow',function(){if(this.picker){this.picker.hideMonthPicker(true);}},this);};Ext.extend(Ext.menu.DateMenu,Ext.menu.Menu,{cls:'x-date-menu',beforeDestroy:function(){this.picker.destroy();}});
-Ext.menu.ColorMenu=function(config){Ext.menu.ColorMenu.superclass.constructor.call(this,config);this.plain=true;var ci=new Ext.menu.ColorItem(config);this.add(ci);this.palette=ci.palette;this.relayEvents(ci,["select"]);};Ext.extend(Ext.menu.ColorMenu,Ext.menu.Menu);
+Ext.menu.ColorMenu=function(config){Ext.menu.ColorMenu.superclass.constructor.call(this,config);this.plain=true;var ci=new Ext.menu.ColorItem(config);this.add(ci);this.palette=ci.palette;this.relayEvents(ci,["select"]);};Ext.extend(Ext.menu.ColorMenu,Ext.menu.Menu,{beforeDestroy:function(){this.palette.destroy();}});
Ext.form.Field=Ext.extend(Ext.BoxComponent,{invalidClass:"x-form-invalid",invalidText:"The value in this field is invalid",focusClass:"x-form-focus",validationEvent:"keyup",validateOnBlur:true,validationDelay:250,defaultAutoCreate:{tag:"input",type:"text",size:"20",autocomplete:"off"},fieldClass:"x-form-field",msgTarget:'qtip',msgFx:'normal',readOnly:false,disabled:false,isFormField:true,hasFocus:false,initComponent:function(){Ext.form.Field.superclass.initComponent.call(this);this.addEvents('focus','blur','specialkey','change','invalid','valid');},getName:function(){return this.rendered&&this.el.dom.name?this.el.dom.name:(this.hiddenName||'');},onRender:function(ct,position){Ext.form.Field.superclass.onRender.call(this,ct,position);if(!this.el){var cfg=this.getAutoCreate();if(!cfg.name){cfg.name=this.name||this.id;}
if(this.inputType){cfg.type=this.inputType;}
Modified: mickael/trunk/ext/v3.0.0-a1/ext-core-debug.js
===================================================================
--- mickael/trunk/ext/v3.0.0-a1/ext-core-debug.js 2008-12-09 04:02:36 UTC (rev 55)
+++ mickael/trunk/ext/v3.0.0-a1/ext-core-debug.js 2008-12-10 21:32:12 UTC (rev 56)
@@ -2314,7 +2314,7 @@
},
- within : function(el, related){
+ within : function(el, related, allowEl){
var t = this[related ? "getRelatedTarget" : "getTarget"]();
return t && Ext.fly(el).contains(t);
},
Modified: mickael/trunk/ext/v3.0.0-a1/ext-core.js
===================================================================
--- mickael/trunk/ext/v3.0.0-a1/ext-core.js 2008-12-09 04:02:36 UTC (rev 55)
+++ mickael/trunk/ext/v3.0.0-a1/ext-core.js 2008-12-10 21:32:12 UTC (rev 56)
@@ -206,7 +206,7 @@
E.stopPropagation(this.browserEvent);}},getCharCode:function(){return this.charCode||this.keyCode;},getKey:function(){var k=this.keyCode||this.charCode;return Ext.isSafari?(safariKeys[k]||k):k;},getPageX:function(){return this.xy[0];},getPageY:function(){return this.xy[1];},getTime:function(){if(this.browserEvent){return E.getTime(this.browserEvent);}
return null;},getXY:function(){return this.xy;},getTarget:function(selector,maxDepth,returnEl){return selector?Ext.fly(this.target).findParent(selector,maxDepth,returnEl):(returnEl?Ext.get(this.target):this.target);},getRelatedTarget:function(){if(this.browserEvent){return E.getRelatedTarget(this.browserEvent);}
return null;},getWheelDelta:function(){var e=this.browserEvent;var delta=0;if(e.wheelDelta){delta=e.wheelDelta/120;}else if(e.detail){delta=-e.detail/3;}
-return delta;},hasModifier:function(){return((this.ctrlKey||this.altKey)||this.shiftKey)?true:false;},within:function(el,related){var t=this[related?"getRelatedTarget":"getTarget"]();return t&&Ext.fly(el).contains(t);},getPoint:function(){return new Ext.lib.Point(this.xy[0],this.xy[1]);}};return new Ext.EventObjectImpl();}();
+return delta;},hasModifier:function(){return((this.ctrlKey||this.altKey)||this.shiftKey)?true:false;},within:function(el,related,allowEl){var t=this[related?"getRelatedTarget":"getTarget"]();return t&&Ext.fly(el).contains(t);},getPoint:function(){return new Ext.lib.Point(this.xy[0],this.xy[1]);}};return new Ext.EventObjectImpl();}();
(function(){var D=Ext.lib.Dom;var E=Ext.lib.Event;var A=Ext.lib.Anim;var propCache={};var camelRe=/(-[a-z])/gi;var camelFn=function(m,a){return a.charAt(1).toUpperCase();};var view=document.defaultView;Ext.Element=function(element,forceNew){var dom=typeof element=="string"?document.getElementById(element):element;if(!dom){return null;}
var id=dom.id;if(forceNew!==true&&id&&Ext.Element.cache[id]){return Ext.Element.cache[id];}
Modified: mickael/trunk/ext/v3.0.0-a1/learn/desktop/controller.js
===================================================================
--- mickael/trunk/ext/v3.0.0-a1/learn/desktop/controller.js 2008-12-09 04:02:36 UTC (rev 55)
+++ mickael/trunk/ext/v3.0.0-a1/learn/desktop/controller.js 2008-12-10 21:32:12 UTC (rev 56)
@@ -78,7 +78,6 @@
// TODO: refactor to use events so can more easily
// do things like notification messages, etc.
this.platformLoaded = o.success;
-
if (true !== o.success) {
//Ext.Msg.alert('Load failure.');
} else {
Modified: mickael/trunk/ext/v3.0.0-a1/learn/desktop/desktop.html
===================================================================
--- mickael/trunk/ext/v3.0.0-a1/learn/desktop/desktop.html 2008-12-09 04:02:36 UTC (rev 55)
+++ mickael/trunk/ext/v3.0.0-a1/learn/desktop/desktop.html 2008-12-10 21:32:12 UTC (rev 56)
@@ -13,16 +13,17 @@
<!-- LIBS -->
<script type="text/javascript" src="../../adapter/ext/ext-base.js"></script>
<!--
- <script type="text/javascript" src="../../ext-all.js"></script>
-
-->
+ <script type="text/javascript" src="../../ext-all-debug.js"></script>
+<!--
<script type="text/javascript" src="../../ext-all-detail.js"></script>
-<!--
-->
+
<!-- OVERRIDES --> <!-- Destroy context menus -->
<script type="text/javascript" src="js/overrides/override.js"></script>
<script type="text/javascript" src="js/overrides/Ext.Button.js"></script>
+ <script type="text/javascript" src="js/overrides/Ext.Menu.js"></script>
<!-- APPLICATION --> <!-- These must be loaded immediately (logic to get modules, etc.) -->
<script type="text/javascript" src="js/Module.js"></script>
Modified: mickael/trunk/ext/v3.0.0-a1/learn/desktop/js/App.js
===================================================================
--- mickael/trunk/ext/v3.0.0-a1/learn/desktop/js/App.js 2008-12-09 04:02:36 UTC (rev 55)
+++ mickael/trunk/ext/v3.0.0-a1/learn/desktop/js/App.js 2008-12-10 21:32:12 UTC (rev 56)
@@ -300,17 +300,15 @@
/* @private */
initPlatform: function () {
-
if (!Ext.isReady) {
return;
}
// Modules array
this.initModules();
-
+
// generalized view class
this.initView();
-
this.init();
Ext.EventManager.on(window, 'beforeunload', this.onBeforeUnload, this);
@@ -322,6 +320,7 @@
initView: function () {
this.viewConfig = this.viewConfig || this.getViewConfig();
+
Ext.applyIf(this.viewConfig, {
app: this,
//if logoutConfig not specified by viewConfig set by server then
Added: mickael/trunk/ext/v3.0.0-a1/learn/desktop/js/overrides/Ext.Menu.js
===================================================================
--- mickael/trunk/ext/v3.0.0-a1/learn/desktop/js/overrides/Ext.Menu.js (rev 0)
+++ mickael/trunk/ext/v3.0.0-a1/learn/desktop/js/overrides/Ext.Menu.js 2008-12-10 21:32:12 UTC (rev 56)
@@ -0,0 +1,29 @@
+/**
+ * Ext Menus Override
+ *
+ * @class Ext.menu.Menu
+ *
+ * ensure that sub menus for menus are destroyed
+ */
+Ext.override(Ext.menu.Menu, {
+
+ /**
+ * Removes an {@link Ext.menu.Item} from the menu and destroys the object
+ * @param {Ext.menu.Item} item The menu item to remove
+ */
+/*
+ remove : function(item){
+ this.items.remove(item);
+ item.destroy();
+ },
+*/
+
+ remove: Ext.menu.Menu.prototype.remove.createSequence(function(item){
+ if(item.menu){
+ Ext.destroy(item.menu);
+ }
+ if(item.cmenu){
+ Ext.destroy(item.cmenu);
+ }
+ })
+});
\ No newline at end of file
Modified: mickael/trunk/ext/v3.0.0-a1/learn/desktop/js/view/Desktop.js
===================================================================
--- mickael/trunk/ext/v3.0.0-a1/learn/desktop/js/view/Desktop.js 2008-12-09 04:02:36 UTC (rev 55)
+++ mickael/trunk/ext/v3.0.0-a1/learn/desktop/js/view/Desktop.js 2008-12-10 21:32:12 UTC (rev 56)
@@ -26,7 +26,6 @@
* @property
*/
this.windows = new Ext.WindowGroup();
-
/**
* Component representing the desktop body.
* @type Object
@@ -40,7 +39,9 @@
//is being applied to the parent div. They should go to the same
//div so there isn't two active images. The other wallpaper
//is set in View.js/setWallpaper().
- bodyStyle: "background-image:url(wallpapers/eos.jpg) !important",
+// bodyStyle: "background-image:url(wallpapers/eos.jpg) !important",
+//TODO: IE doesn't accept the line above (fatal error) and doesn't recognize the line below
+ bodyStyle: "background-image:url(wallpapers/eos.jpg)",
autoEl: {}
});
@@ -62,7 +63,7 @@
// Set any styles if defined (background color, wallpaper, fontcolor, etc.)
// initStyles() uses desktop elements so they must be rendered already
//TODO ENABLE THIS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-// afterRender: this.initStyles,
+ afterRender: this.initStyles,
scope: this
},
view: this
@@ -79,7 +80,7 @@
},
items: [this.desktopBody, this.taskbar]
});
-
+
Ext.ux.gui.Desktop.superclass.initComponent.call(this);
},
Modified: mickael/trunk/ext/v3.0.0-a1/learn/desktop/js/view/View.js
===================================================================
--- mickael/trunk/ext/v3.0.0-a1/learn/desktop/js/view/View.js 2008-12-09 04:02:36 UTC (rev 55)
+++ mickael/trunk/ext/v3.0.0-a1/learn/desktop/js/view/View.js 2008-12-10 21:32:12 UTC (rev 56)
@@ -37,7 +37,6 @@
/* @private */
initComponent : function () {
Ext.ux.View.superclass.initComponent.apply(this, arguments);
-
this.on({
beforechange: this.onBeforeChange,
afterchange: this.onAfterChange,
Modified: mickael/trunk/ext/v3.0.0-a1/package/button/button-debug.js
===================================================================
--- mickael/trunk/ext/v3.0.0-a1/package/button/button-debug.js 2008-12-09 04:02:36 UTC (rev 55)
+++ mickael/trunk/ext/v3.0.0-a1/package/button/button-debug.js 2008-12-10 21:32:12 UTC (rev 56)
@@ -44,11 +44,18 @@
tooltipType : 'qtip',
+
buttonSelector : "button:first-child",
+
scale: 'small',
+
+
iconAlign : 'left',
+
+
arrowAlign : 'right',
+
Modified: mickael/trunk/ext/v3.0.0-a1/package/menu/menus.js
===================================================================
--- mickael/trunk/ext/v3.0.0-a1/package/menu/menus.js 2008-12-09 04:02:36 UTC (rev 55)
+++ mickael/trunk/ext/v3.0.0-a1/package/menu/menus.js 2008-12-10 21:32:12 UTC (rev 56)
@@ -82,4 +82,4 @@
Ext.menu.DateMenu=function(config){Ext.menu.DateMenu.superclass.constructor.call(this,config);this.plain=true;var di=new Ext.menu.DateItem(config);this.add(di);this.picker=di.picker;this.relayEvents(di,["select"]);this.on('beforeshow',function(){if(this.picker){this.picker.hideMonthPicker(true);}},this);};Ext.extend(Ext.menu.DateMenu,Ext.menu.Menu,{cls:'x-date-menu',beforeDestroy:function(){this.picker.destroy();}});
-Ext.menu.ColorMenu=function(config){Ext.menu.ColorMenu.superclass.constructor.call(this,config);this.plain=true;var ci=new Ext.menu.ColorItem(config);this.add(ci);this.palette=ci.palette;this.relayEvents(ci,["select"]);};Ext.extend(Ext.menu.ColorMenu,Ext.menu.Menu);
+Ext.menu.ColorMenu=function(config){Ext.menu.ColorMenu.superclass.constructor.call(this,config);this.plain=true;var ci=new Ext.menu.ColorItem(config);this.add(ci);this.palette=ci.palette;this.relayEvents(ci,["select"]);};Ext.extend(Ext.menu.ColorMenu,Ext.menu.Menu,{beforeDestroy:function(){this.palette.destroy();}});
Modified: mickael/trunk/ext/v3.0.0-a1/package/widget-core.js
===================================================================
--- mickael/trunk/ext/v3.0.0-a1/package/widget-core.js 2008-12-09 04:02:36 UTC (rev 55)
+++ mickael/trunk/ext/v3.0.0-a1/package/widget-core.js 2008-12-10 21:32:12 UTC (rev 56)
@@ -21,6 +21,7 @@
this.onRender(this.container,position||null);if(this.autoShow){this.el.removeClass(['x-hidden','x-hide-'+this.hideMode]);}
if(this.cls){this.el.addClass(this.cls);delete this.cls;}
if(this.style){this.el.applyStyles(this.style);delete this.style;}
+if(this.overCls){this.el.addClassOnOver(this.overCls);}
this.fireEvent("render",this);this.afterRender(this.container);if(this.hidden){this.hide();}
if(this.disabled){this.disable();}
if(this.stateful!==false){this.initStateEvents();}
@@ -29,8 +30,7 @@
i++;}
t[levels[--i]]=this;}},initState:function(config){if(Ext.state.Manager){var id=this.getStateId();if(id){var state=Ext.state.Manager.get(id);if(state){if(this.fireEvent('beforestaterestore',this,state)!==false){this.applyState(state);this.fireEvent('staterestore',this,state);}}}}},getStateId:function(){return this.stateId||((this.id.indexOf('ext-comp-')==0||this.id.indexOf('ext-gen')==0)?null:this.id);},initStateEvents:function(){if(this.stateEvents){for(var i=0,e;e=this.stateEvents[i];i++){this.on(e,this.saveState,this,{delay:100});}}},applyState:function(state,config){if(state){Ext.apply(this,state);}},getState:function(){return null;},saveState:function(){if(Ext.state.Manager){var id=this.getStateId();if(id){var state=this.getState();if(this.fireEvent('beforestatesave',this,state)!==false){Ext.state.Manager.set(id,state);this.fireEvent('statesave',this,state);}}}},applyToMarkup:function(el){this.allowDomMove=false;this.el=Ext.get(el);this.render(this.el.dom.parentNode);},addClass:function(cls){if(this.el){this.el.addClass(cls);}else{this.cls=this.cls?this.cls+' '+cls:cls;}},removeClass:function(cls){if(this.el){this.el.removeClass(cls);}else if(this.cls){this.cls=this.cls.split(' ').remove(cls).join(' ');}},onRender:function(ct,position){if(this.autoEl){if(typeof this.autoEl=='string'){this.el=document.createElement(this.autoEl);}else{var div=document.createElement('div');Ext.DomHelper.overwrite(div,this.autoEl);this.el=div.firstChild;}
if(!this.el.id){this.el.id=this.getId();}}
-if(this.el){this.el=Ext.get(this.el);if(this.allowDomMove!==false){ct.dom.insertBefore(this.el.dom,position);}
-if(this.overCls){this.el.addClassOnOver(this.overCls);}}},getAutoCreate:function(){var cfg=typeof this.autoCreate=="object"?this.autoCreate:Ext.apply({},this.defaultAutoCreate);if(this.id&&!cfg.id){cfg.id=this.id;}
+if(this.el){this.el=Ext.get(this.el);if(this.allowDomMove!==false){ct.dom.insertBefore(this.el.dom,position);}}},getAutoCreate:function(){var cfg=typeof this.autoCreate=="object"?this.autoCreate:Ext.apply({},this.defaultAutoCreate);if(this.id&&!cfg.id){cfg.id=this.id;}
return cfg;},afterRender:Ext.emptyFn,destroy:function(){if(this.fireEvent("beforedestroy",this)!==false){this.beforeDestroy();if(this.rendered){this.el.removeAllListeners();this.el.remove();if(this.actionMode=="container"||this.removeMode=="container"){this.container.remove();}}
this.onDestroy();Ext.ComponentMgr.unregister(this);this.fireEvent("destroy",this);this.purgeListeners();}},beforeDestroy:Ext.emptyFn,onDestroy:Ext.emptyFn,getEl:function(){return this.el;},getId:function(){return this.id||(this.id="ext-comp-"+(++Ext.Component.AUTO_ID));},getItemId:function(){return this.itemId||this.getId();},focus:function(selectText,delay){if(delay){this.focus.defer(typeof delay=='number'?delay:10,this,[selectText,false]);return;}
if(this.rendered){this.el.focus();if(selectText===true){this.el.dom.select();}}
Modified: mickael/trunk/ext/v3.0.0-a1/source/core/EventManager.js
===================================================================
--- mickael/trunk/ext/v3.0.0-a1/source/core/EventManager.js 2008-12-09 04:02:36 UTC (rev 55)
+++ mickael/trunk/ext/v3.0.0-a1/source/core/EventManager.js 2008-12-10 21:32:12 UTC (rev 56)
@@ -912,7 +912,7 @@
},
/**
- * Returns true if the target of this event is a child of el. Unless the allowEl parameter is set, it will return false if if the target is el.
+ * Returns true if the target of this event is a child of el. If the target is el, it returns false.
* Example usage:<pre><code>
// Handle click on any child of an element
Ext.getBody().on('click', function(e){
@@ -930,12 +930,11 @@
</code></pre>
* @param {Mixed} el The id, DOM element or Ext.Element to check
* @param {Boolean} related (optional) true to test if the related target is within el instead of the target
- * @param {Boolean} allowEl {optional} true to also check if the passed element is the target or related target
* @return {Boolean}
*/
- within : function(el, related){
+ within : function(el, related, allowEl){
var t = this[related ? "getRelatedTarget" : "getTarget"]();
- return t && ((allowEl ? (t === Ext.getDom(el)) : false) || Ext.fly(el).contains(t));
+ return t && Ext.fly(el).contains(t);
},
getPoint : function(){
Modified: mickael/trunk/ext/v3.0.0-a1/source/widgets/Button.js
===================================================================
--- mickael/trunk/ext/v3.0.0-a1/source/widgets/Button.js 2008-12-09 04:02:36 UTC (rev 55)
+++ mickael/trunk/ext/v3.0.0-a1/source/widgets/Button.js 2008-12-10 21:32:12 UTC (rev 56)
@@ -113,11 +113,53 @@
*/
tooltipType : 'qtip',
+ /**
+ * @cfg {String} buttonSelector
+ * <p>(Optional) A {@link Ext.DomQuery DomQuery} selector which is used to extract the active, clickable element from the
+ * DOM structure created.</p>
+ * <p>When a custom {@link #template} is used, you must ensure that this selector results in the selection of
+ * a focussable element.</p>
+ * <p>Defaults to <b><tt>"button:first-child"</tt></b>.</p>
+ */
buttonSelector : "button:first-child",
+ /**
+ * @cfg {String} scale
+ * <p>(Optional) The size of the Button. Three values are allowed:</p>
+ * <ul class="mdetail-params">
+ * <li>"small"<div class="sub-desc">Results in the button element being 16px high.</div></li>
+ * <li>"medium"<div class="sub-desc">Results in the button element being 24px high.</div></li>
+ * <li>"large"<div class="sub-desc">Results in the button element being 32px high.</div></li>
+ * </ul>
+ * <p>Defaults to <b><tt>"small"</tt></b>.</p>
+ */
scale: 'small',
+
+ /**
+ * @cfg {String} iconAlign
+ * <p>(Optional) The side of the Button box to render the icon. Four values are allowed:</p>
+ * <ul class="mdetail-params">
+ * <li>"top"<div class="sub-desc"></div></li>
+ * <li>"right"<div class="sub-desc"></div></li>
+ * <li>"bottom"<div class="sub-desc"></div></li>
+ * <li>"left"<div class="sub-desc"></div></li>
+ * </ul>
+ * <p>Defaults to <b><tt>"left"</tt></b>.</p>
+ */
iconAlign : 'left',
+
+ /**
+ * @cfg {String} arrowAlign
+ * <p>(Optional) The side of the Button box to render the arrow if the button has an associated {@link #menu}.
+ * Two values are allowed:</p>
+ * <ul class="mdetail-params">
+ * <li>"right"<div class="sub-desc"></div></li>
+ * <li>"bottom"<div class="sub-desc"></div></li>
+ * </ul>
+ * <p>Defaults to <b><tt>"right"</tt></b>.</p>
+ */
arrowAlign : 'right',
+
/**
* @cfg {Ext.Template} template (Optional)
* An {@link Ext.Template} with which to create the Button's main element. This Template must
Modified: mickael/trunk/ext/v3.0.0-a1/source/widgets/Component.js
===================================================================
--- mickael/trunk/ext/v3.0.0-a1/source/widgets/Component.js 2008-12-09 04:02:36 UTC (rev 55)
+++ mickael/trunk/ext/v3.0.0-a1/source/widgets/Component.js 2008-12-10 21:32:12 UTC (rev 56)
@@ -485,8 +485,12 @@
autoShow : false,
/**
* @cfg {String} hideMode
- * How this component should be hidden. Supported values are "visibility" (css visibility), "offsets" (negative
- * offset position) and "display" (css display) - defaults to "display".
+ * <p>How this component should be hidden. Supported values are "visibility" (css visibility), "offsets" (negative
+ * offset position) and "display" (css display) - defaults to "display".</p>
+ * <p>For Containers which may be hidden and shown as part of a {@link Ext.layout.CardLayout card layout} Container such as a
+ * {@link Ext.TabPanel TabPanel}, it is recommended that hideMode is configured as "offsets". This ensures
+ * that hidden Components still have height and width so that layout managers can perform measurements when
+ * calculating layouts.</p>
*/
hideMode: 'display',
/**
@@ -633,6 +637,9 @@
this.el.applyStyles(this.style);
delete this.style;
}
+ if(this.overCls){
+ this.el.addClassOnOver(this.overCls);
+ }
this.fireEvent("render", this);
this.afterRender(this.container);
if(this.hidden){
@@ -776,9 +783,6 @@
if(this.allowDomMove !== false){
ct.dom.insertBefore(this.el.dom, position);
}
- if(this.overCls) {
- this.el.addClassOnOver(this.overCls);
- }
}
},
Modified: mickael/trunk/ext/v3.0.0-a1/source/widgets/DataView.js
===================================================================
--- mickael/trunk/ext/v3.0.0-a1/source/widgets/DataView.js 2008-12-09 04:02:36 UTC (rev 55)
+++ mickael/trunk/ext/v3.0.0-a1/source/widgets/DataView.js 2008-12-10 21:32:12 UTC (rev 56)
@@ -456,7 +456,7 @@
// private
onMouseOut : function(e){
if(this.lastItem){
- if(!e.within(this.lastItem, true, true)){
+ if(!e.within(this.lastItem, true)){
Ext.fly(this.lastItem).removeClass(this.overClass);
this.fireEvent("mouseleave", this, this.indexOf(this.lastItem), this.lastItem, e);
delete this.lastItem;
Modified: mickael/trunk/ext/v3.0.0-a1/source/widgets/form/BasicForm.js
===================================================================
--- mickael/trunk/ext/v3.0.0-a1/source/widgets/form/BasicForm.js 2008-12-09 04:02:36 UTC (rev 55)
+++ mickael/trunk/ext/v3.0.0-a1/source/widgets/form/BasicForm.js 2008-12-10 21:32:12 UTC (rev 56)
@@ -87,8 +87,16 @@
*/
/**
* @cfg {DataReader} errorReader
- * An Ext.data.DataReader (e.g. {@link Ext.data.XmlReader}) to be used to read data when reading validation errors on "submit" actions.
- * This is completely optional as there is built-in support for processing JSON.
+ * <p>An Ext.data.DataReader (e.g. {@link Ext.data.XmlReader}) to be used to read field error messages returned from "submit" actions.
+ * This is completely optional as there is built-in support for processing JSON.</p>
+ * <p>The Records which provide messages for the invalid Fields must use the Field name (or id) as the Record ID,
+ * and must contain a field called "msg" which contains the error message.</p>
+ * <p>The errorReader does not have to be a full-blown implementation of a DataReader. It simply needs to implement a
+ * <tt>read(xhr)</tt> function which returns an Array of Records in an object with the following structure:<pre><code>
+{
+ records: recordArray
+}
+</code></pre>
*/
/**
* @cfg {String} url
Modified: mickael/trunk/ext/v3.0.0-a1/source/widgets/menu/ColorMenu.js
===================================================================
--- mickael/trunk/ext/v3.0.0-a1/source/widgets/menu/ColorMenu.js 2008-12-09 04:02:36 UTC (rev 55)
+++ mickael/trunk/ext/v3.0.0-a1/source/widgets/menu/ColorMenu.js 2008-12-10 21:32:12 UTC (rev 56)
@@ -31,4 +31,9 @@
*/
this.relayEvents(ci, ["select"]);
};
-Ext.extend(Ext.menu.ColorMenu, Ext.menu.Menu);
\ No newline at end of file
+Ext.extend(Ext.menu.ColorMenu, Ext.menu.Menu, {
+ //private
+ beforeDestroy: function(){
+ this.palette.destroy();
+ }
+});
\ No newline at end of file