1 Ext.data.JsonP.Ext_draw_Color({
15 "href": "Color2.html#Ext-draw-Color-cfg-lightnessFactor",
16 "shortDoc": "The default factor to compute the lighter or darker color. ...",
18 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/draw/Color.js",
20 "name": "lightnessFactor",
21 "owner": "Ext.draw.Color",
22 "doc": "<p>The default factor to compute the lighter or darker color. Defaults to 0.2.</p>\n",
24 "html_filename": "Color2.html"
31 "href": "Color2.html#Ext-draw-Color-method-constructor",
34 "shortDoc": "Creates new Color. ...",
40 "doc": "<p>Red component (0..255)</p>\n",
46 "doc": "<p>Green component (0..255)</p>\n",
52 "doc": "<p>Blue component (0..255)</p>\n",
57 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/draw/Color.js",
58 "doc": "<p>Creates new Color.</p>\n",
59 "owner": "Ext.draw.Color",
61 "html_filename": "Color2.html",
73 "href": "Base3.html#Ext-Base-method-addStatics",
74 "shortDoc": "Add / override static properties of this class. ...",
76 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
88 "doc": "<p>Add / override static properties of this class.</p>\n\n<pre><code>Ext.define('My.cool.Class', {\n ...\n});\n\nMy.cool.Class.addStatics({\n someProperty: 'someValue', // My.cool.Class.someProperty = 'someValue'\n method1: function() { ... }, // My.cool.Class.method1 = function() { ... };\n method2: function() { ... } // My.cool.Class.method2 = function() { ... };\n});\n</code></pre>\n",
92 "doc": "<p>this</p>\n"
94 "html_filename": "Base3.html"
101 "href": "Base3.html#Ext-Base-method-callOverridden",
102 "shortDoc": "Call the original method that was previously overridden with Ext.Base.override\n\nExt.define('My.Cat', {\n constructo...",
104 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
108 "type": "Array/Arguments",
110 "doc": "<p>The arguments, either an array or the <code>arguments</code> object</p>\n",
114 "name": "callOverridden",
116 "doc": "<p>Call the original method that was previously overridden with <a href=\"#/api/Ext.Base-method-override\" rel=\"Ext.Base-method-override\" class=\"docClass\">Ext.Base.override</a></p>\n\n<pre><code>Ext.define('My.Cat', {\n constructor: function() {\n alert(\"I'm a cat!\");\n\n return this;\n }\n});\n\nMy.Cat.override({\n constructor: function() {\n alert(\"I'm going to be a cat!\");\n\n var instance = this.callOverridden();\n\n alert(\"Meeeeoooowwww\");\n\n return instance;\n }\n});\n\nvar kitty = new My.Cat(); // alerts \"I'm going to be a cat!\"\n // alerts \"I'm a cat!\"\n // alerts \"Meeeeoooowwww\"\n</code></pre>\n",
120 "doc": "<p>Returns the result after calling the overridden method</p>\n"
122 "html_filename": "Base3.html"
129 "href": "Base3.html#Ext-Base-method-callParent",
130 "shortDoc": "Call the parent's overridden method. ...",
132 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
136 "type": "Array/Arguments",
138 "doc": "<p>The arguments, either an array or the <code>arguments</code> object\nfrom the current method, for example: <code>this.callParent(arguments)</code></p>\n",
142 "name": "callParent",
144 "doc": "<p>Call the parent's overridden method. For example:</p>\n\n<pre><code>Ext.define('My.own.A', {\n constructor: function(test) {\n alert(test);\n }\n});\n\nExt.define('My.own.B', {\n extend: 'My.own.A',\n\n constructor: function(test) {\n alert(test);\n\n this.callParent([test + 1]);\n }\n});\n\nExt.define('My.own.C', {\n extend: 'My.own.B',\n\n constructor: function() {\n alert(\"Going to call parent's overriden constructor...\");\n\n this.callParent(arguments);\n }\n});\n\nvar a = new My.own.A(1); // alerts '1'\nvar b = new My.own.B(1); // alerts '1', then alerts '2'\nvar c = new My.own.C(2); // alerts \"Going to call parent's overriden constructor...\"\n // alerts '2', then alerts '3'\n</code></pre>\n",
148 "doc": "<p>Returns the result from the superclass' method</p>\n"
150 "html_filename": "Base3.html"
157 "href": "Base3.html#Ext-Base-method-create",
158 "shortDoc": "Create a new instance of this Class. ...",
160 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
167 "doc": "<p>Create a new instance of this Class.</p>\n\n<pre><code>Ext.define('My.cool.Class', {\n ...\n});\n\nMy.cool.Class.create({\n someConfig: true\n});\n</code></pre>\n\n<p>All parameters are passed to the constructor of the class.</p>\n",
171 "doc": "<p>the created instance.</p>\n"
173 "html_filename": "Base3.html"
180 "href": "Base3.html#Ext-Base-method-createAlias",
181 "shortDoc": "Create aliases for existing prototype methods. ...",
183 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
187 "type": "String/Object",
189 "doc": "<p>The new method name, or an object to set multiple aliases. See\n<a href=\"#/api/Ext.Function-method-flexSetter\" rel=\"Ext.Function-method-flexSetter\" class=\"docClass\">flexSetter</a></p>\n",
193 "type": "String/Object",
195 "doc": "<p>The original method name</p>\n",
199 "name": "createAlias",
201 "doc": "<p>Create aliases for existing prototype methods. Example:</p>\n\n<pre><code>Ext.define('My.cool.Class', {\n method1: function() { ... },\n method2: function() { ... }\n});\n\nvar test = new My.cool.Class();\n\nMy.cool.Class.createAlias({\n method3: 'method1',\n method4: 'method2'\n});\n\ntest.method3(); // test.method1()\n\nMy.cool.Class.createAlias('method5', 'method3');\n\ntest.method5(); // test.method3() -> test.method1()\n</code></pre>\n",
207 "html_filename": "Base3.html"
214 "href": "Color2.html#Ext-draw-Color-method-fromHSL",
215 "shortDoc": "Create a new color based on the specified HSL values. ...",
217 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/draw/Color.js",
223 "doc": "<p>Hue component (0..359)</p>\n",
229 "doc": "<p>Saturation component (0..1)</p>\n",
235 "doc": "<p>Lightness component (0..1)</p>\n",
240 "owner": "Ext.draw.Color",
241 "doc": "<p>Create a new color based on the specified HSL values.</p>\n\n<p><strong>Note:</strong> This method is both static and instance.</p>\n",
245 "doc": "<p>Ext.draw.Color</p>\n"
247 "html_filename": "Color2.html"
254 "href": "Color2.html#Ext-draw-Color-method-fromString",
255 "shortDoc": "Parse the string and create a new color. ...",
257 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/draw/Color.js",
263 "doc": "<p>Color in string.</p>\n",
267 "name": "fromString",
268 "owner": "Ext.draw.Color",
269 "doc": "<p>Parse the string and create a new color.</p>\n\n<p>Supported formats: '#rrggbb', '#rgb', and 'rgb(r,g,b)'.</p>\n\n<p>If the string is not recognized, an undefined will be returned instead.</p>\n\n<p><strong>Note:</strong> This method is both static and instance.</p>\n",
273 "doc": "<p>Ext.draw.Color</p>\n"
275 "html_filename": "Color2.html"
282 "href": "Color2.html#Ext-draw-Color-method-getBlue",
283 "shortDoc": "Get the blue component of the color, in the range 0..255. ...",
285 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/draw/Color.js",
291 "owner": "Ext.draw.Color",
292 "doc": "<p>Get the blue component of the color, in the range 0..255.</p>\n",
298 "html_filename": "Color2.html"
305 "href": "Color2.html#Ext-draw-Color-method-getDarker",
306 "shortDoc": "Return a new color that is darker than this color. ...",
308 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/draw/Color.js",
314 "doc": "<p>Darker factor (0..1), default to 0.2</p>\n",
319 "owner": "Ext.draw.Color",
320 "doc": "<p>Return a new color that is darker than this color.</p>\n",
324 "doc": "<p>Ext.draw.Color</p>\n"
326 "html_filename": "Color2.html"
333 "href": "Color2.html#Ext-draw-Color-method-getGrayscale",
334 "shortDoc": "Returns the gray value (0 to 255) of the color. ...",
336 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/draw/Color.js",
341 "name": "getGrayscale",
342 "owner": "Ext.draw.Color",
343 "doc": "<p>Returns the gray value (0 to 255) of the color.</p>\n\n<p>The gray value is calculated using the formula r<em>0.3 + g</em>0.59 + b*0.11.</p>\n",
349 "html_filename": "Color2.html"
356 "href": "Color2.html#Ext-draw-Color-method-getGreen",
357 "shortDoc": "Get the green component of the color, in the range 0..255. ...",
359 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/draw/Color.js",
365 "owner": "Ext.draw.Color",
366 "doc": "<p>Get the green component of the color, in the range 0..255.</p>\n",
372 "html_filename": "Color2.html"
379 "href": "Color2.html#Ext-draw-Color-method-getHSL",
380 "shortDoc": "Get the equivalent HSL components of the color. ...",
382 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/draw/Color.js",
388 "owner": "Ext.draw.Color",
389 "doc": "<p>Get the equivalent HSL components of the color.</p>\n",
395 "html_filename": "Color2.html"
402 "href": "Color2.html#Ext-draw-Color-method-getLighter",
403 "shortDoc": "Return a new color that is lighter than this color. ...",
405 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/draw/Color.js",
411 "doc": "<p>Lighter factor (0..1), default to 0.2</p>\n",
415 "name": "getLighter",
416 "owner": "Ext.draw.Color",
417 "doc": "<p>Return a new color that is lighter than this color.</p>\n",
421 "doc": "<p>Ext.draw.Color</p>\n"
423 "html_filename": "Color2.html"
430 "href": "Base3.html#Ext-Base-method-getName",
431 "shortDoc": "Get the current class' name in string format. ...",
433 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
440 "doc": "<p>Get the current class' name in string format.</p>\n\n<pre><code>Ext.define('My.cool.Class', {\n constructor: function() {\n alert(this.self.getName()); // alerts 'My.cool.Class'\n }\n});\n\nMy.cool.Class.getName(); // 'My.cool.Class'\n</code></pre>\n",
444 "doc": "<p>className</p>\n"
446 "html_filename": "Base3.html"
453 "href": "Color2.html#Ext-draw-Color-method-getRGB",
454 "shortDoc": "Get the RGB values. ...",
456 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/draw/Color.js",
462 "owner": "Ext.draw.Color",
463 "doc": "<p>Get the RGB values.</p>\n",
469 "html_filename": "Color2.html"
476 "href": "Color2.html#Ext-draw-Color-method-getRed",
477 "shortDoc": "Get the red component of the color, in the range 0..255. ...",
479 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/draw/Color.js",
485 "owner": "Ext.draw.Color",
486 "doc": "<p>Get the red component of the color, in the range 0..255.</p>\n",
492 "html_filename": "Color2.html"
499 "href": "Base3.html#Ext-Base-method-implement",
500 "shortDoc": "Add methods / properties to the prototype of this class. ...",
502 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
514 "doc": "<p>Add methods / properties to the prototype of this class.</p>\n\n<pre><code>Ext.define('My.awesome.Cat', {\n constructor: function() {\n ...\n }\n});\n\n My.awesome.Cat.implement({\n meow: function() {\n alert('Meowww...');\n }\n });\n\n var kitty = new My.awesome.Cat;\n kitty.meow();\n</code></pre>\n",
520 "html_filename": "Base3.html"
527 "href": "Base3.html#Ext-Base-method-initConfig",
528 "shortDoc": "Initialize configuration for this class. ...",
530 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
540 "name": "initConfig",
542 "doc": "<p>Initialize configuration for this class. a typical example:</p>\n\n<pre><code>Ext.define('My.awesome.Class', {\n // The default config\n config: {\n name: 'Awesome',\n isAwesome: true\n },\n\n constructor: function(config) {\n this.initConfig(config);\n\n return this;\n }\n});\n\nvar awesome = new My.awesome.Class({\n name: 'Super Awesome'\n});\n\nalert(awesome.getName()); // 'Super Awesome'\n</code></pre>\n",
546 "doc": "<p>mixins The mixin prototypes as key - value pairs</p>\n"
548 "html_filename": "Base3.html"
555 "href": "Base3.html#Ext-Base-method-override",
556 "shortDoc": "Override prototype members of this class. ...",
558 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
570 "doc": "<p>Override prototype members of this class. Overridden methods can be invoked via\n<a href=\"#/api/Ext.Base-method-callOverridden\" rel=\"Ext.Base-method-callOverridden\" class=\"docClass\">Ext.Base.callOverridden</a></p>\n\n<pre><code>Ext.define('My.Cat', {\n constructor: function() {\n alert(\"I'm a cat!\");\n\n return this;\n }\n});\n\nMy.Cat.override({\n constructor: function() {\n alert(\"I'm going to be a cat!\");\n\n var instance = this.callOverridden();\n\n alert(\"Meeeeoooowwww\");\n\n return instance;\n }\n});\n\nvar kitty = new My.Cat(); // alerts \"I'm going to be a cat!\"\n // alerts \"I'm a cat!\"\n // alerts \"Meeeeoooowwww\"\n</code></pre>\n",
574 "doc": "<p>this</p>\n"
576 "html_filename": "Base3.html"
583 "href": "Base3.html#Ext-Base-method-statics",
584 "shortDoc": "Get the reference to the class from which this object was instantiated. ...",
586 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
593 "doc": "<p>Get the reference to the class from which this object was instantiated. Note that unlike <a href=\"#/api/Ext.Base-property-self\" rel=\"Ext.Base-property-self\" class=\"docClass\">Ext.Base.self</a>,\n<code>this.statics()</code> is scope-independent and it always returns the class from which it was called, regardless of what\n<code>this</code> points to during run-time</p>\n\n<pre><code>Ext.define('My.Cat', {\n statics: {\n totalCreated: 0,\n speciesName: 'Cat' // My.Cat.speciesName = 'Cat'\n },\n\n constructor: function() {\n var statics = this.statics();\n\n alert(statics.speciesName); // always equals to 'Cat' no matter what 'this' refers to\n // equivalent to: My.Cat.speciesName\n\n alert(this.self.speciesName); // dependent on 'this'\n\n statics.totalCreated++;\n\n return this;\n },\n\n clone: function() {\n var cloned = new this.self; // dependent on 'this'\n\n cloned.groupName = this.statics().speciesName; // equivalent to: My.Cat.speciesName\n\n return cloned;\n }\n});\n\n\nExt.define('My.SnowLeopard', {\n extend: 'My.Cat',\n\n statics: {\n speciesName: 'Snow Leopard' // My.SnowLeopard.speciesName = 'Snow Leopard'\n },\n\n constructor: function() {\n this.callParent();\n }\n});\n\nvar cat = new My.Cat(); // alerts 'Cat', then alerts 'Cat'\n\nvar snowLeopard = new My.SnowLeopard(); // alerts 'Cat', then alerts 'Snow Leopard'\n\nvar clone = snowLeopard.clone();\nalert(Ext.getClassName(clone)); // alerts 'My.SnowLeopard'\nalert(clone.groupName); // alerts 'Cat'\n\nalert(My.Cat.totalCreated); // alerts 3\n</code></pre>\n",
599 "html_filename": "Base3.html"
606 "href": "Color2.html#Ext-draw-Color-method-toHex",
607 "shortDoc": "Convert a color to hexadecimal format. ...",
609 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/draw/Color.js",
613 "type": "String/[String]",
615 "doc": "<p>The color value (i.e 'rgb(255, 255, 255)', 'color: #ffffff').\nCan also be an Array, in this case the function handles the first member.</p>\n",
620 "owner": "Ext.draw.Color",
621 "doc": "<p>Convert a color to hexadecimal format.</p>\n\n<p><strong>Note:</strong> This method is both static and instance.</p>\n",
625 "doc": "<p>The color in hexadecimal format.</p>\n"
627 "html_filename": "Color2.html"
634 "href": "Color2.html#Ext-draw-Color-method-toString",
635 "shortDoc": "Return the color in the hex format, i.e. ...",
637 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/draw/Color.js",
643 "owner": "Ext.draw.Color",
644 "doc": "<p>Return the color in the hex format, i.e. '#rrggbb'.</p>\n",
650 "html_filename": "Color2.html"
659 "tagname": "property",
660 "href": "Base3.html#Ext-Base-property-self",
661 "shortDoc": "Get the reference to the current class from which this object was instantiated. ...",
663 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
667 "doc": "<p>Get the reference to the current class from which this object was instantiated. Unlike <a href=\"#/api/Ext.Base-method-statics\" rel=\"Ext.Base-method-statics\" class=\"docClass\">Ext.Base.statics</a>,\n<code>this.self</code> is scope-dependent and it's meant to be used for dynamic inheritance. See <a href=\"#/api/Ext.Base-method-statics\" rel=\"Ext.Base-method-statics\" class=\"docClass\">Ext.Base.statics</a>\nfor a detailed comparison</p>\n\n<pre><code>Ext.define('My.Cat', {\n statics: {\n speciesName: 'Cat' // My.Cat.speciesName = 'Cat'\n },\n\n constructor: function() {\n alert(this.self.speciesName); / dependent on 'this'\n\n return this;\n },\n\n clone: function() {\n return new this.self();\n }\n});\n\n\nExt.define('My.SnowLeopard', {\n extend: 'My.Cat',\n statics: {\n speciesName: 'Snow Leopard' // My.SnowLeopard.speciesName = 'Snow Leopard'\n }\n});\n\nvar cat = new My.Cat(); // alerts 'Cat'\nvar snowLeopard = new My.SnowLeopard(); // alerts 'Snow Leopard'\n\nvar clone = snowLeopard.clone();\nalert(Ext.getClassName(clone)); // alerts 'My.SnowLeopard'\n</code></pre>\n",
669 "html_filename": "Base3.html"
692 "href": "Color2.html#Ext-draw-Color",
699 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/draw/Color.js",
701 "alternateClassNames": [
704 "name": "Ext.draw.Color",
705 "doc": "<p>Represents an RGB color and provides helper functions get\ncolor components in HSL color space.</p>\n",
713 "html_filename": "Color2.html",
714 "extends": "Ext.Base"