X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=docs%2Fsymbols%2FRoo.util.Observable.json;fp=docs%2Fsymbols%2FRoo.util.Observable.json;h=712bab8cc4fa2aff4041847858a34ec13a18f24f;hp=d3a57bdf4d83fc40aefe9e4d80aceb546d45d631;hb=e01802ac69da0ec0c9ccecc295beff82c1779f68;hpb=0fa7894b7489284160ff14afdca7b6911983357f diff --git a/docs/symbols/Roo.util.Observable.json b/docs/symbols/Roo.util.Observable.json index d3a57bdf4d..712bab8cc4 100644 --- a/docs/symbols/Roo.util.Observable.json +++ b/docs/symbols/Roo.util.Observable.json @@ -1,10 +1,332 @@ { "name" : "Roo.util.Observable", "augments" : [], + "childClasses" : { + "Roo.bootstrap.nav.Item" : [ + "Roo.bootstrap.nav.SidebarItem" + ], + "Roo.ContentPanel" : [ + "Roo.GridPanel", + "Roo.NestedLayoutPanel", + "Roo.TreePanel" + ], + "Roo.LayoutRegion" : [ + "Roo.SplitLayoutRegion", + "Roo.bootstrap.layout.Split" + ], + "Roo.form.Layout" : [ + "Roo.form.Column", + "Roo.form.FieldSet", + "Roo.form.Row" + ], + "Roo.bootstrap.Column" : [ + "Roo.bootstrap.TabGroup" + ], + "Roo.grid.EditorGrid" : [ + "Roo.grid.PropertyGrid" + ], + "Roo.LayoutManager" : [ + "Roo.BorderLayout" + ], + "Roo.dd.DropTarget" : [ + "Roo.dd.DropZone" + ], + "Roo.bootstrap.Element" : [ + "Roo.bootstrap.CardFooter", + "Roo.bootstrap.CardHeader", + "Roo.bootstrap.CardImageTop", + "Roo.bootstrap.DropTarget" + ], + "Roo.form.TriggerField" : [ + "Roo.form.ComboBox", + "Roo.form.DateField", + "Roo.form.MonthField", + "Roo.form.Select" + ], + "Roo.form.ComboBox" : [ + "Roo.form.ComboCheck", + "Roo.form.ComboNested" + ], + "Roo.View" : [ + "Roo.JsonView" + ], + "Roo.data.DataProxy" : [ + "Roo.data.HttpProxy" + ], + "Roo.menu.Menu" : [ + "Roo.menu.ColorMenu", + "Roo.menu.DateMenu" + ], + "Roo.bootstrap.form.TriggerField" : [ + "Roo.bootstrap.form.ComboBox", + "Roo.bootstrap.form.PhoneInput" + ], + "Roo.dd.DragDrop" : [ + "Roo.dd.DD", + "Roo.dd.DDTarget" + ], + "Roo.tree.TreeNode" : [ + "Roo.tree.AsyncTreeNode" + ], + "Roo.Button" : [ + "Roo.SplitButton", + "Roo.Toolbar.Button" + ], + "Roo.util.Observable" : [ + "Roo.BasicDialog", + "Roo.BasicLayoutRegion", + "Roo.Button", + "Roo.Component", + "Roo.ContentPanel", + "Roo.Document", + "Roo.LayoutManager", + "Roo.Resizable", + "Roo.SplitBar", + "Roo.TabPanel", + "Roo.TabPanelItem", + "Roo.UpdateManager", + "Roo.View", + "Roo.XComponent", + "Roo.bootstrap.SplitBar", + "Roo.bootstrap.layout.Basic", + "Roo.bootstrap.panel.Content", + "Roo.bootstrap.panel.TabItem", + "Roo.bootstrap.panel.Tabs", + "Roo.data.Connection", + "Roo.data.DataProxy", + "Roo.data.Node", + "Roo.data.Store", + "Roo.data.Tree", + "Roo.dd.DragDrop", + "Roo.form.BasicForm", + "Roo.grid.AbstractGridView", + "Roo.grid.AbstractSelectionModel", + "Roo.grid.ColumnModel", + "Roo.grid.Grid", + "Roo.grid.GridView", + "Roo.menu.Menu", + "Roo.tree.DefaultSelectionModel", + "Roo.tree.MultiSelectionModel", + "Roo.tree.TreeLoader", + "Roo.util.ClickRepeater", + "Roo.util.MixedCollection" + ], + "Roo.bootstrap.layout.Manager" : [ + "Roo.bootstrap.layout.Border" + ], + "Roo.Component" : [ + "Roo.BoxComponent", + "Roo.CalendarPanel", + "Roo.ColorPalette", + "Roo.DatePicker", + "Roo.Editor", + "Roo.HtmlEditorCore", + "Roo.bootstrap.Component", + "Roo.form.Layout", + "Roo.menu.BaseItem" + ], + "Roo.BorderLayout" : [ + "Roo.ReaderLayout" + ], + "Roo.menu.Item" : [ + "Roo.menu.CheckItem" + ], + "Roo.bootstrap.form.TextArea" : [ + "Roo.bootstrap.form.HtmlEditor", + "Roo.bootstrap.form.Markdown" + ], + "Roo.form.Field" : [ + "Roo.form.Checkbox", + "Roo.form.DayPicker", + "Roo.form.DisplayField", + "Roo.form.GridField", + "Roo.form.HtmlEditor", + "Roo.form.Signature", + "Roo.form.TextField" + ], + "Roo.form.BasicForm" : [ + "Roo.form.Form" + ], + "Roo.SplitButton" : [ + "Roo.Toolbar.SplitButton" + ], + "Roo.bootstrap.panel.Content" : [ + "Roo.bootstrap.panel.Grid", + "Roo.bootstrap.panel.Nest" + ], + "Roo.BasicDialog" : [ + "Roo.LayoutDialog" + ], + "Roo.menu.BaseItem" : [ + "Roo.menu.Adapter", + "Roo.menu.Item", + "Roo.menu.Separator", + "Roo.menu.TextItem" + ], + "Roo.BoxComponent" : [ + "Roo.form.ComboBoxArray.Item", + "Roo.form.Field", + "Roo.form.TextItem" + ], + "Roo.data.Store" : [ + "Roo.data.JsonStore", + "Roo.data.SimpleStore" + ], + "Roo.dd.DDProxy" : [ + "Roo.dd.DragSource", + "Roo.grid.SplitDragZone" + ], + "Roo.menu.Adapter" : [ + "Roo.menu.ColorItem", + "Roo.menu.DateItem" + ], + "Roo.tree.TreePanel" : [ + "Roo.tree.ColumnTree" + ], + "Roo.bootstrap.layout.Basic" : [ + "Roo.bootstrap.layout.Region" + ], + "Roo.form.TextField" : [ + "Roo.form.ComboBoxArray", + "Roo.form.Hidden", + "Roo.form.NumberField", + "Roo.form.TextArea", + "Roo.form.TriggerField" + ], + "Roo.form.Checkbox" : [ + "Roo.form.Radio" + ], + "Roo.bootstrap.form.Input" : [ + "Roo.bootstrap.form.CheckBox", + "Roo.bootstrap.form.DateField", + "Roo.bootstrap.form.MonthField", + "Roo.bootstrap.form.NumberField", + "Roo.bootstrap.form.RadioSet", + "Roo.bootstrap.form.SecurePass", + "Roo.bootstrap.form.TextArea", + "Roo.bootstrap.form.TimeField", + "Roo.bootstrap.form.TriggerField" + ], + "Roo.grid.AbstractSelectionModel" : [ + "Roo.grid.CellSelectionModel", + "Roo.grid.RowSelectionModel" + ], + "Roo.bootstrap.form.ComboBox" : [ + "Roo.bootstrap.form.MoneyField" + ], + "Roo.dd.DDTarget" : [ + "Roo.dd.DropTarget" + ], + "Roo.bootstrap.Button" : [ + "Roo.bootstrap.ButtonUploader", + "Roo.bootstrap.form.CardUploader" + ], + "Roo.bootstrap.Component" : [ + "Roo.bootstrap.Alert", + "Roo.bootstrap.BezierSignature", + "Roo.bootstrap.Body", + "Roo.bootstrap.Brick", + "Roo.bootstrap.Button", + "Roo.bootstrap.ButtonGroup", + "Roo.bootstrap.Calendar", + "Roo.bootstrap.Card", + "Roo.bootstrap.Column", + "Roo.bootstrap.Container", + "Roo.bootstrap.DocumentManager", + "Roo.bootstrap.DocumentSlider", + "Roo.bootstrap.DocumentViewer", + "Roo.bootstrap.Element", + "Roo.bootstrap.Graph", + "Roo.bootstrap.Header", + "Roo.bootstrap.Img", + "Roo.bootstrap.LayoutMasonry", + "Roo.bootstrap.LayoutMasonryAuto", + "Roo.bootstrap.Link", + "Roo.bootstrap.LocationPicker", + "Roo.bootstrap.MasonryBrick", + "Roo.bootstrap.MessageBar", + "Roo.bootstrap.Modal", + "Roo.bootstrap.Pagination", + "Roo.bootstrap.PaginationItem", + "Roo.bootstrap.Popover", + "Roo.bootstrap.Progress", + "Roo.bootstrap.ProgressBar", + "Roo.bootstrap.Row", + "Roo.bootstrap.Slider", + "Roo.bootstrap.TabPanel", + "Roo.bootstrap.Table", + "Roo.bootstrap.TableBody", + "Roo.bootstrap.TableCell", + "Roo.bootstrap.TableRow", + "Roo.bootstrap.UploadCropbox", + "Roo.bootstrap.breadcrumb.Item", + "Roo.bootstrap.breadcrumb.Nav", + "Roo.bootstrap.dash.NumberBox", + "Roo.bootstrap.dash.TabBox", + "Roo.bootstrap.dash.TabPane", + "Roo.bootstrap.form.DateSplitField", + "Roo.bootstrap.form.FieldLabel", + "Roo.bootstrap.form.Form", + "Roo.bootstrap.form.Input", + "Roo.bootstrap.form.Radio", + "Roo.bootstrap.layout.Manager", + "Roo.bootstrap.menu.Item", + "Roo.bootstrap.menu.Menu", + "Roo.bootstrap.menu.Separator", + "Roo.bootstrap.nav.Bar", + "Roo.bootstrap.nav.Group", + "Roo.bootstrap.nav.Item", + "Roo.bootstrap.nav.ProgressBar", + "Roo.bootstrap.nav.ProgressBarItem" + ], + "Roo.data.Tree" : [ + "Roo.tree.TreePanel" + ], + "Roo.dd.DD" : [ + "Roo.dd.DDProxy" + ], + "Roo.form.TextArea" : [ + "Roo.form.FCKeditor" + ], + "Roo.grid.Grid" : [ + "Roo.grid.Calendar", + "Roo.grid.EditorGrid" + ], + "Roo.Editor" : [ + "Roo.grid.GridEditor", + "Roo.tree.TreeEditor" + ], + "Roo.bootstrap.nav.Simplebar" : [ + "Roo.bootstrap.PagingToolbar", + "Roo.bootstrap.PopoverNav", + "Roo.bootstrap.form.HtmlEditorToolbarStandard", + "Roo.bootstrap.nav.Headerbar" + ], + "Roo.data.Connection" : [ + "Roo.Ajax" + ], + "Roo.dd.DragSource" : [ + "Roo.dd.DragZone" + ], + "Roo.bootstrap.nav.Bar" : [ + "Roo.bootstrap.nav.Sidebar", + "Roo.bootstrap.nav.Simplebar" + ], + "Roo.BasicLayoutRegion" : [ + "Roo.LayoutRegion" + ], + "Roo.data.Node" : [ + "Roo.tree.TreeNode" + ] + }, + "tree_children" : [], + "tree_parent" : [], "desc" : "Base class that provides a common interface for publishing events. Subclasses are expected to\nto have a property \"events\" with all the events defined.
\nFor example:\n
\n Employee = function(name){\n    this.name = name;\n    this.addEvents({\n        \"fired\" : true,\n        \"quit\" : true\n    });\n }\n Roo.extend(Employee, Roo.util.Observable);\n
", "isSingleton" : false, "isStatic" : false, "isBuiltin" : false, + "isAbstract" : false, + "isBuilderTop" : false, "memberOf" : "Observable", "example" : "", "deprecated" : "", @@ -19,41 +341,52 @@ } ], "returns" : [], + "throws" : "", + "requires" : "", "config" : [ { "name" : "listeners", "type" : "Object", "desc" : "list of events and functions to call for this object, \nFor example :\n
\n    listeners :  { \n       'click' : function(e) {\n           ..... \n        } ,\n        .... \n    } \n  
", - "memberOf" : "Roo.util.Observable", - "optvals" : [] + "memberOf" : "Roo.util.Observable" } ], "methods" : [ { "name" : "purgeListeners", + "type" : "function", "desc" : "Removes all listeners for this object", + "sig" : "()\n{\n\n}", + "static" : false, + "memberOf" : "", "isStatic" : false, "isConstructor" : false, "isPrivate" : false, - "memberOf" : "Roo.util.Observable", "example" : "", "deprecated" : "", "since" : "", "see" : "", + "exceptions" : "", + "requires" : "", "params" : [], "returns" : [] }, { "name" : "on", + "type" : "function", "desc" : "Appends an event handler to this element (shorthand for addListener)", + "sig" : "(eventName, handler, scope, options)", + "static" : false, + "memberOf" : "", "isStatic" : false, "isConstructor" : false, "isPrivate" : false, - "memberOf" : "Roo.util.Observable", "example" : "", "deprecated" : "", "since" : "", "see" : "", + "exceptions" : "", + "requires" : "", "params" : [ { "name" : "eventName", @@ -84,15 +417,20 @@ }, { "name" : "un", + "type" : "function", "desc" : "Removes a listener (shorthand for removeListener)", + "sig" : "(eventName, handler, scope)", + "static" : false, + "memberOf" : "", "isStatic" : false, "isConstructor" : false, "isPrivate" : false, - "memberOf" : "Roo.util.Observable", "example" : "", "deprecated" : "", "since" : "", "see" : "", + "exceptions" : "", + "requires" : "", "params" : [ { "name" : "eventName", @@ -117,15 +455,20 @@ }, { "name" : "addEvents", + "type" : "function", "desc" : "Used to define events on this Observable", + "sig" : "(object)", + "static" : false, + "memberOf" : "", "isStatic" : false, "isConstructor" : false, "isPrivate" : false, - "memberOf" : "Roo.util.Observable", "example" : "", "deprecated" : "", "since" : "", "see" : "", + "exceptions" : "", + "requires" : "", "params" : [ { "name" : "object", @@ -138,15 +481,20 @@ }, { "name" : "releaseCapture", + "type" : "function", "desc" : "Removes all added captures from the Observable.", + "sig" : "(o)", + "static" : true, + "memberOf" : "", "isStatic" : true, "isConstructor" : false, "isPrivate" : false, - "memberOf" : "Roo.util.Observable", "example" : "", "deprecated" : "", "since" : "", "see" : "", + "exceptions" : "", + "requires" : "", "params" : [ { "name" : "o", @@ -159,15 +507,20 @@ }, { "name" : "removeListener", + "type" : "function", "desc" : "Removes a listener", + "sig" : "(eventName, handler, scope)", + "static" : false, + "memberOf" : "", "isStatic" : false, "isConstructor" : false, "isPrivate" : false, - "memberOf" : "Roo.util.Observable", "example" : "", "deprecated" : "", "since" : "", "see" : "", + "exceptions" : "", + "requires" : "", "params" : [ { "name" : "eventName", @@ -192,15 +545,20 @@ }, { "name" : "fireEvent", + "type" : "function", "desc" : "Fires the specified event with the passed parameters (minus the event name).", + "sig" : "(eventName, args)", + "static" : false, + "memberOf" : "", "isStatic" : false, "isConstructor" : false, "isPrivate" : false, - "memberOf" : "Roo.util.Observable", "example" : "", "deprecated" : "", "since" : "", "see" : "", + "exceptions" : "", + "requires" : "", "params" : [ { "name" : "eventName", @@ -225,15 +583,20 @@ }, { "name" : "hasListener", + "type" : "function", "desc" : "Checks to see if this object has any listeners for a specified event", + "sig" : "(eventName)", + "static" : false, + "memberOf" : "", "isStatic" : false, "isConstructor" : false, "isPrivate" : false, - "memberOf" : "Roo.util.Observable", "example" : "", "deprecated" : "", "since" : "", "see" : "", + "exceptions" : "", + "requires" : "", "params" : [ { "name" : "eventName", @@ -252,15 +615,20 @@ }, { "name" : "capture", + "type" : "function", "desc" : "Starts capture on the specified Observable. All events will be passed\nto the supplied function with the event name + standard signature of the event\nbefore the event is fired. If the supplied function returns false,\nthe event will not fire.", + "sig" : "(o, fn, scope)", + "static" : true, + "memberOf" : "", "isStatic" : true, "isConstructor" : false, "isPrivate" : false, - "memberOf" : "Roo.util.Observable", "example" : "", "deprecated" : "", "since" : "", "see" : "", + "exceptions" : "", + "requires" : "", "params" : [ { "name" : "o", @@ -285,15 +653,20 @@ }, { "name" : "addListener", + "type" : "function", "desc" : "Appends an event handler to this component", + "sig" : "(eventName, handler, scope, options)", + "static" : false, + "memberOf" : "", "isStatic" : false, "isConstructor" : false, "isPrivate" : false, - "memberOf" : "Roo.util.Observable", "example" : "", "deprecated" : "", "since" : "", "see" : "", + "exceptions" : "", + "requires" : "", "params" : [ { "name" : "eventName",