From 5a350de375484ef6c915706aab23d36143a588a0 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 4 Aug 2021 10:53:54 +0800 Subject: [PATCH] sync --- docs/json/roodata.json | 93 ++++- docs/src/Roo_EventManager.js.html | 2 +- docs/src/Roo_MessageBox.js.html | 2 +- docs/src/Roo_QuickTips.js.html | 2 +- docs/src/Roo_bootstrap_MessageBox.js.html | 2 +- docs/src/Roo_bootstrap_menu_Manager.js.html | 2 +- docs/src/Roo_data_SortTypes.js.html | 2 +- docs/src/Roo_dd_DragDropMgr.js.html | 2 +- docs/src/Roo_dd_Registry.js.html | 2 +- docs/src/Roo_dd_ScrollManager.js.html | 2 +- docs/src/Roo_form_VTypes.js.html | 2 +- docs/src/Roo_menu_MenuMgr.js.html | 2 +- docs/src/Roo_state_Manager.js.html | 2 +- docs/src/Roo_util_CSS.js.html | 3 +- docs/src/Roo_util_JSON.js.html | 6 +- docs/src/Roo_util_TextMetrics.js.html | 2 +- docs/symbols/Roo.EventObject.json | 2 +- docs/symbols/Roo.QuickTips.json | 2 +- docs/symbols/Roo.bootstrap.MessageBox.json | 2 +- docs/symbols/Roo.bootstrap.menu.Manager.json | 2 +- docs/symbols/Roo.data.SortTypes.json | 2 +- docs/symbols/Roo.dd.Registry.json | 2 +- docs/symbols/Roo.dd.ScrollManager.json | 2 +- docs/symbols/Roo.form.VTypes.json | 2 +- docs/symbols/Roo.lib.HSVColor.json | 405 +++++++++++++++++++ docs/symbols/Roo.lib.RGBColor.json | 405 +++++++++++++++++++ docs/symbols/Roo.menu.MenuMgr.json | 2 +- docs/symbols/Roo.state.Manager.json | 2 +- docs/symbols/Roo.util.CSS.json | 2 +- docs/symbols/Roo.util.TextMetrics.json | 2 +- roojs-bootstrap-debug.js | 8 +- roojs-ui-debug.js | 10 +- 32 files changed, 943 insertions(+), 37 deletions(-) create mode 100644 docs/symbols/Roo.lib.HSVColor.json create mode 100644 docs/symbols/Roo.lib.RGBColor.json diff --git a/docs/json/roodata.json b/docs/json/roodata.json index 72922b9d97..37ce711af8 100644 --- a/docs/json/roodata.json +++ b/docs/json/roodata.json @@ -37753,7 +37753,98 @@ "tree_parent" : [] }, "Roo.QuickTips" : { - "props" : [], + "props" : [ + { + "name" : "Delay", + "type" : "Number", + "desc" : "in milliseconds before the quick tip hides when autoDismiss = true (defaults to 5000)", + "memberOf" : "" + }, + { + "name" : "True", + "type" : "Boolean", + "desc" : "to automatically hide the quick tip after a set period of time, regardless of the user's actions\n(defaults to true). Used in conjunction with autoDismissDelay.", + "memberOf" : "" + }, + { + "name" : "animate", + "type" : "Boolean", + "desc" : "True to turn on fade animation. Defaults to false (ClearType/scrollbar flicker issues in IE7).", + "memberOf" : "" + }, + { + "name" : "autoHide", + "type" : "Boolean", + "desc" : "True to automatically hide the quick tip after the mouse exits the target element (defaults to true).\nUsed in conjunction with hideDelay.", + "memberOf" : "" + }, + { + "name" : "cls", + "type" : "String", + "desc" : "A CSS class to apply to the base quick tip element (defaults to '').", + "memberOf" : "" + }, + { + "name" : "hideDelay", + "type" : "Number", + "desc" : "Delay in milliseconds before the quick tip hides when autoHide = true (defaults to 200)", + "memberOf" : "" + }, + { + "name" : "hideOnClick", + "type" : "Boolean", + "desc" : "True to hide the quick tip if the user clicks anywhere in the document (defaults to true)", + "memberOf" : "" + }, + { + "name" : "interceptTitles", + "type" : "Boolean", + "desc" : "True to automatically use the element's DOM title value if available (defaults to false)", + "memberOf" : "" + }, + { + "name" : "maxWidth", + "type" : "Number", + "desc" : "The maximum width of the quick tip (defaults to 300)", + "memberOf" : "" + }, + { + "name" : "minWidth", + "type" : "Number", + "desc" : "The minimum width of the quick tip (defaults to 40)", + "memberOf" : "" + }, + { + "name" : "showDelay", + "type" : "Number", + "desc" : "Delay in milliseconds before the quick tip displays after the mouse enters the target element (defaults to 500)", + "memberOf" : "" + }, + { + "name" : "text", + "type" : "String", + "desc" : "Body text to display (defaults to ''). This can be any valid HTML markup.", + "memberOf" : "" + }, + { + "name" : "title", + "type" : "String", + "desc" : "Title text to display (defaults to ''). This can be any valid HTML markup.", + "memberOf" : "" + }, + { + "name" : "trackMouse", + "type" : "Boolean", + "desc" : "True to have the quick tip follow the mouse as it moves over the target element (defaults to false)", + "memberOf" : "" + }, + { + "name" : "width", + "type" : "Number", + "desc" : "Width in pixels of the quick tip (defaults to auto). Width will be ignored if it exceeds the bounds of\nminWidth or maxWidth.", + "memberOf" : "" + } + ], "events" : [], "methods" : [ { diff --git a/docs/src/Roo_EventManager.js.html b/docs/src/Roo_EventManager.js.html index db42d8fff3..694a271f2b 100644 --- a/docs/src/Roo_EventManager.js.html +++ b/docs/src/Roo_EventManager.js.html @@ -576,7 +576,7 @@ el.on({ Roo.EventManager.on("myDiv", 'click', handleClick); Roo.EventManager.addListener("myDiv", 'click', handleClick); </code></pre> - * @singleton + * @static */ Roo.EventObject = function(){ diff --git a/docs/src/Roo_MessageBox.js.html b/docs/src/Roo_MessageBox.js.html index 9a815ac88d..96d5087650 100644 --- a/docs/src/Roo_MessageBox.js.html +++ b/docs/src/Roo_MessageBox.js.html @@ -33,7 +33,7 @@ Roo.Msg.show({ animEl: 'elId' }); </code></pre> - * @singleton + * @static */ Roo.MessageBox = function(){ var dlg, opt, mask, waitTimer; diff --git a/docs/src/Roo_QuickTips.js.html b/docs/src/Roo_QuickTips.js.html index bfbe5dd392..d6d13958de 100644 --- a/docs/src/Roo_QuickTips.js.html +++ b/docs/src/Roo_QuickTips.js.html @@ -11,7 +11,7 @@ /** * @class Roo.QuickTips * Provides attractive and customizable tooltips for any element. - * @singleton + * @static */ Roo.QuickTips = function(){ var el, tipBody, tipBodyText, tipTitle, tm, cfg, close, tagEls = {}, esc, removeCls = null, bdLeft, bdRight; diff --git a/docs/src/Roo_bootstrap_MessageBox.js.html b/docs/src/Roo_bootstrap_MessageBox.js.html index 99599d52e5..35b8ed8fb4 100644 --- a/docs/src/Roo_bootstrap_MessageBox.js.html +++ b/docs/src/Roo_bootstrap_MessageBox.js.html @@ -28,7 +28,7 @@ Roo.Msg.show({ animEl: 'elId' }); </code></pre> - * @singleton + * @static */ Roo.bootstrap.MessageBox = function(){ var dlg, opt, mask, waitTimer; diff --git a/docs/src/Roo_bootstrap_menu_Manager.js.html b/docs/src/Roo_bootstrap_menu_Manager.js.html index b194799d9d..3a4d6894d7 100644 --- a/docs/src/Roo_bootstrap_menu_Manager.js.html +++ b/docs/src/Roo_bootstrap_menu_Manager.js.html @@ -2,7 +2,7 @@ * @class Roo.bootstrap.MenuMgr * @licence LGPL * Provides a common registry of all menu items on a page so that they can be easily accessed by id. - * @singleton + * @static */ Roo.bootstrap.menu.Manager = function(){ var menus, active, groups = {}, attached = false, lastShow = new Date(); diff --git a/docs/src/Roo_data_SortTypes.js.html b/docs/src/Roo_data_SortTypes.js.html index db70b8b1a5..8d1bb7855e 100644 --- a/docs/src/Roo_data_SortTypes.js.html +++ b/docs/src/Roo_data_SortTypes.js.html @@ -12,7 +12,7 @@ /** * @class Roo.data.SortTypes - * @singleton + * @static * Defines the default sorting (casting?) comparison functions used when sorting data. */ Roo.data.SortTypes = { diff --git a/docs/src/Roo_dd_DragDropMgr.js.html b/docs/src/Roo_dd_DragDropMgr.js.html index 9c382fef3b..5e27c0d607 100644 --- a/docs/src/Roo_dd_DragDropMgr.js.html +++ b/docs/src/Roo_dd_DragDropMgr.js.html @@ -28,7 +28,7 @@ * all DragDrop items in the window. Generally, you will not call * this class directly, but it does have helper methods that could * be useful in your DragDrop implementations. - * @singleton + * @static */ Roo.dd.DragDropMgr = function() { diff --git a/docs/src/Roo_dd_Registry.js.html b/docs/src/Roo_dd_Registry.js.html index c44b32e3a0..f885eafea5 100644 --- a/docs/src/Roo_dd_Registry.js.html +++ b/docs/src/Roo_dd_Registry.js.html @@ -14,7 +14,7 @@ * @class Roo.dd.Registry * Provides easy access to all drag drop components that are registered on a page. Items can be retrieved either * directly by DOM node id, or by passing in the drag drop event that occurred and looking up the event target. - * @singleton + * @static */ Roo.dd.Registry = function(){ var elements = {}; diff --git a/docs/src/Roo_dd_ScrollManager.js.html b/docs/src/Roo_dd_ScrollManager.js.html index a52f460bca..833594212e 100644 --- a/docs/src/Roo_dd_ScrollManager.js.html +++ b/docs/src/Roo_dd_ScrollManager.js.html @@ -14,7 +14,7 @@ * @class Roo.dd.ScrollManager * Provides automatic scrolling of overflow regions in the page during drag operations.<br><br> * <b>Note: This class uses "Point Mode" and is untested in "Intersect Mode".</b> - * @singleton + * @static */ Roo.dd.ScrollManager = function(){ var ddm = Roo.dd.DragDropMgr; diff --git a/docs/src/Roo_form_VTypes.js.html b/docs/src/Roo_form_VTypes.js.html index 093c88d9d3..60cdc68c26 100644 --- a/docs/src/Roo_form_VTypes.js.html +++ b/docs/src/Roo_form_VTypes.js.html @@ -11,7 +11,7 @@ /** * @class Roo.form.VTypes * Overridable validation definitions. The validations provided are basic and intended to be easily customizable and extended. - * @singleton + * @static */ Roo.form.VTypes = function(){ // closure these in so they are only created once. diff --git a/docs/src/Roo_menu_MenuMgr.js.html b/docs/src/Roo_menu_MenuMgr.js.html index a3bc3362da..6c06e2daaf 100644 --- a/docs/src/Roo_menu_MenuMgr.js.html +++ b/docs/src/Roo_menu_MenuMgr.js.html @@ -12,7 +12,7 @@ /** * @class Roo.menu.MenuMgr * Provides a common registry of all menu items on a page so that they can be easily accessed by id. - * @singleton + * @static */ Roo.menu.MenuMgr = function(){ var menus, active, groups = {}, attached = false, lastShow = new Date(); diff --git a/docs/src/Roo_state_Manager.js.html b/docs/src/Roo_state_Manager.js.html index 4c2d1a7b67..aa51429793 100644 --- a/docs/src/Roo_state_Manager.js.html +++ b/docs/src/Roo_state_Manager.js.html @@ -25,7 +25,7 @@ init : function(){ var dialog = new Roo.BasicDialog(...); dialog.restoreState(); </code></pre> - * @singleton + * @static */ Roo.state.Manager = function(){ var provider = new Roo.state.Provider(); diff --git a/docs/src/Roo_util_CSS.js.html b/docs/src/Roo_util_CSS.js.html index e5639a7e2c..05f125d253 100644 --- a/docs/src/Roo_util_CSS.js.html +++ b/docs/src/Roo_util_CSS.js.html @@ -13,7 +13,8 @@ /** * @class Roo.util.CSS * Utility class for manipulating CSS rules - * @singleton + * @static + */ Roo.util.CSS = function(){ var rules = null; diff --git a/docs/src/Roo_util_JSON.js.html b/docs/src/Roo_util_JSON.js.html index c2cae33bcc..e6f8af6224 100644 --- a/docs/src/Roo_util_JSON.js.html +++ b/docs/src/Roo_util_JSON.js.html @@ -83,6 +83,7 @@ /** * Encodes an Object, Array or other value + * @static * @param {Mixed} o The variable to encode * @return {String} The JSON string */ @@ -129,6 +130,7 @@ /** * Decodes (parses) a JSON string to an object. If the JSON is invalid, this function throws a SyntaxError. + * @static * @param {String} json The JSON string * @return {Object} The resulting object */ @@ -139,11 +141,13 @@ })(); /** * Shorthand for {@link Roo.util.JSON#encode} - * @member Roo encode + * @member Roo encode + * @static * @method */ Roo.encode = typeof(JSON) != 'undefined' && JSON.stringify ? JSON.stringify : Roo.util.JSON.encode; /** * Shorthand for {@link Roo.util.JSON#decode} + * @static * @member Roo decode * @method */ Roo.decode = typeof(JSON) != 'undefined' && JSON.parse ? JSON.parse : Roo.util.JSON.decode; diff --git a/docs/src/Roo_util_TextMetrics.js.html b/docs/src/Roo_util_TextMetrics.js.html index 2120d21e5a..3650ec2ce9 100644 --- a/docs/src/Roo_util_TextMetrics.js.html +++ b/docs/src/Roo_util_TextMetrics.js.html @@ -14,7 +14,7 @@ * @class Roo.util.TextMetrics * Provides precise pixel measurements for blocks of text so that you can determine exactly how high and * wide, in pixels, a given block of text will be. - * @singleton + * @static */ Roo.util.TextMetrics = function(){ var shared; diff --git a/docs/symbols/Roo.EventObject.json b/docs/symbols/Roo.EventObject.json index cf99209ccb..248cc68906 100644 --- a/docs/symbols/Roo.EventObject.json +++ b/docs/symbols/Roo.EventObject.json @@ -5,7 +5,7 @@ "tree_children" : [], "tree_parent" : [], "desc" : "EventObject exposes the Yahoo! UI Event functionality directly on the object\npassed to your event handler. It exists mostly for convenience. It also fixes the annoying null checks automatically to cleanup your code \nExample:\n
\n function handleClick(e){ // e is not a standard event object, it is a Roo.EventObject\n    e.preventDefault();\n    var target = e.getTarget();\n    ...\n }\n var myDiv = Roo.get(\"myDiv\");\n myDiv.on(\"click\", handleClick);\n //or\n Roo.EventManager.on(\"myDiv\", 'click', handleClick);\n Roo.EventManager.addListener(\"myDiv\", 'click', handleClick);\n 
", - "isSingleton" : true, + "isSingleton" : false, "isStatic" : true, "isBuiltin" : false, "isAbstract" : false, diff --git a/docs/symbols/Roo.QuickTips.json b/docs/symbols/Roo.QuickTips.json index 3937b380d0..10d038773a 100644 --- a/docs/symbols/Roo.QuickTips.json +++ b/docs/symbols/Roo.QuickTips.json @@ -5,7 +5,7 @@ "tree_children" : [], "tree_parent" : [], "desc" : "Provides attractive and customizable tooltips for any element.", - "isSingleton" : true, + "isSingleton" : false, "isStatic" : true, "isBuiltin" : false, "isAbstract" : false, diff --git a/docs/symbols/Roo.bootstrap.MessageBox.json b/docs/symbols/Roo.bootstrap.MessageBox.json index 892013e5d0..46dc79f73d 100644 --- a/docs/symbols/Roo.bootstrap.MessageBox.json +++ b/docs/symbols/Roo.bootstrap.MessageBox.json @@ -5,7 +5,7 @@ "tree_children" : [], "tree_parent" : [], "desc" : "Utility class for generating different styles of message boxes. The alias Roo.Msg can also be used.\nExample usage:\n
\n// Basic alert:\nRoo.Msg.alert('Status', 'Changes saved successfully.');\n\n// Prompt for user data:\nRoo.Msg.prompt('Name', 'Please enter your name:', function(btn, text){\n    if (btn == 'ok'){\n        // process text value...\n    }\n});\n\n// Show a dialog using config options:\nRoo.Msg.show({\n   title:'Save Changes?',\n   msg: 'Your are closing a tab that has unsaved changes. Would you like to save your changes?',\n   buttons: Roo.Msg.YESNOCANCEL,\n   fn: processResult,\n   animEl: 'elId'\n});\n
", - "isSingleton" : true, + "isSingleton" : false, "isStatic" : true, "isBuiltin" : false, "isAbstract" : false, diff --git a/docs/symbols/Roo.bootstrap.menu.Manager.json b/docs/symbols/Roo.bootstrap.menu.Manager.json index deabea78d3..1c0aab4a4a 100644 --- a/docs/symbols/Roo.bootstrap.menu.Manager.json +++ b/docs/symbols/Roo.bootstrap.menu.Manager.json @@ -5,7 +5,7 @@ "tree_children" : [], "tree_parent" : [], "desc" : "Provides a common registry of all menu items on a page so that they can be easily accessed by id.", - "isSingleton" : true, + "isSingleton" : false, "isStatic" : true, "isBuiltin" : false, "isAbstract" : false, diff --git a/docs/symbols/Roo.data.SortTypes.json b/docs/symbols/Roo.data.SortTypes.json index e1315e6ea9..f4f0b7f206 100644 --- a/docs/symbols/Roo.data.SortTypes.json +++ b/docs/symbols/Roo.data.SortTypes.json @@ -5,7 +5,7 @@ "tree_children" : [], "tree_parent" : [], "desc" : "Defines the default sorting (casting?) comparison functions used when sorting data.", - "isSingleton" : true, + "isSingleton" : false, "isStatic" : true, "isBuiltin" : false, "isAbstract" : false, diff --git a/docs/symbols/Roo.dd.Registry.json b/docs/symbols/Roo.dd.Registry.json index 13c89a624d..fece0f28f3 100644 --- a/docs/symbols/Roo.dd.Registry.json +++ b/docs/symbols/Roo.dd.Registry.json @@ -5,7 +5,7 @@ "tree_children" : [], "tree_parent" : [], "desc" : "Provides easy access to all drag drop components that are registered on a page. Items can be retrieved either\ndirectly by DOM node id, or by passing in the drag drop event that occurred and looking up the event target.", - "isSingleton" : true, + "isSingleton" : false, "isStatic" : true, "isBuiltin" : false, "isAbstract" : false, diff --git a/docs/symbols/Roo.dd.ScrollManager.json b/docs/symbols/Roo.dd.ScrollManager.json index d80ac90466..9db8537ef4 100644 --- a/docs/symbols/Roo.dd.ScrollManager.json +++ b/docs/symbols/Roo.dd.ScrollManager.json @@ -5,7 +5,7 @@ "tree_children" : [], "tree_parent" : [], "desc" : "Provides automatic scrolling of overflow regions in the page during drag operations.

\nNote: This class uses \"Point Mode\" and is untested in \"Intersect Mode\".", - "isSingleton" : true, + "isSingleton" : false, "isStatic" : true, "isBuiltin" : false, "isAbstract" : false, diff --git a/docs/symbols/Roo.form.VTypes.json b/docs/symbols/Roo.form.VTypes.json index 2433e15b58..df5de57f47 100644 --- a/docs/symbols/Roo.form.VTypes.json +++ b/docs/symbols/Roo.form.VTypes.json @@ -5,7 +5,7 @@ "tree_children" : [], "tree_parent" : [], "desc" : "Overridable validation definitions. The validations provided are basic and intended to be easily customizable and extended.", - "isSingleton" : true, + "isSingleton" : false, "isStatic" : true, "isBuiltin" : false, "isAbstract" : false, diff --git a/docs/symbols/Roo.lib.HSVColor.json b/docs/symbols/Roo.lib.HSVColor.json new file mode 100644 index 0000000000..20e24b1129 --- /dev/null +++ b/docs/symbols/Roo.lib.HSVColor.json @@ -0,0 +1,405 @@ +{ + "name" : "Roo.lib.HSVColor", + "augments" : [ + "Roo.lib.Color" + ], + "childClasses" : { }, + "tree_children" : [], + "tree_parent" : [], + "desc" : "Creates a Color specified in the HSV Color space, with an optional alpha\ncomponent. The parameters are:", + "isSingleton" : false, + "isStatic" : false, + "isBuiltin" : false, + "isAbstract" : false, + "isBuilderTop" : false, + "memberOf" : "HSVColor", + "example" : "", + "deprecated" : "", + "since" : "", + "see" : "", + "params" : [ + { + "name" : "h", + "type" : "Number", + "desc" : "- the hue component, wrapped to the range [0,360)", + "isOptional" : false + }, + { + "name" : "s", + "type" : "Number", + "desc" : "- the saturation component, clipped to the range [0,100]", + "isOptional" : false + }, + { + "name" : "v", + "type" : "Number", + "desc" : "- the value component, clipped to the range [0,100]", + "isOptional" : false + }, + { + "name" : "a", + "type" : "Number", + "desc" : "- the alpha component, clipped to the range [0,1] - this parameter is\n optional and defaults to 1", + "isOptional" : false + } + ], + "returns" : [], + "throws" : "", + "requires" : "", + "config" : [], + "methods" : [ + { + "name" : "getPercentageRGB", + "type" : "function", + "desc" : "getPercentageRGB", + "sig" : "()\n{\n\n}", + "static" : false, + "memberOf" : "Roo.lib.Color", + "isStatic" : false, + "isConstructor" : false, + "isPrivate" : false, + "example" : "", + "deprecated" : "", + "since" : "", + "see" : "", + "exceptions" : "", + "requires" : "", + "params" : [], + "returns" : [ + { + "name" : "", + "type" : "Object", + "desc" : "an object representing the RGBA components of this Color. The red,\ngreen, and blue components are converted to numbers in the range [0,100].\nThe alpha is a value in the range [0,1]." + } + ] + }, + { + "name" : "getRGB", + "type" : "function", + "desc" : "getRGB", + "sig" : "()\n{\n\n}", + "static" : false, + "memberOf" : "Roo.lib.Color", + "isStatic" : false, + "isConstructor" : false, + "isPrivate" : false, + "example" : "", + "deprecated" : "", + "since" : "", + "see" : "", + "exceptions" : "", + "requires" : "", + "params" : [], + "returns" : [ + { + "name" : "", + "type" : "Object", + "desc" : "the RGB and alpha components of this Color as an object with r,\ng, b, and a properties. r, g, and b are in the range [0,255] and a is in\nthe range [0,1]." + } + ] + }, + { + "name" : "getIntegerRGB", + "type" : "function", + "desc" : "getIntegerRGB", + "sig" : "()\n{\n\n}", + "static" : false, + "memberOf" : "Roo.lib.Color", + "isStatic" : false, + "isConstructor" : false, + "isPrivate" : false, + "example" : "", + "deprecated" : "", + "since" : "", + "see" : "", + "exceptions" : "", + "requires" : "", + "params" : [], + "returns" : [ + { + "name" : "", + "type" : "Object", + "desc" : "an object representing the RGBA components of this Color. The red,\ngreen, and blue components are converted to integers in the range [0,255].\nThe alpha is a value in the range [0,1]." + } + ] + }, + { + "name" : "getCSSIntegerRGBA", + "type" : "function", + "desc" : "getCSSIntegerRGBA", + "sig" : "()\n{\n\n}", + "static" : false, + "memberOf" : "Roo.lib.Color", + "isStatic" : false, + "isConstructor" : false, + "isPrivate" : false, + "example" : "", + "deprecated" : "", + "since" : "", + "see" : "", + "exceptions" : "", + "requires" : "", + "params" : [], + "returns" : [ + { + "name" : "", + "type" : "String", + "desc" : "Returns a string representing this Color as a CSS integer RGBA Color\nvalue - that is, a string of the form rgba(r,g,b,a) where each of r, g, and\nb are integers in the range [0,255] and a is in the range [0,1]." + } + ] + }, + { + "name" : "getCSSHSL", + "type" : "function", + "desc" : "getCSSHSL", + "sig" : "()\n{\n\n}", + "static" : false, + "memberOf" : "Roo.lib.Color", + "isStatic" : false, + "isConstructor" : false, + "isPrivate" : false, + "example" : "", + "deprecated" : "", + "since" : "", + "see" : "", + "exceptions" : "", + "requires" : "", + "params" : [], + "returns" : [ + { + "name" : "", + "type" : "String", + "desc" : "a string representing this Color as a CSS HSL Color value - that\nis, a string of the form hsl(h,s%,l%) where h is in the range [0,100] and\ns and l are in the range [0,100]." + } + ] + }, + { + "name" : "getCSSHexadecimalRGB", + "type" : "function", + "desc" : "getCSSHexadecimalRGB", + "sig" : "()\n{\n\n}", + "static" : false, + "memberOf" : "Roo.lib.Color", + "isStatic" : false, + "isConstructor" : false, + "isPrivate" : false, + "example" : "", + "deprecated" : "", + "since" : "", + "see" : "", + "exceptions" : "", + "requires" : "", + "params" : [], + "returns" : [ + { + "name" : "", + "type" : "String", + "desc" : "a string representing this Color as a CSS hexadecimal RGB Color\nvalue - that is, a string of the form #RRGGBB where each of RR, GG, and BB\nare two-digit hexadecimal numbers." + } + ] + }, + { + "name" : "setNodeBackgroundColor", + "type" : "function", + "desc" : "Sets the background Color of the specified node to this Color. This\nfunctions sets the CSS 'background-color' property for the node. The\nparameter is:", + "sig" : "(node)", + "static" : false, + "memberOf" : "Roo.lib.Color", + "isStatic" : false, + "isConstructor" : false, + "isPrivate" : false, + "example" : "", + "deprecated" : "", + "since" : "", + "see" : "", + "exceptions" : "", + "requires" : "", + "params" : [ + { + "name" : "node", + "type" : "DomElement", + "desc" : "- the node whose background Color should be set", + "isOptional" : false + } + ], + "returns" : [] + }, + { + "name" : "getHSL", + "type" : "function", + "desc" : "getHSL", + "sig" : "()\n{\n\n}", + "static" : false, + "memberOf" : "Roo.lib.Color", + "isStatic" : false, + "isConstructor" : false, + "isPrivate" : false, + "example" : "", + "deprecated" : "", + "since" : "", + "see" : "", + "exceptions" : "", + "requires" : "", + "params" : [], + "returns" : [ + { + "name" : "", + "type" : "Object", + "desc" : "the HSL and alpha components of this Color as an object with h,\ns, l, and a properties. h is in the range [0,360), s and l are in the range\n[0,100], and a is in the range [0,1]." + } + ] + }, + { + "name" : "getHSV", + "type" : "function", + "desc" : "getHSV", + "sig" : "()\n{\n\n}", + "static" : false, + "memberOf" : "Roo.lib.Color", + "isStatic" : false, + "isConstructor" : false, + "isPrivate" : false, + "example" : "", + "deprecated" : "", + "since" : "", + "see" : "", + "exceptions" : "", + "requires" : "", + "params" : [], + "returns" : [ + { + "name" : "", + "type" : "Object", + "desc" : "the HSV and alpha components of this Color as an object with h,\ns, v, and a properties. h is in the range [0,360), s and v are in the range\n[0,100], and a is in the range [0,1]." + } + ] + }, + { + "name" : "getCSSPercentageRGB", + "type" : "function", + "desc" : "getCSSPercentageRGB", + "sig" : "()\n{\n\n}", + "static" : false, + "memberOf" : "Roo.lib.Color", + "isStatic" : false, + "isConstructor" : false, + "isPrivate" : false, + "example" : "", + "deprecated" : "", + "since" : "", + "see" : "", + "exceptions" : "", + "requires" : "", + "params" : [], + "returns" : [ + { + "name" : "", + "type" : "String", + "desc" : "a string representing this Color as a CSS percentage RGB Color\nvalue - that is, a string of the form rgb(r%,g%,b%) where each of r, g, and\nb are in the range [0,100]." + } + ] + }, + { + "name" : "setNodeColor", + "type" : "function", + "desc" : "Sets the Color of the specified node to this Color. This functions sets\nthe CSS 'color' property for the node. The parameter is:", + "sig" : "(node)", + "static" : false, + "memberOf" : "Roo.lib.Color", + "isStatic" : false, + "isConstructor" : false, + "isPrivate" : false, + "example" : "", + "deprecated" : "", + "since" : "", + "see" : "", + "exceptions" : "", + "requires" : "", + "params" : [ + { + "name" : "node", + "type" : "DomElement", + "desc" : "- the node whose Color should be set", + "isOptional" : false + } + ], + "returns" : [] + }, + { + "name" : "getCSSIntegerRGB", + "type" : "function", + "desc" : "getCSSIntegerRGB", + "sig" : "()\n{\n\n}", + "static" : false, + "memberOf" : "Roo.lib.Color", + "isStatic" : false, + "isConstructor" : false, + "isPrivate" : false, + "example" : "", + "deprecated" : "", + "since" : "", + "see" : "", + "exceptions" : "", + "requires" : "", + "params" : [], + "returns" : [ + { + "name" : "", + "type" : "String", + "desc" : "a string representing this Color as a CSS integer RGB Color\nvalue - that is, a string of the form rgb(r,g,b) where each of r, g, and b\nare integers in the range [0,255]." + } + ] + }, + { + "name" : "getCSSHSLA", + "type" : "function", + "desc" : "getCSSHSLA", + "sig" : "()\n{\n\n}", + "static" : false, + "memberOf" : "Roo.lib.Color", + "isStatic" : false, + "isConstructor" : false, + "isPrivate" : false, + "example" : "", + "deprecated" : "", + "since" : "", + "see" : "", + "exceptions" : "", + "requires" : "", + "params" : [], + "returns" : [ + { + "name" : "", + "type" : "String", + "desc" : "a string representing this Color as a CSS HSLA Color value - that\nis, a string of the form hsla(h,s%,l%,a) where h is in the range [0,100],\ns and l are in the range [0,100], and a is in the range [0,1]." + } + ] + }, + { + "name" : "getCSSPercentageRGBA", + "type" : "function", + "desc" : "getCSSPercentageRGBA", + "sig" : "()\n{\n\n}", + "static" : false, + "memberOf" : "Roo.lib.Color", + "isStatic" : false, + "isConstructor" : false, + "isPrivate" : false, + "example" : "", + "deprecated" : "", + "since" : "", + "see" : "", + "exceptions" : "", + "requires" : "", + "params" : [], + "returns" : [ + { + "name" : "", + "type" : "String", + "desc" : "a string representing this Color as a CSS percentage RGBA Color\nvalue - that is, a string of the form rgba(r%,g%,b%,a) where each of r, g,\nand b are in the range [0,100] and a is in the range [0,1]." + } + ] + } + ], + "events" : [] +} \ No newline at end of file diff --git a/docs/symbols/Roo.lib.RGBColor.json b/docs/symbols/Roo.lib.RGBColor.json new file mode 100644 index 0000000000..38c4b92bac --- /dev/null +++ b/docs/symbols/Roo.lib.RGBColor.json @@ -0,0 +1,405 @@ +{ + "name" : "Roo.lib.RGBColor", + "augments" : [ + "Roo.lib.Color" + ], + "childClasses" : { }, + "tree_children" : [], + "tree_parent" : [], + "desc" : "Creates a Color specified in the RGB Color space, with an optional alpha\ncomponent. The parameters are:", + "isSingleton" : false, + "isStatic" : false, + "isBuiltin" : false, + "isAbstract" : false, + "isBuilderTop" : false, + "memberOf" : "RGBColor", + "example" : "", + "deprecated" : "", + "since" : "", + "see" : "", + "params" : [ + { + "name" : "r", + "type" : "Number", + "desc" : "- the red component, clipped to the range [0,255]", + "isOptional" : false + }, + { + "name" : "g", + "type" : "Number", + "desc" : "- the green component, clipped to the range [0,255]", + "isOptional" : false + }, + { + "name" : "b", + "type" : "Number", + "desc" : "- the blue component, clipped to the range [0,255]", + "isOptional" : false + }, + { + "name" : "a", + "type" : "Number", + "desc" : "- the alpha component, clipped to the range [0,1] - this parameter is\n optional and defaults to 1", + "isOptional" : false + } + ], + "returns" : [], + "throws" : "", + "requires" : "", + "config" : [], + "methods" : [ + { + "name" : "getPercentageRGB", + "type" : "function", + "desc" : "getPercentageRGB", + "sig" : "()\n{\n\n}", + "static" : false, + "memberOf" : "Roo.lib.Color", + "isStatic" : false, + "isConstructor" : false, + "isPrivate" : false, + "example" : "", + "deprecated" : "", + "since" : "", + "see" : "", + "exceptions" : "", + "requires" : "", + "params" : [], + "returns" : [ + { + "name" : "", + "type" : "Object", + "desc" : "an object representing the RGBA components of this Color. The red,\ngreen, and blue components are converted to numbers in the range [0,100].\nThe alpha is a value in the range [0,1]." + } + ] + }, + { + "name" : "getRGB", + "type" : "function", + "desc" : "getRGB", + "sig" : "()\n{\n\n}", + "static" : false, + "memberOf" : "Roo.lib.Color", + "isStatic" : false, + "isConstructor" : false, + "isPrivate" : false, + "example" : "", + "deprecated" : "", + "since" : "", + "see" : "", + "exceptions" : "", + "requires" : "", + "params" : [], + "returns" : [ + { + "name" : "", + "type" : "Object", + "desc" : "the RGB and alpha components of this Color as an object with r,\ng, b, and a properties. r, g, and b are in the range [0,255] and a is in\nthe range [0,1]." + } + ] + }, + { + "name" : "getIntegerRGB", + "type" : "function", + "desc" : "getIntegerRGB", + "sig" : "()\n{\n\n}", + "static" : false, + "memberOf" : "Roo.lib.Color", + "isStatic" : false, + "isConstructor" : false, + "isPrivate" : false, + "example" : "", + "deprecated" : "", + "since" : "", + "see" : "", + "exceptions" : "", + "requires" : "", + "params" : [], + "returns" : [ + { + "name" : "", + "type" : "Object", + "desc" : "an object representing the RGBA components of this Color. The red,\ngreen, and blue components are converted to integers in the range [0,255].\nThe alpha is a value in the range [0,1]." + } + ] + }, + { + "name" : "getCSSIntegerRGBA", + "type" : "function", + "desc" : "getCSSIntegerRGBA", + "sig" : "()\n{\n\n}", + "static" : false, + "memberOf" : "Roo.lib.Color", + "isStatic" : false, + "isConstructor" : false, + "isPrivate" : false, + "example" : "", + "deprecated" : "", + "since" : "", + "see" : "", + "exceptions" : "", + "requires" : "", + "params" : [], + "returns" : [ + { + "name" : "", + "type" : "String", + "desc" : "Returns a string representing this Color as a CSS integer RGBA Color\nvalue - that is, a string of the form rgba(r,g,b,a) where each of r, g, and\nb are integers in the range [0,255] and a is in the range [0,1]." + } + ] + }, + { + "name" : "getCSSHSL", + "type" : "function", + "desc" : "getCSSHSL", + "sig" : "()\n{\n\n}", + "static" : false, + "memberOf" : "Roo.lib.Color", + "isStatic" : false, + "isConstructor" : false, + "isPrivate" : false, + "example" : "", + "deprecated" : "", + "since" : "", + "see" : "", + "exceptions" : "", + "requires" : "", + "params" : [], + "returns" : [ + { + "name" : "", + "type" : "String", + "desc" : "a string representing this Color as a CSS HSL Color value - that\nis, a string of the form hsl(h,s%,l%) where h is in the range [0,100] and\ns and l are in the range [0,100]." + } + ] + }, + { + "name" : "getCSSHexadecimalRGB", + "type" : "function", + "desc" : "getCSSHexadecimalRGB", + "sig" : "()\n{\n\n}", + "static" : false, + "memberOf" : "Roo.lib.Color", + "isStatic" : false, + "isConstructor" : false, + "isPrivate" : false, + "example" : "", + "deprecated" : "", + "since" : "", + "see" : "", + "exceptions" : "", + "requires" : "", + "params" : [], + "returns" : [ + { + "name" : "", + "type" : "String", + "desc" : "a string representing this Color as a CSS hexadecimal RGB Color\nvalue - that is, a string of the form #RRGGBB where each of RR, GG, and BB\nare two-digit hexadecimal numbers." + } + ] + }, + { + "name" : "setNodeBackgroundColor", + "type" : "function", + "desc" : "Sets the background Color of the specified node to this Color. This\nfunctions sets the CSS 'background-color' property for the node. The\nparameter is:", + "sig" : "(node)", + "static" : false, + "memberOf" : "Roo.lib.Color", + "isStatic" : false, + "isConstructor" : false, + "isPrivate" : false, + "example" : "", + "deprecated" : "", + "since" : "", + "see" : "", + "exceptions" : "", + "requires" : "", + "params" : [ + { + "name" : "node", + "type" : "DomElement", + "desc" : "- the node whose background Color should be set", + "isOptional" : false + } + ], + "returns" : [] + }, + { + "name" : "getHSL", + "type" : "function", + "desc" : "getHSL", + "sig" : "()\n{\n\n}", + "static" : false, + "memberOf" : "Roo.lib.Color", + "isStatic" : false, + "isConstructor" : false, + "isPrivate" : false, + "example" : "", + "deprecated" : "", + "since" : "", + "see" : "", + "exceptions" : "", + "requires" : "", + "params" : [], + "returns" : [ + { + "name" : "", + "type" : "Object", + "desc" : "the HSL and alpha components of this Color as an object with h,\ns, l, and a properties. h is in the range [0,360), s and l are in the range\n[0,100], and a is in the range [0,1]." + } + ] + }, + { + "name" : "getHSV", + "type" : "function", + "desc" : "getHSV", + "sig" : "()\n{\n\n}", + "static" : false, + "memberOf" : "Roo.lib.Color", + "isStatic" : false, + "isConstructor" : false, + "isPrivate" : false, + "example" : "", + "deprecated" : "", + "since" : "", + "see" : "", + "exceptions" : "", + "requires" : "", + "params" : [], + "returns" : [ + { + "name" : "", + "type" : "Object", + "desc" : "the HSV and alpha components of this Color as an object with h,\ns, v, and a properties. h is in the range [0,360), s and v are in the range\n[0,100], and a is in the range [0,1]." + } + ] + }, + { + "name" : "getCSSPercentageRGB", + "type" : "function", + "desc" : "getCSSPercentageRGB", + "sig" : "()\n{\n\n}", + "static" : false, + "memberOf" : "Roo.lib.Color", + "isStatic" : false, + "isConstructor" : false, + "isPrivate" : false, + "example" : "", + "deprecated" : "", + "since" : "", + "see" : "", + "exceptions" : "", + "requires" : "", + "params" : [], + "returns" : [ + { + "name" : "", + "type" : "String", + "desc" : "a string representing this Color as a CSS percentage RGB Color\nvalue - that is, a string of the form rgb(r%,g%,b%) where each of r, g, and\nb are in the range [0,100]." + } + ] + }, + { + "name" : "setNodeColor", + "type" : "function", + "desc" : "Sets the Color of the specified node to this Color. This functions sets\nthe CSS 'color' property for the node. The parameter is:", + "sig" : "(node)", + "static" : false, + "memberOf" : "Roo.lib.Color", + "isStatic" : false, + "isConstructor" : false, + "isPrivate" : false, + "example" : "", + "deprecated" : "", + "since" : "", + "see" : "", + "exceptions" : "", + "requires" : "", + "params" : [ + { + "name" : "node", + "type" : "DomElement", + "desc" : "- the node whose Color should be set", + "isOptional" : false + } + ], + "returns" : [] + }, + { + "name" : "getCSSIntegerRGB", + "type" : "function", + "desc" : "getCSSIntegerRGB", + "sig" : "()\n{\n\n}", + "static" : false, + "memberOf" : "Roo.lib.Color", + "isStatic" : false, + "isConstructor" : false, + "isPrivate" : false, + "example" : "", + "deprecated" : "", + "since" : "", + "see" : "", + "exceptions" : "", + "requires" : "", + "params" : [], + "returns" : [ + { + "name" : "", + "type" : "String", + "desc" : "a string representing this Color as a CSS integer RGB Color\nvalue - that is, a string of the form rgb(r,g,b) where each of r, g, and b\nare integers in the range [0,255]." + } + ] + }, + { + "name" : "getCSSHSLA", + "type" : "function", + "desc" : "getCSSHSLA", + "sig" : "()\n{\n\n}", + "static" : false, + "memberOf" : "Roo.lib.Color", + "isStatic" : false, + "isConstructor" : false, + "isPrivate" : false, + "example" : "", + "deprecated" : "", + "since" : "", + "see" : "", + "exceptions" : "", + "requires" : "", + "params" : [], + "returns" : [ + { + "name" : "", + "type" : "String", + "desc" : "a string representing this Color as a CSS HSLA Color value - that\nis, a string of the form hsla(h,s%,l%,a) where h is in the range [0,100],\ns and l are in the range [0,100], and a is in the range [0,1]." + } + ] + }, + { + "name" : "getCSSPercentageRGBA", + "type" : "function", + "desc" : "getCSSPercentageRGBA", + "sig" : "()\n{\n\n}", + "static" : false, + "memberOf" : "Roo.lib.Color", + "isStatic" : false, + "isConstructor" : false, + "isPrivate" : false, + "example" : "", + "deprecated" : "", + "since" : "", + "see" : "", + "exceptions" : "", + "requires" : "", + "params" : [], + "returns" : [ + { + "name" : "", + "type" : "String", + "desc" : "a string representing this Color as a CSS percentage RGBA Color\nvalue - that is, a string of the form rgba(r%,g%,b%,a) where each of r, g,\nand b are in the range [0,100] and a is in the range [0,1]." + } + ] + } + ], + "events" : [] +} \ No newline at end of file diff --git a/docs/symbols/Roo.menu.MenuMgr.json b/docs/symbols/Roo.menu.MenuMgr.json index 0e91e222ad..518244a072 100644 --- a/docs/symbols/Roo.menu.MenuMgr.json +++ b/docs/symbols/Roo.menu.MenuMgr.json @@ -5,7 +5,7 @@ "tree_children" : [], "tree_parent" : [], "desc" : "Provides a common registry of all menu items on a page so that they can be easily accessed by id.", - "isSingleton" : true, + "isSingleton" : false, "isStatic" : true, "isBuiltin" : false, "isAbstract" : false, diff --git a/docs/symbols/Roo.state.Manager.json b/docs/symbols/Roo.state.Manager.json index f07deaff5f..4d7258f191 100644 --- a/docs/symbols/Roo.state.Manager.json +++ b/docs/symbols/Roo.state.Manager.json @@ -5,7 +5,7 @@ "tree_children" : [], "tree_parent" : [], "desc" : "This is the global state manager. By default all components that are \"state aware\" check this class\nfor state information if you don't pass them a custom state provider. In order for this class\nto be useful, it must be initialized with a provider when your application initializes.\n
\n// in your initialization function\ninit : function(){\n   Roo.state.Manager.setProvider(new Roo.state.CookieProvider());\n   ...\n   // supposed you have a {@link Roo.BorderLayout}\n   var layout = new Roo.BorderLayout(...);\n   layout.restoreState();\n   // or a {Roo.BasicDialog}\n   var dialog = new Roo.BasicDialog(...);\n   dialog.restoreState();\n 
", - "isSingleton" : true, + "isSingleton" : false, "isStatic" : true, "isBuiltin" : false, "isAbstract" : false, diff --git a/docs/symbols/Roo.util.CSS.json b/docs/symbols/Roo.util.CSS.json index 604bc117ff..7d12370761 100644 --- a/docs/symbols/Roo.util.CSS.json +++ b/docs/symbols/Roo.util.CSS.json @@ -5,7 +5,7 @@ "tree_children" : [], "tree_parent" : [], "desc" : "Utility class for manipulating CSS rules", - "isSingleton" : true, + "isSingleton" : false, "isStatic" : true, "isBuiltin" : false, "isAbstract" : false, diff --git a/docs/symbols/Roo.util.TextMetrics.json b/docs/symbols/Roo.util.TextMetrics.json index dac082251a..eda03bc94c 100644 --- a/docs/symbols/Roo.util.TextMetrics.json +++ b/docs/symbols/Roo.util.TextMetrics.json @@ -5,7 +5,7 @@ "tree_children" : [], "tree_parent" : [], "desc" : "Provides precise pixel measurements for blocks of text so that you can determine exactly how high and\nwide, in pixels, a given block of text will be.", - "isSingleton" : true, + "isSingleton" : false, "isStatic" : true, "isBuiltin" : false, "isAbstract" : false, diff --git a/roojs-bootstrap-debug.js b/roojs-bootstrap-debug.js index c45b4ca1ba..78b217e0fb 100644 --- a/roojs-bootstrap-debug.js +++ b/roojs-bootstrap-debug.js @@ -3428,7 +3428,7 @@ Roo.extend(Roo.bootstrap.Header, Roo.bootstrap.Component, { * @class Roo.bootstrap.MenuMgr * @licence LGPL * Provides a common registry of all menu items on a page so that they can be easily accessed by id. - * @singleton + * @static */ Roo.bootstrap.menu.Manager = function(){ var menus, active, groups = {}, attached = false, lastShow = new Date(); @@ -4980,7 +4980,7 @@ Roo.Msg.show({ animEl: 'elId' }); - * @singleton + * @static */ Roo.bootstrap.MessageBox = function(){ var dlg, opt, mask, waitTimer; @@ -12129,7 +12129,7 @@ Roo.apply(Roo.bootstrap.form.Form, { /** * @class Roo.form.VTypes * Overridable validation definitions. The validations provided are basic and intended to be easily customizable and extended. - * @singleton + * @static */ Roo.form.VTypes = function(){ // closure these in so they are only created once. @@ -14687,7 +14687,7 @@ Roo.bootstrap.form.CardUploader.ID = -1;/* /** * @class Roo.data.SortTypes - * @singleton + * @static * Defines the default sorting (casting?) comparison functions used when sorting data. */ Roo.data.SortTypes = { diff --git a/roojs-ui-debug.js b/roojs-ui-debug.js index 69104bd152..3abb82929c 100644 --- a/roojs-ui-debug.js +++ b/roojs-ui-debug.js @@ -12,7 +12,7 @@ /** * @class Roo.data.SortTypes - * @singleton + * @static * Defines the default sorting (casting?) comparison functions used when sorting data. */ Roo.data.SortTypes = { @@ -10286,7 +10286,7 @@ Roo.Msg.show({ animEl: 'elId' }); - * @singleton + * @static */ Roo.MessageBox = function(){ var dlg, opt, mask, waitTimer; @@ -10815,7 +10815,7 @@ Roo.Msg = Roo.MessageBox;/* /** * @class Roo.QuickTips * Provides attractive and customizable tooltips for any element. - * @singleton + * @static */ Roo.QuickTips = function(){ var el, tipBody, tipBodyText, tipTitle, tm, cfg, close, tagEls = {}, esc, removeCls = null, bdLeft, bdRight; @@ -14967,7 +14967,7 @@ Roo.extend(Roo.menu.MenuNav, Roo.KeyNav, { /** * @class Roo.menu.MenuMgr * Provides a common registry of all menu items on a page so that they can be easily accessed by id. - * @singleton + * @static */ Roo.menu.MenuMgr = function(){ var menus, active, groups = {}, attached = false, lastShow = new Date(); @@ -26471,7 +26471,7 @@ Roo.extend(Roo.form.FieldSet, Roo.form.Layout, { /** * @class Roo.form.VTypes * Overridable validation definitions. The validations provided are basic and intended to be easily customizable and extended. - * @singleton + * @static */ Roo.form.VTypes = function(){ // closure these in so they are only created once. -- 2.39.2