dojo.lang.funcA registry to make contextual calling/searching easier.Objects of this class keep list of arrays in the form [name, check, wrap, directReturn] that are used to determine what the contextual result of a set of checked arguments is. All check/wrap functions in this registry should be of the same arity.register a check function to determine if the wrap function or object gets selecteda way to identify this matcher.a function that arguments are passed to from the adapter's match() function. The check function should return true if the given arguments are appropriate for the wrap function.If directReturn is true, the value passed in for wrap will be returned instead of being called. Alternately, the AdapterRegistry can be set globally to "return not call" using the returnWrappers property. Either way, this behavior allows the registry to act as a "search" function instead of a function interception library.If override is given and true, the check function will be given highest priority. Otherwise, it will be the lowest priority adapter.Find an adapter for the given arguments. If no suitable adapter is found, throws an exception. match() accepts any number of arguments, all of which are passed to all matching functions from the registered pairs.Remove a named adapter from the registrydojo.lang.funcCancels a Deferred that has not yet received a value, or is waiting on another Deferred as its value.If a canceller is defined, the canceller is called. If the canceller did not return an error, or there was no canceller, then the errback chain is started with CancelledError.Used internally to signal that it's waiting on another DeferredUsed internally to signal that it's no longer waiting on another Deferred.Used internally when a dependent deferred fires.Begin the callback sequence with a non-error value.Begin the callback sequence with an error result.Add a single callback to the end of the callback sequence.Add a single callback to the end of the callback sequence.Add separate callback and errback to the end of the callback sequence.Used internally to exhaust the callback sequence when a result is available.dojo.Deferreddojo.Deferreddojo.uri.*dojo.html.commonperform check for accessibility if accessibility checking is turned on and the accessibility test has not been performed yetAlways perform the accessibility check to determine if high contrast mode is on or display of images are turned off. Currently only checks in IE and Mozilla.Set whether or not to check for accessibility mode. Default value of module is true - perform check for accessibility modes.- true to check; false to turn off checkingperform the accessibility check and sets the correct mode to load a11y widgets. Only runs if test for accessiiblity has not been performed yet. Call testAccessible() to force the test.path to the test image for determining if images are displayed or notif true will perform check for need to create accessible widgetsuninitialized when null (accessible check has not been performed) if true generate accessible widgetsdojo.animation.AnimationEventdojo.lang.funcdojo.mathdojo.math.curvesAnimation object iterates a set of numbers over a curve for a given amount of time, calling 'onAnimate' at each step.to animate over.of the animation, in milliseconds.of times to repeat the animation. Default is 0.between animation steps, in milliseconds. Default is 25.an integer or curve representing amount of acceleration. (?) Default is linear acceleration.to animate over.of the animation, in milliseconds.of times to repeat the animation. Default is 0.an integer or curve representing amount of acceleration. (?) Default is linear acceleration.Calls the following events: "onBegin", "onAnimate", "onEnd", "onPlay", "onPause", "onStop" If the animation implements a "handler" function, that will be called before each event is called.Play the animation. goToStart: If true, will restart the animation from the beginning. Otherwise, starts from current play counter.Sends an "onPlay" event to any observers. Also sends an "onBegin" event if starting from the beginning.Temporarily stop the animation, leaving the play counter at the current location. Resume later with sequence.play()Sends an "onPause" AnimationEvent to any observers.Toggle between play and paused states.Set the play counter at a certain point in the animation.to set the play counter to, expressed as a percentage (0 to 100).true, will start the animation at the counter automatically.Stop the animation.true, will advance play counter to the end before sending the event.Sends an "onStop" AnimationEvent to any observers.Return the status of the animation.Returns one of "playing", "paused" or "stopped".Perform once 'cycle' or step of the animation.dojo.behavior.commondojo.event.*dojo.experimentalfuncdojo.html.styledojo.event.*dojo.html.selectiondojo.experimentaldojo.behavior.commonReturns true if 'name' is defined on 'object' (or globally if 'object' is null).Note that 'defined' and 'exists' are not the same concept.return the current global context object (e.g., the window object in a browser).Refer to 'dojo.global()' rather than referring to window to ensure your code runs correctly in contexts other than web browsers (eg: Rhino on a server).Returns 'object[name]'. If not defined and 'create' is true, will return a new Object.Returns null if 'object[name]' is not defined and 'create' is not true. Note: 'defined' and 'exists' are not the same concept.Parse string path to an object, and return corresponding object reference and property name.to an object, in the form "A.B.C".to use as root of path. Defaults to 'dojo.global()'.true, Objects will be created at any point along the 'path' that is undefined.Returns an object with two properties, 'obj' and 'prop'. 'obj[prop]' is the reference indicated by 'path'.Return the value of object at 'path' in the global scope, without using 'eval()'.to an object, in the form "A.B.C".true, Objects will be created at any point along the 'path' that is undefined.Return an exception's 'message', 'description' or text.Common point for raising exceptions in Dojo to enable logging. Throws an error message with text of 'exception' if provided, or rethrows exception object.Perform an evaluation in the global scope. Use this rather than calling 'eval()' directly.Placed in a separate function to minimize size of trapped evaluation context. note: - JSC eval() takes an optional second argument which can be 'unsafe'. - Mozilla/SpiderMonkey eval() takes an optional second argument which is the scope object for new symbols.Throw an exception because some function is not implemented.to append to the exception message.Log a debug message to indicate that a behavior has been deprecated.to append to the message.to indicate when in the future the behavior will be removed.Return the base script uri that other scripts are found relative to. TODOC: HUH? This comment means nothing to me. What other scripts? Is this the path to other dojo libraries? MAYBE: Return the base uri to scripts in the dojo library. ??? return: Empty string or a path ending in '/'.Load a Javascript module given a relative pathrelative path to a script (no leading '/', and typically ending in '.js').module whose existance to check for after loading a path. Can be used to determine success or failure of the load.callback function to pass the result of evaluating the scriptLoads and interprets the script located at relpath, which is relative to the script root directory. If the script is found but its interpretation causes a runtime exception, that exception is not caught by us, so the caller will see it. We return a true value if and only if the script is found. For now, we do not have an implementation of a true search path. We consider only the single base script uri, as returned by getBaseScriptUri().Loads JavaScript from a URIuri which points at the script to be loadedcallback function to process the result of evaluating the script as an expression, typically used by the resource bundle loader to load JSON-style resourcesReads the contents of the URI, and evaluates the contents. This is used to load modules as well as resource bundles. Returns true if it succeeded. Returns false if the URI reading failed. Throws if the evaluation throws.calls loadUri then findModule and returns true if both succeedRegisters a function to be triggered after the DOM has finished loading and widgets declared in markup have been instantiated. Images and CSS files may or may not have finished downloading when the specified function is called. (Note that widgets' CSS and HTML code is guaranteed to be downloaded before said widgets are instantiated.) usage: dojo.addOnLoad(functionPointer) dojo.addOnLoad(object, "functionName")registers a function to be triggered when the page unloads usage: dojo.addOnLoad(functionPointer) dojo.addOnLoad(object, "functionName")Converts a module name in dotted JS notation to an array representing the path in the source treeloads a Javascript module from the appropriate URIloadModule("A.B") first checks to see if symbol A.B is defined. If it is, it is simply returned (nothing to do). If it is not defined, it will look for "A/B.js" in the script root directory, followed by "A.js". It throws if it cannot find a file to load, or if the symbol A.B is not defined after loading. It returns the object A.B. This does nothing about importing symbols into the current package. It is presumed that the caller will take care of that. For example, to import all symbols: with (dojo.hostenv.loadModule("A.B")) { ... } And to import just the leaf symbol: var B = dojo.hostenv.loadModule("A.B"); ... dj_load is an alias for dojo.hostenv.loadModuleCreates a JavaScript packagepackage to be created as a String in dot notationstartPackage("A.B") follows the path, and at each level creates a new empty object or uses what already exists. It returns the result.Returns the Object representing the module, if it exists, otherwise null.fully qualified module including package name, like 'A.B'.default false. throw instead of returning null if the module does not currently exist.dojo.hostenv.loadModuleThis method taks a "map" of arrays which one can use to optionally load dojo modules. The map is indexed by the possible dojo.hostenv.name_ values, with two additional values: "default" and "common". The items in the "default" array will be loaded if none of the other items have been choosen based on the hostenv.name_ item. The items in the "common" array will _always_ be loaded, regardless of which list is chosen. Here's how it's normally called: dojo.kwCompoundRequire({ browser: [ ["foo.bar.baz", true, true], // an example that passes multiple args to loadModule() "foo.sample.*", "foo.test, ], default: [ "foo.sample.*" ], common: [ "really.important.module.*" ] });Ensure that the given resource (ie, javascript source file) has been loaded.dojo.hostenv.loadModuledojo.require() is similar to C's #include command or java's "import" command. You call dojo.require() to pull in the resources (ie, javascript source files) that define the functions you are using. Note that in the case of a build, many resources have already been included into dojo.js (ie, many of the javascript source files have been compressed and concatened into dojo.js), so many dojo.require() calls will simply return without downloading anything.If the condition is true then call dojo.require() for the specified resourcedojo.requireEach javascript source file must have (exactly) one dojo.provide() call at the top of the file, corresponding to the file name. For example, dojo/src/foo.js must have dojo.provide("dojo.foo"); at the top of the file.dojo.hostenv.startPackageEach javascript source file is called a resource. When a resource is loaded by the browser, dojo.provide() registers that it has been loaded. For backwards compatibility reasons, in addition to registering the resource, dojo.provide() also ensures that the javascript object for the module exists. For example, dojo.provide("dojo.html.common"), in addition to registering that common.js is a resource for the dojo.html module, will ensure that the dojo.html javascript object exists, so that calls like dojo.html.foo = function(){ ... } don't fail. In the case of a build (or in the future, a rollup), where multiple javascript source files are combined into one bigger file (similar to a .lib or .jar file), that file will contain multiple dojo.provide() calls, to note that it includes multiple resources.maps a module name to a pathAn unregistered module is given the default path of ../<module>, relative to Dojo root. For example, module acme is mapped to ../acme. If you want to use a different module name, use dojo.registerModulePath.maps a module name to a pathdetermine if an object supports a given methoduseful for longer api chains where you have to test each object in the chainReturns canonical form of locale, as used by Dojo. All variants are case-insensitive and are separated by '-' as specified in RFC 3066. If no locale is specified, the user agent's default is returned.A helper method to assist in searching for locale-based resources. Will iterate through the variants of a particular locale, either up or down, executing a callback function. For example, "en-us" and true will try "en-us" followed by "en" and finally "ROOT".Register module "nls" to point where Dojo can find pre-built localization filesLoad built, flattened resource bundles, if available for all locales used in the page. Execute only once. Note that this is a no-op unless there is a build.version number of this instance of dojo.dojo.lang.commondojo.cal.textDirectorydojo.date.commondojo.date.serializeParse text of an iCalendar and return an array of iCalendar objectsA component is the basic container of all this stuff.A single property of a component.VCALENDAR Componentdojo.cal.iCalendar.Componentdojo.cal.iCalendar.ComponentSTANDARD Componentdojo.cal.iCalendar.Componentdojo.cal.iCalendar.ComponentDaylight Componentdojo.cal.iCalendar.Componentdojo.cal.iCalendar.ComponentVEVENT Componentdojo.cal.iCalendar.Componentdojo.cal.iCalendar.ComponentVTIMEZONE Componentdojo.cal.iCalendar.Componentdojo.cal.iCalendar.ComponentVTODO Componenetdojo.cal.iCalendar.Componentdojo.cal.iCalendar.ComponentVJOURNAL Componentdojo.cal.iCalendar.Componentdojo.cal.iCalendar.ComponentVFREEBUSY Componentdojo.cal.iCalendar.Componentdojo.cal.iCalendar.ComponentVALARM Componentdojo.cal.iCalendar.Componentdojo.cal.iCalendar.Componentpush a new property onto a component.add a component to this components list of children.output a string representation of this component.output a string reprensentation of this component.add component to the calenadar that makes it easy to pull them out again later.Gets all events occuring on a particular datedojo.stringdojo.lang.commonthe coordinate of val based on this axis range, plot area and plot.Initialize the passed axis descriptor. Note that this should always be the result of plotArea.getAxes, and not the axis directly!dojo.lang.commondojo.charting.PlotAreaCreate the basic Chart object.Add a PlotArea to this chart; object should be in the form of: { plotArea, (x, y) or (top, left) }Initialize the Chart by rendering it.Destroy any nodes that have maintained references. kill any existing plotAreasdojo.lang.commondojo.charting.Axisdojo.charting.SeriesCreates a new instance of a Plot (X/Y Axis + n Series).Add a new Series to this plot. Can take the form of a Series, or an object of the form { series, plotter }Set the axis on which plane.set the ranges on these axes.Clean out any existing DOM node references.dojo.lang.commondojo.gfx.colordojo.gfx.color.hsldojo.charting.PlotCreates a new PlotArea for drawing onto a Chart.Advances the internal HSV cursor and returns the next generated color.get the unique axes for this plot area.return an array describing all data series on this plot area.Find and set the ranges on all axes on this plotArea. We do this because plots may have axes in common; if you want to use this, make sure you do it *before* initialization.Render this plotArea. Optional kwArgs are the same as that taken for Series.evaluate;a callback function used by plotters for customization.Clean out any existing DOM references.dojo.lang.commondojo.charting.PlottersCreate an instance of data series for plotting.Returns the mean or average over the set of values.Returns the variance of the set of values.Returns the standard deviation of the set of values.Returns the max number in the set of values.Returns the lowest number in the set of values.Returns the median in the set of values (number closest to the middle of a sorted set).Returns the mode in the set of valuesdojo.lang.commonRenders any reference lines for this axis.Renders any tick lines for this axis.Render all labels for this axis.Renders this axis to the given plot. get the origin plot point.dojo.lang.commondojo.svgInitialize the plot node for data rendering.Initialize the PlotArea.dojo.lang.commondojo.svgPlots a set of grouped bars. Bindings: yPlots data in a set of grouped bars horizontally. Bindings: yPlots a grouped set of Gantt bars Bindings: high/lowPlots a set of stacked areas. Bindings: x/yPlots a set of stacked areas, using a tensioning factor to soften points. Bindings: x/yPlots a set of bars in relation to y==0. Bindings: x/yPlots the series as a line. Bindings: x/yPlots the series as a line with a tension factor for softening. Bindings: x/yPlots the series as an area. Bindings: x/yPlots the series as an area with a tension for softening. Bindings: x/yPlots the series as a set of high/low bars. Bindings: x/high/lowPlots the series as a set of high/low bars with a close indicator. Bindings: x/high/low/closePlots the series as a set of high/low bars with open and close indicators. Bindings: x/high/low/open/closePlots the series as a set of points. Bindings: x/yPlots the series as a set of points with a size factor. Bindings: x/y/sizedojo.lang.commonRenders any reference lines for this axis.Renders any tick lines for this axis.Render all labels for this axis.Renders this axis to the given plot. get the origin plot point.dojo.lang.commonInitialize the plot node for data rendering.dojo.lang.commonPlots a set of grouped bars. Bindings: yPlots data in a set of grouped bars horizontally. Bindings: yPlots a grouped set of Gantt bars Bindings: high/lowPlots a set of stacked areas. Bindings: x/yPlots a set of stacked areas, using a tensioning factor to soften points. Bindings: x/yPlots a set of bars in relation to y==0. Bindings: x/yPlots the series as a line. Bindings: x/yPlots the series as a line with a tension factor for softening. Bindings: x/yPlots the series as an area. Bindings: x/yPlots the series as an area with a tension for softening. Bindings: x/yPlots the series as a set of high/low bars. Bindings: x/high/lowPlots the series as a set of high/low bars with a close indicator. Bindings: x/high/low/closePlots the series as a set of high/low bars with open and close indicators. Bindings: x/high/low/open/closePlots the series as a set of points. Bindings: x/yPlots the series as a set of points with a size factor. Bindings: x/y/sizedojo.collections.CollectionsReturns a new object of type dojo.collections.ArrayListfnAdd an element to the collection.Add a range of objects to the ArrayListClear all elements out of the collection, and reset the count.Clone the array listCheck to see if the passed object is a member in the ArrayListfunctional iterator, following the mozilla spec.fnGet an Iterator for this objectReturn the numeric index of the passed object; will return -1 if not found.Insert the passed object at index ireturn the element at index iLook for the passed object, and if found, remove it from the internal array.return an array with function applied to all elementsReverse the internal arraysort the internal arraySet an element in the array by the passed index.Return a new array with all of the items of the internal array concatenated.implementation of toString, follows [].toString();dojo.collections.Collectionsdojo.experimentalreturn an object of type dojo.collections.DictionaryEntryreturn an object of type dojo.collections.IteratorfnTest to see if the internal cursor has reached the end of the internal collection.Test to see if the internal cursor has reached the end of the internal collection.Functional iteration with optional scope.fnreset the internal cursor.return an object of type dojo.collections.DictionaryIteratorfnTest to see if the internal cursor has reached the end of the internal collection.Test to see if the internal cursor has reached the end of the internal collection.Functional iteration with optional scope.fnreset the internal cursor.dojo.collections.CollectionsReturns an object of type dojo.collections.DictionaryfnAdd a new item to the Dictionary.Clears the internal dictionary.Returns a new instance of dojo.collections.Dictionary; note the the dictionary is a clone but items might not be.Check to see if the dictionary has an entry at key "k".Check to see if the dictionary has an entry with value "v".Accessor method; similar to dojo.collections.Dictionary.item but returns the actual Entry object.functional iterator, following the mozilla spec.fnReturns an array of the keys in the dictionary.Returns an array of the values in the dictionary.Accessor method.Gets a dojo.collections.DictionaryIterator for iteration purposes.Removes the item at k from the internal collection.dojo.collections.Collectionsfnfndojo.collections.Collectionsreturn an object of type dojo.collections.Queuefnclears the internal collectioncreates a new Queue based on this oneCheck to see if the passed object is an element in this queueCopy the contents of this queue into the passed array at index i.shift the first element off the queue and return itput the passed object at the end of the queuefunctional iterator, following the mozilla spec.fnget an Iterator based on this queue.get the next element in the queue without altering the queue.return an array based on the internal array of the queue.dojo.collections.Collectionsdojo.collections.ArrayListSingleton for dealing with common set operations.Return the union of the two passed sets.Return the intersection of the two passed sets.Returns everything in setA that is not in setB.Returns if set B is a subset of set A.Returns if set B is a superset of set A.dojo.collections.Collectionsdojo.experimentaldojo.collections.Collectionscreates a collection that acts like a dictionary but is also internally sorted. Note that the act of adding any elements forces an internal resort, making this object potentially slow.fnadd the passed value to the dictionary at location kclear the internal collectionscreate a clone of this sorted listCheck to see if the list has a location kCheck to see if this list contains the passed objectcopy the contents of the list into array arr at index ireturn the object at location kfunctional iterator, following the mozilla spec.fnreturn the item at index iget an iterator for this objectreturn the key of the item at index ireturn an array of the keys set in this listreturn an array of values in this listreturn the index of the passed key.return the first index of object oreturn the value of the object at location k.remove the item at location k and rebuild the internal collections.remove the item at index i, and rebuild the internal collections.Replace an existing item if it's there, and add a new one if not.set an item by indexdojo.collections.Collectionsan object of type dojo.collections.StackfnClear the internal array and reset the countCreate and return a clone of this Stackcheck to see if the stack contains object ocopy the stack into array arr at index ifunctional iterator, following the mozilla spec.fnget an iterator for this collectionReturn the next item without altering the stack itself.pop and return the next item on the stackPush object o onto the stackcreate and return an array based on the internal collectiondojo.lang.commonData Store with accessor methods.fnGet the internal data array, should not be used.Find the internal data object by key.Get the internal data object by index.Get an array of source objects.Get the source object by key.Get the source object at index idx.Functional iteration directly on the internal data array.fnFunctional iteration on source objects in internal data array.fnSet up the internal data.Clears the internal data array.Add an object with optional key to the internal data array.Add a range of objects to the internal data array.remove the passed object from the internal data array.remove the object at key from the internal data array.remove the object at idx from the internal data array.dojo.collections.Collectionsdojo.collections.SortedListdojo.collections.Dictionarydojo.collections.Queuedojo.collections.ArrayListdojo.collections.Stackdojo.collections.Setdojo.cryptoObject for doing Blowfish encryption/decryption.the initialization vector in the output format specified by outputTypesets the initialization vector to data (as interpreted as inputType)encrypts plaintext using key; allows user to specify output type and cipher mode via keyword object "ao"decrypts ciphertext using key; allows specification of how ciphertext is encoded via ao.dojo.cryptoobject for creating digests using the MD5 algorithmcomputes the digest of data, and returns the result as a string of type outputTypecomputes a digest of data using key, and returns the result as a string of outputTypedojo.cryptodojo.experimentaldojo.cryptodojo.experimentaldojo.cryptodojo.experimentaldojo.cryptodojo.crypto.MD5Enumeration for various cipher modes.Enumeration for input and output encodings.dojo.data.core.RemoteStoredojo.lang.assertdojo.data.core.RemoteStoredojo.data.core.RemoteStoredojo.data.core.Readdojo.data.core.Resultdojo.lang.assertdojo.jsondojo.experimentaldojo.data.core.Readdojo.data.core.Readdojo.lang.declaredojo.data.core.RemoteStoredojo.experimentaldojo.data.core.RemoteStoredojo.data.core.RemoteStoredojo.data.RdfStoredojo.data.RdfStorethis._converterthis._converterdojo.data.core.RemoteStoredojo.lang.declaredojo.io.ScriptSrcIOdojo.data.core.RemoteStoredojo.data.core.RemoteStoredojo.data.core.Resultdojo.lang.declaredojo.experimentaldojo.data.core.Readdojo.data.core.Writedojo.data.core.Resultdojo.experimentaldojo.Deferreddojo.lang.declaredojo.jsondojo.io.*dojo.lang.declaredojo.experimentaldojo.data.core.Readdojo.lang.declaredojo.experimentaldojo.data.core.Readdojo.data.core.Readdojo.data.old.Itemdojo.lang.assertdojo.data.old.Itemdojo.data.old.Itemdojo.data.old.Observabledojo.data.old.Valuedojo.lang.commondojo.lang.assertdojo.data.old.Observabledojo.data.old.Observabledojo.data.old.Itemdojo.data.old.Itemdojo.data.old.Itemdojo.lang.commondojo.lang.assertdojo.lang.assertdojo.collections.Collectionsdojo.data.old.Observabledojo.data.old.Observabledojo.data.old.Itemdojo.data.old.Itemdojo.data.old.Itemdojo.lang.assertdojo.data.old.Itemdojo.data.old.ResultSetdojo.data.old.provider.FlatFiledojo.experimentaldojo.lang.assertdojo.lang.assertdojo.lang.assertdojo.data.old.provider.FlatFiledojo.data.old.format.Jsondojo.data.old.provider.FlatFiledojo.data.old.provider.FlatFiledojo.data.old.provider.Basedojo.data.old.Itemdojo.data.old.Attributedojo.data.old.ResultSetdojo.data.old.format.Jsondojo.data.old.format.Csvdojo.lang.assertdojo.data.old.provider.Basedojo.data.old.provider.Basedojo.data.old.provider.Basedojo.data.old.provider.Basedojo.data.old.provider.Basedojo.data.old.provider.Basesets dateObject according to day of the year (1..366)gets the day of the year as represented by dateObjectunimplementedunimplementedreturns the number of days in the month used by dateObjectDetermines if the year of the dateObject is a leap yearLeap years are years with an additional day YYYY-02-29, where the year number is a multiple of four with the following exception: If a year is a multiple of 100, then it is only a leap year if it is also a multiple of 400. For example, 1900 was not a leap year, but 2000 is one.Get the user's time zone as provided by the browserbecause the timezone may vary with time (daylight savings)Try to get time zone info from toString or toLocaleString method of the Date object -- UTC offset is not a time zone. See http: // www.twinsun.com/tz/tz-link.htm Note: results may be inconsistent across browsers.returns the appropriate suffix (English only) for the day of the month, e.g. 'st' for 1, 'nd' for 2, etc.)Compare two date objects by date, time, or both. Returns 0 if equal, positive if a > b, else negative.Add to a Date in intervals of different size, from milliseconds to yearsJavascript Date object to start withconstant representing the interval, e.g. YEAR, MONTH, DAY. See dojo.date.dateParts.much to add to the dateGet the difference in a specific unit of time (e.g., number of months, weeks, days, etc.) between two dates.Javascript Date objectJavascript Date objectconstant representing the interval, e.g. YEAR, MONTH, DAY. See dojo.date.dateParts.bitmask for comparison operations.constants for use in dojo.date.adddojo.date.commondojo.date.supplementaldojo.lang.arraydojo.lang.commondojo.lang.funcdojo.string.commondojo.i18n.commonFormat a Date object as a String, using locale-specific settings.date and/or time to be formatted. If a time only is formatted, the values in the year, month, and day fields are irrelevant. The opposite is true when formatting only dates.{selector: string, formatLength: string, datePattern: string, timePattern: string, locale: string} selector- choice of timeOnly,dateOnly (default: date and time) formatLength- choice of long, short, medium or full (plus any custom additions). Defaults to 'full' datePattern,timePattern- override pattern with this string am,pm- override strings for am/pm in times locale- override the locale used to determine formatting rulesCreate a string from a Date object using a known localized pattern. By default, this method formats both date and time from dateObject. Formatting patterns are chosen appropriate to the locale. Different formatting lengths may be chosen, with "full" used by default. Custom patterns may be used or registered with translations using the addCustomBundle method. Formatting patterns are implemented using the syntax described at http: // www.unicode.org/reports/tr35/tr35-4.html#Date_Format_PatternsConvert a properly formatted string to a primitive Date object, using locale-specific settings.string representation of a date{selector: string, formatLength: string, datePattern: string, timePattern: string, locale: string, strict: boolean} selector- choice of timeOnly, dateOnly, dateTime (default: dateOnly) formatLength- choice of long, short, medium or full (plus any custom additions). Defaults to 'full' datePattern,timePattern- override pattern with this string am,pm- override strings for am/pm in times locale- override the locale used to determine formatting rules strict- strict parsing, off by defaultCreate a Date object from a string using a known localized pattern. By default, this method parses looking for both date and time in the string. Formatting patterns are chosen appropriate to the locale. Different formatting lengths may be chosen, with "full" used by default. Custom patterns may be used or registered with translations using the addCustomBundle method. Formatting patterns are implemented using the syntax described at http: // www.unicode.org/reports/tr35/#Date_Format_PatternsFormats the date object using the specifications of the POSIX strftime functionsee <http: // www.opengroup.org/onlinepubs/007908799/xsh/strftime.html>Add a reference to a bundle containing localized custom formats to be used by date/time formatting and parsing routines.The user may add custom localized formats where the bundle has properties following the same naming convention used by dojo for the CLDR data: dateFormat-xxxx / timeFormat-xxxx The pattern string should match the format used by the CLDR. See dojo.date.format for details. The resources must be loaded by dojo.requireLocalization() prior to useUsed to get localized strings for day or month names.|| 'days'|| 'narrow' || 'abbr' (e.g. "Monday", "Mon", or "M" respectively, in English)|| 'format' (default)locale used to find the namesgets the full localized day of the week corresponding to the date objectgets the abbreviated localized day of the week corresponding to the date objectgets the full localized month name corresponding to the date objectgets the abbreviated localized month name corresponding to the date objectReturns an description in English of the date relative to the current date. Note: this is not localized yet. English only.Example returns: - "1 minute ago" - "4 minutes ago" - "Yesterday" - "2 days ago"Convert a Date to a SQL stringto ignore the time portion of the Date. Defaults to false.Convert a SQL date string to a JavaScript Date objectdojo.string.commonsets a Date object based on an ISO 8601 formatted string (uses date and time)returns a Date object based on an ISO 8601 formatted string (uses date and time)sets a Date object based on an ISO 8601 formatted string (date only)returns a Date object based on an ISO 8601 formatted string (date only)sets a Date object based on an ISO 8601 formatted string (time only)returns a Date object based on an ISO 8601 formatted string (date only)Format a JavaScript Date object as a string according to RFC 3339JavaScript date, or the current date and time, by defaultor "timeOnly" to format selected portions of the Date object. Date and time will be formatted by default.Create a JavaScript Date object from a string formatted according to RFC 3339string such as 2005-06-30T08:05:00-07:00 "any" is also supported in place of a time.Returns a zero-based index for first day of the weekReturns a zero-based index for first day of the week, as used by the local (Gregorian) calendar. e.g. Sunday (returns 0), or Monday (returns 1)Returns a hash containing the start and end days of the weekendReturns a hash containing the start and end days of the weekend according to local custom using locale, or by default in the user's locale. e.g. {start:6, end:0}Determines if the date falls on a weekend, according to local custom.console.logdojo.logging.ConsoleLoggerWrite first-level properties of obj to the console.or Array to debugfalse to skip outputing methods of object, any other value will output them.false to skip sorting properties, any other value will sort.Produce a line of debug output. Does nothing unless djConfig.isDebug is true. Accepts any nubmer of args, joined with ' ' to produce a single line of debugging output. Caller should not supply a trailing "\n".outputs a "name: value" style listing of all enumerable properties in obj. Does nothing if djConfig.isDebug == false.object to be enumeratedprovides an "object explorer" view of the passed obj in a popup window.object to be examineddojo.lang.commondojo.lang.declaredojo.dnd.HtmlDragManagerdojo.dnd.DragAndDropdojo.html.*dojo.html.displaydojo.html.utildojo.html.selectiondojo.html.iframedojo.lang.extrasdojo.lfx.*dojo.event.*dojo.dnd.DragSourcedojo.dnd.DragSourcedojo.dnd.DragObjectdojo.dnd.DragObjectdojo.dnd.DropTargetdojo.dnd.DropTargetdojo.dnd.*dojo.dnd.HtmlDragSourcedojo.dnd.HtmlDragSourcedojo.dnd.HtmlDragObjectdojo.dnd.HtmlDragObjectdojo.dnd.HtmlDragCopyObject.superclass.onDragStartdojo.dnd.HtmlDragCopyObject.superclass.onDragEnddojo.dnd.DragAndDropdojo.event.*dojo.lang.arraydojo.html.commondojo.html.layoutdojo.dnd.DragManagerdojo.dnd.DragManagerdojo.dnd.*dojo.dnd.HtmlDragSourcedojo.dnd.HtmlDragSourcedojo.dnd.HtmlDragObjectdojo.dnd.HtmlDragObjectdojo.dnd.*dojo.dnd.HtmlDragAndDropdojo.lang.funcdojo.lang.arraydojo.lang.extrasdojo.html.layoutdojo.dnd.HtmlDragSourcedojo.dnd.HtmlDragSourcedojo.dnd.HtmlDropTargetdojo.dnd.HtmlDropTargetdojo.dnd.HtmlDragSource.prototype.onDragStartdojo.dnd.HtmlDragObject.prototype.onDragStartdojo.dnd.HtmlDragObject.prototype.onDragEnddojo.dnd.HtmlDragSource.prototype.onDragEnddojo.dnd.HtmlDropTarget.prototype.onDragOverdojo.dnd.HtmlDropTarget.prototype.acceptsdojo.dnd.HtmlDragAndDropdojo.lang.funcdojo.lang.arraydojo.lang.extrasdojo.Deferreddojo.html.layoutdojo.dnd.HtmlDragSourcedojo.dnd.HtmlDragSourcedojo.dnd.HtmlDropTargetdojo.dnd.HtmlDropTargetdojo.dnd.HtmlDropTarget.prototype.onDragOverdojo.dnd.HtmlDropTarget.prototype.acceptsdojo.dnd.DragAndDropdojo.dnd.HtmlDragAndDropdojo.dnd.HtmlDragAndDropdojo.io.*dojo.event.topicdojo.rpc.JotServicedojo.domdojo.uri.Uridojo.Deferreddojo.DeferredListGets information about a function in regards to its meta dataGets src file (created by the doc parser)Gets external documentation stored on Jot for a given functionGets external documentation stored on Jot for a given packageGets a combination of the metadata and external documentation for a given packageGrabs the innerHTML from a Jot Rech Text nodeGet doc, meta, and srcCall this function to send the /docs/function/detail topic eventThe combined informationGets the package associated with a function and stores it in the .pkg value of inputchecks to see if wh is actually a node.a unique string for use with any DOM elementthe first child element matching tagNamethe last child element matching tagNamethe next sibling element matching tagNamethe previous sibling element matching tagNameMoves children from srcNode to destNode and returns the count of children moved; will trim off text nodes if trim == trueCopies children from srcNde to destNode and returns the count of children copied; will trim off text nodes if trim == trueRemoves all children of node and appends newChild FIXME: what if newChild is an array-like object?removes all children from node and returns the count of children removed.replaces node with newNode and returns a reference to the removed nodeif node has a parent, removes node from parent and returns a reference to the removed child.node to remove from its parent.in an HTML environment and true, this variable ensures that potential leaks are handled correctlyworkaround for IE leak recommended in ticket #1727 by schallmall ancestors matching optional filterFunction; will return only the first if returnFirstHitall ancestors matching tag (as tagName), will only return first one if returnFirstHitReturns first ancestor of node with tag tagNameReturns boolean if node is a descendant of ancestorus to be a "true" isDescendantOf functionImplementation of MS's innerXML function.cross-browser implementation of creating an XML document object.attempts to create a Document object based on optional mime-type, using str as the contents of the documentprepends node to parent's children nodesTry to insert node before refTry to insert node after refattempt to insert node in relation to ref based on positioninsert node into child nodes nodelist of containingNode atimplementation of the DOM Level 3 attribute; scan node for textwhether or not node is a child of another node.determines if node has any of the provided tag names and returns the tag name that matches, empty string otherwise.implementation of DOM2 setAttributeNS that works cross browser.aliases for various common XML namespacesdojo.event.commondojo.event.topicdojo.event.browserdojo.event.browserdojo.event.commonlistenerremoves native event handlers so that destruction of the node will not leak memory. On most browsers this is a no-op, but it's critical for manual node removal on IE.DOM node. All of it's children will also be cleaned.register the passed node to support event strippingDOM noderegister the passed node to support event strippingDOM node to stip properties from laterlist of propeties to strip from the nodeclobbers the listener from the nodenode to attach the event toname of the handler to remove the function fromfunction to registershould this listener prevent propigation?adds a listener to the nodenode to attach the event toname of the handler to add the listener to can be either of the form "onclick" or "click"function to registerShould this listener prevent propigation?Should we avoid registering a new closure around the listener to enable fixEvent for dispatch of the registered function?Tries to determine whether or not the object is a DOM event.calls the specified listener in the context of the passed node with the current DOM event object as the only parameterfunction to callNode to call the function in the scope oflistenernormalizes properties on the event object including event bubbling methods, keystroke normalization, and x/y positionsnative event objectnode to treat as "currentTarget"prevents propigation and clobbers the default action of the passed eventfor IE. The native event object.dojo.lang.arraydojo.lang.extrasdojo.lang.funcdojo.event.connectthis.connectdojo.event.connect is the glue that holds most Dojo-based applications together. Most combinations of arguments are supported, with the connect() method attempting to disambiguate the implied types of positional parameters. The following will all work: dojo.event.connect("globalFunctionName1", "globalFunctionName2"); dojo.event.connect(functionReference1, functionReference2); dojo.event.connect("globalFunctionName1", functionReference2); dojo.event.connect(functionReference1, "globalFunctionName2"); dojo.event.connect(scope1, "functionName1", "globalFunctionName2"); dojo.event.connect("globalFunctionName1", scope2, "functionName2"); dojo.event.connect(scope1, "functionName1", scope2, "functionName2"); dojo.event.connect("after", scope1, "functionName1", scope2, "functionName2"); dojo.event.connect("before", scope1, "functionName1", scope2, "functionName2"); dojo.event.connect("around", scope1, "functionName1", scope2, "functionName2", aroundFunctionReference); dojo.event.connect("around", scope1, "functionName1", scope2, "functionName2", scope3, "aroundFunctionName"); dojo.event.connect("before-around", scope1, "functionName1", scope2, "functionName2", aroundFunctionReference); dojo.event.connect("after-around", scope1, "functionName1", scope2, "functionName2", aroundFunctionReference); dojo.event.connect("after-around", scope1, "functionName1", scope2, "functionName2", scope3, "aroundFunctionName"); dojo.event.connect("around", scope1, "functionName1", scope2, "functionName2", scope3, "aroundFunctionName", true, 30); dojo.event.connect("around", scope1, "functionName1", scope2, "functionName2", scope3, "aroundFunctionName", null, null, 10); adviceType: Optional. String. One of "before", "after", "around", "before-around", or "after-around". FIXME srcObj: the scope in which to locate/execute the named srcFunc. Along with srcFunc, this creates a way to dereference the function to call. So if the function in question is "foo.bar", the srcObj/srcFunc pair would be foo and "bar", where "bar" is a string and foo is an object reference. srcFunc: the name of the function to connect to. When it is executed, the listener being registered with this call will be called. The adviceType defines the call order between the source and the target functions. adviceObj: the scope in which to locate/execute the named adviceFunc. adviceFunc: the name of the function being conected to srcObj.srcFunc aroundObj: the scope in which to locate/execute the named aroundFunc. aroundFunc: the name of, or a reference to, the function that will be used to mediate the advice call. Around advice requires a special unary function that will be passed a "MethodInvocation" object. These objects have several important properties, namely: - args a mutable array of arguments to be passed into the wrapped function - proceed a function that "continues" the invocation. The result of this function is the return of the wrapped function. You can then manipulate this return before passing it back out (or take further action based on it). once: boolean that determines whether or not this connect() will create a new connection if an identical connect() has already been made. Defaults to "false". delay: an optional delay (in ms), as an integer, for dispatch of a listener after the source has been fired. rate: an optional rate throttling parameter (integer, in ms). When specified, this particular connection will not fire more than once in the interval specified by the rate adviceMsg: boolean. Should the listener have all the parameters passed in as a single argument?dojo.event.connecta function that will wrap and log all calls to the specifieda2 is passed, this should be an object. If not, it can be a function or function name.function nametakes the same parameters as dojo.event.connect(), except that the advice type will always be "before"this.connecttakes the same parameters as dojo.event.connect(), except that the advice type will always be "around"this.connecttakes the same parameters as dojo.event.connect(), except that the "once" flag will always be set to "true"A version of dojo.event.connect() that takes a map of named parameters instead of the positional parameters that dojo.event.connect() uses. For many advanced connection types, this can be a much more readable (and potentially faster) alternative.object that can have the following properties: - adviceType - srcObj - srcFunc - adviceObj - adviceFunc - aroundObj - aroundFunc - once - delay - rate - adviceMsg As with connect, only srcFunc and adviceFunc are generally requiredTakes the same parameters as dojo.event.connect() but destroys an existing connection instead of building a new one. For multiple identical connections, multiple disconnect() calls will unroll one each time it's called.Takes the same parameters as dojo.event.kwConnect() but destroys an existing connection instead of building a new one.a class the models the call into a function. This is used under the covers for all method invocations on both ends of a connect()-wrapped function dispatch. This allows us to "pickle" calls, such as in the case of around advice.dojo.event.MethodJoinPoint object that represents a connectionscope the call will execute inarray of parameters that will get passed to the calleeproceed with the method call that's represented by this invocation object"static" class function for returning a MethodJoinPoint from a scoped function. If one doesn't exist, one is created.scope to search for the function inname of the function to return a MethodJoinPoint forjoinpoint.rundestroy the connection to all listeners that may have been registered on this joinpointexecute the connection represented by this join point. The arguments passed to run() will be passed to the function and its listeners.unrollAdvicereturn a list of listeners of the past "kind"be one of: "before", "after", "around", "before-around", or "after-around"adds advice to the joinpoint with arguments in a mapobject that can have the following properties: - adviceType - adviceObj - adviceFunc - aroundObj - aroundFunc - once - delay - rate - adviceMsgadd advice to this joinpoint using positional parametersscope in which to locate/execute the named adviceFunc. thisAdviceFunc: the name of the function being conectedscope in which to locate/execute the named aroundFunc. thisAroundFunc: the name of the function that will be used to mediate the advice call.String. One of "before", "after", "around", "before-around", or "after-around". FIXMEthe interval specified by the rate adviceMsg: boolean. Should the listener have all the parameters passed in as a single argument?optional delay (in ms), as an integer, for dispatch of a listener after the source has been fired.optional rate throttling parameter (integer, in ms). When specified, this particular connection will not fire more thanthe array index of the first existing connection betweened the passed advice and this joinpoint. Will be -1 if none exists.scope in which to locate/execute the named adviceFunc. thisAdviceFunc: the name of the function being conectednot passedThe list of advices to search. Will be found viascope in which to locate/execute the named adviceFunc. thisAdviceFunc: the name of the function being conectedString. One of "before", "after", "around", "before-around", or "after-around". FIXMEShould this only remove the first occurance of the connection?dojo.event.commontopic.sendMessagea topic implementation object of type dojo.event.topic.TopicImplunique, opaque string that names the topicregisters a function as a publisher on a topic. Subsequent calls to the function will cause a publish event on the topic with the arguments passed to the function passed to registered listeners.unique, opaque string that names the topicscope to locate the function inname of the function to registersusbscribes the function to the topic. Subsequent events dispached to the topic will create a function call for theunique, opaque string that names the topicscope to locate the function inname of the function to being registered as a listenerunsubscribes the obj.funcName() from the topicunique, opaque string that names the topicscope to locate the function inname of the function to being unregistered as a listenerdestroys the topic and unregisters all listenersunique, opaque string that names the topicdispatches an event to the topic using the args array as the source for the call arguments to each listener. This is similar to JavaScript's built-in Function.apply()unique, opaque string that names the topicarguments to be passed into listeners of the topictopic.sendMessagemanually "publish" to the passed topicunique, opaque string that names the topicbe an array of parameters (similar to publishApply), or will be treated as one of many arguments to be passed along in a "flat" unrollingtopic.sendMessagea class to represent topicsuse dojo.event.connect() to attach the passed listener to the topic represented by this objecta string and listenerMethod is ommitted, this is treated as the name of a function in the global namespace. IfThe function to register.use dojo.event.disconnect() to attach the passed listener to the topic represented by this objecta string and listenerMethod is ommitted, this is treated as the name of a function in the global namespace. IfThe function to unregister.determine whether or not exceptions in the calling of a listener in the chain should stop execution of the chain.disconnects all listeners from this topicregisters the passed function as a publisher on this topic. Each time the function is called, an event will be published on this topic.a string and listenerMethod is ommitted, this is treated as the name of a function in the global namespace. If listenerMethod is provided, this is the scope to find the function in.The function to register.a stub to be called when a message is sent to the topic.dojo.event.*Marks code as experimental.name of a module, or the name of a module file or a specific functionadditional message for the user examples: dojo.experimental("dojo.data.Result"); dojo.experimental("dojo.weather.toKelvin()", "PENDING approval from NOAA");This can be used to mark a function, file, or module as experimental. Experimental code is not ready to be used, and the APIs are subject to change without notice. Experimental code may be completed deleted without going through the normal deprecation process.dojo.string.*dojo.uri.*dojo.html.commonThe goal of dojo.flash is to make it easy to extend Flash's capabilities into an AJAX/DHTML environment.The goal of dojo.flash is to make it easy to extend Flash's capabilities into an AJAX/DHTML environment. Robust, performant, reliable JavaScript/Flash communication is harder than most realize when they delve into the topic, especially if you want it to work on Internet Explorer, Firefox, and Safari, and to be able to push around hundreds of K of information quickly. Dojo.flash makes it possible to support these platforms; you have to jump through a few hoops to get its capabilites, but if you are a library writer who wants to bring Flash's storage or streaming sockets ability into DHTML, for example, then dojo.flash is perfect for you. Dojo.flash provides an easy object for interacting with the Flash plugin. This object provides methods to determine the current version of the Flash plugin (dojo.flash.info); execute Flash instance methods independent of the Flash version being used (dojo.flash.comm); write out the necessary markup to dynamically insert a Flash object into the page (dojo.flash.Embed; and do dynamic installation and upgrading of the current Flash plugin in use (dojo.flash.Install). To use dojo.flash, you must first wait until Flash is finished loading and initializing before you attempt communication or interaction. To know when Flash is finished use dojo.event.connect: dojo.event.connect(dojo.flash, "loaded", myInstance, "myCallback"); Then, while the page is still loading provide the file name and the major version of Flash that will be used for Flash/JavaScript communication (see "Flash Communication" below for information on the different kinds of Flash/JavaScript communication supported and how they depend on the version of Flash installed): dojo.flash.setSwf({flash6: "src/storage/storage_flash6.swf", flash8: "src/storage/storage_flash8.swf"}); This will cause dojo.flash to pick the best way of communicating between Flash and JavaScript based on the platform. If no SWF files are specified, then Flash is not initialized. Your Flash must use DojoExternalInterface to expose Flash methods and to call JavaScript; see "Flash Communication" below for details. setSwf can take an optional 'visible' attribute to control whether the Flash object is visible or not on the page; the default is visible: dojo.flash.setSwf({flash6: "src/storage/storage_flash6.swf", flash8: "src/storage/storage_flash8.swf", visible: false}); Once finished, you can query Flash version information: dojo.flash.info.version Or can communicate with Flash methods that were exposed: var results = dojo.flash.comm.sayHello("Some Message"); Only string values are currently supported for both arguments and for return results. Everything will be cast to a string on both the JavaScript and Flash sides. ------------------- Flash Communication ------------------- dojo.flash allows Flash/JavaScript communication in a way that can pass large amounts of data back and forth reliably and very fast. The dojo.flash framework encapsulates the specific way in which this communication occurs, presenting a common interface to JavaScript irrespective of the underlying Flash version. There are currently three major ways to do Flash/JavaScript communication in the Flash community: 1) Flash 6+ - Uses Flash methods, such as SetVariable and TCallLabel, and the fscommand handler to do communication. Strengths: Very fast, mature, and can send extremely large amounts of data; can do synchronous method calls. Problems: Does not work on Safari; works on Firefox/Mac OS X only if Flash 8 plugin is installed; cryptic to work with. 2) Flash 8+ - Uses ExternalInterface, which provides a way for Flash methods to register themselves for callbacks from JavaScript, and a way for Flash to call JavaScript. Strengths: Works on Safari; elegant to work with; can do synchronous method calls. Problems: Extremely buggy (fails if there are new lines in the data, for example); performance degrades drastically in O(n^2) time as data grows; locks up the browser while it is communicating; does not work in Internet Explorer if Flash object is dynamically added to page with document.writeln, DOM methods, or innerHTML. 3) Flash 6+ - Uses two seperate Flash applets, one that we create over and over, passing input data into it using the PARAM tag, which then uses a Flash LocalConnection to pass the data to the main Flash applet; communication back to Flash is accomplished using a getURL call with a javascript protocol handler, such as "javascript:myMethod()". Strengths: the most cross browser, cross platform pre-Flash 8 method of Flash communication known; works on Safari. Problems: Timing issues; clunky and complicated; slow; can only send very small amounts of data (several K); all method calls are asynchronous. dojo.flash.comm uses only the first two methods. This framework was created primarily for dojo.storage, which needs to pass very large amounts of data synchronously and reliably across the Flash/JavaScript boundary. We use the first method, the Flash 6 method, on all platforms that support it, while using the Flash 8 ExternalInterface method only on Safari with some special code to help correct ExternalInterface's bugs. Since dojo.flash needs to have two versions of the Flash file it wants to generate, a Flash 6 and a Flash 8 version to gain true cross-browser compatibility, several tools are provided to ease development on the Flash side. In your Flash file, if you want to expose Flash methods that can be called, use the DojoExternalInterface class to register methods. This class is an exact API clone of the standard ExternalInterface class, but can work in Flash 6+ browsers. Under the covers it uses the best mechanism to do communication: class HelloWorld{ function HelloWorld(){ // Initialize the DojoExternalInterface class DojoExternalInterface.initialize(); // Expose your methods DojoExternalInterface.addCallback("sayHello", this, this.sayHello); // Tell JavaScript that you are ready to have method calls DojoExternalInterface.loaded(); // Call some JavaScript var resultsReady = function(results){ trace("Received the following results from JavaScript: " + results); } DojoExternalInterface.call("someJavaScriptMethod", resultsReady, someParameter); } function sayHello(){ ... } static main(){ ... } } DojoExternalInterface adds two new functions to the ExternalInterface API: initialize() and loaded(). initialize() must be called before any addCallback() or call() methods are run, and loaded() must be called after you are finished adding your callbacks. Calling loaded() will fire the dojo.flash.loaded() event, so that JavaScript can know that Flash has finished loading and adding its callbacks, and can begin to interact with the Flash file. To generate your SWF files, use the ant task "buildFlash". You must have the open source Motion Twin ActionScript compiler (mtasc) installed and in your path to use the "buildFlash" ant task; download and install mtasc from http: // www.mtasc.org/. buildFlash usage: ant buildFlash -Ddojo.flash.file=../tests/flash/HelloWorld.as where "dojo.flash.file" is the relative path to your Flash ActionScript file. This will generate two SWF files, one ending in _flash6.swf and the other ending in _flash8.swf in the same directory as your ActionScript method: HelloWorld_flash6.swf HelloWorld_flash8.swf Initialize dojo.flash with the filename and Flash communication version to use during page load; see the documentation for dojo.flash for details: dojo.flash.setSwf({flash6: "tests/flash/HelloWorld_flash6.swf", flash8: "tests/flash/HelloWorld_flash8.swf"}); Now, your Flash methods can be called from JavaScript as if they are native Flash methods, mirrored exactly on the JavaScript side: dojo.flash.comm.sayHello(); Only Strings are supported being passed back and forth currently. JavaScript to Flash communication is synchronous; i.e., results are returned directly from the method call: var results = dojo.flash.comm.sayHello(); Flash to JavaScript communication is asynchronous due to limitations in the underlying technologies; you must use a results callback to handle results returned by JavaScript in your Flash AS files: var resultsReady = function(results){ trace("Received the following results from JavaScript: " + results); } DojoExternalInterface.call("someJavaScriptMethod", resultsReady); ------------------- Notes ------------------- If you have both Flash 6 and Flash 8 versions of your file: dojo.flash.setSwf({flash6: "tests/flash/HelloWorld_flash6.swf", flash8: "tests/flash/HelloWorld_flash8.swf"}); but want to force the browser to use a certain version of Flash for all platforms (for testing, for example), use the djConfig variable 'forceFlashComm' with the version number to force: var djConfig = { forceFlashComm: 6 }; Two values are currently supported, 6 and 8, for the two styles of communication described above. Just because you force dojo.flash to use a particular communication style is no guarantee that it will work; for example, Flash 8 communication doesn't work in Internet Explorer due to bugs in Flash, and Flash 6 communication does not work in Safari. It is best to let dojo.flash determine the best communication mechanism, and to use the value above only for debugging the dojo.flash framework itself. Also note that dojo.flash can currently only work with one Flash object on the page; it and the API do not yet support multiple Flash objects on the same page. We use some special tricks to get decent, linear performance out of Flash 8's ExternalInterface on Safari; see the blog post http: // codinginparadise.org/weblog/2006/02/how-to-speed-up-flash-8s.html for details. Your code can detect whether the Flash player is installing or having its version revved in two ways. First, if dojo.flash detects that Flash installation needs to occur, it sets dojo.flash.info.installing to true. Second, you can detect if installation is necessary with the following callback: dojo.event.connect(dojo.flash, "installing", myInstance, "myCallback"); You can use this callback to delay further actions that might need Flash; when installation is finished the full page will be refreshed and the user will be placed back on your page with Flash installed. Two utility methods exist if you want to add loading and installing listeners without creating dependencies on dojo.event; these are 'addLoadingListener' and 'addInstallingListener'. ------------------- Todo/Known Issues ------------------- There are several tasks I was not able to do, or did not need to fix to get dojo.storage out: * When using Flash 8 communication, Flash method calls to JavaScript are not working properly; serialization might also be broken for certain invalid characters when it is Flash invoking JavaScript methods. The Flash side needs to have more sophisticated serialization/ deserialization mechanisms like JavaScript currently has. The test_flash2.html unit tests should also be updated to have much more sophisticated Flash to JavaScript unit tests, including large amounts of data. * On Internet Explorer, after doing a basic install, the page is not refreshed or does not detect that Flash is now available. The way to fix this is to create a custom small Flash file that is pointed to during installation; when it is finished loading, it does a callback that says that Flash installation is complete on IE, and we can proceed to initialize the dojo.flash subsystem. Author- Brad Neuberg, bkn3@columbia.eduA class that helps us determine whether Flash is available.A class that helps us determine whether Flash is available, it's major and minor versions, and what Flash version features should be used for Flash/JavaScript communication. Parts of this code are adapted from the automatic Flash plugin detection code autogenerated by the Macromedia Flash 8 authoring environment. An instance of this class can be accessed on dojo.flash.info after the page is finished loading. This constructor must be called before the page is finished loading. Visual basic helper required to detect Flash Player ActiveX control version information on Internet ExplorerA class that is used to write out the Flash object into the page.A class that is used to communicate between Flash and JavaScript in a way that can pass large amounts of data back and forth reliably, very fast, and with synchronous method calls.A class that is used to communicate between Flash and JavaScript in a way that can pass large amounts of data back and forth reliably, very fast, and with synchronous method calls. This class encapsulates the specific way in which this communication occurs, presenting a common interface to JavaScript irrespective of the underlying Flash version.Helps install Flash plugin if needed.Figures out the best way to automatically install the Flash plugin for this browser and platform. Also determines if installation or revving of the current plugin is needed on this platform.Sets the SWF files and versions we are using.An object that contains two attributes, 'flash6' and 'flash8', each of which contains the path to our Flash 6 and Flash 8 versions of the file we want to script. Example- var swfloc6 = dojo.uri.dojoUri("Storage_version6.swf").toString(); var swfloc8 = dojo.uri.dojoUri("Storage_version8.swf").toString(); dojo.flash.setSwf({flash6: swfloc6, flash8: swfloc8, visible: false});Boolean Returns whether we are using Flash 6 for communication on this platform.Boolean Returns whether we are using Flash 8 for communication on this platform.Adds a listener to know when Flash is finished loading. Useful if you don't want a dependency on dojo.event.A function that will be called when Flash is done loading.Adds a listener to know if Flash is being installed. Useful if you don't want a dependency on dojo.event.A function that will be called if Flash is being installedCalled back when the Flash subsystem is finished loading.A callback when the Flash subsystem is finished loading and can be worked with. To be notified when Flash is finished loading, connect your callback to this method using the following: dojo.event.connect(dojo.flash, "loaded", myInstance, "myCallback"); dojo.debug("dojo.flash.loaded");Called if Flash is being installed.A callback to know if Flash is currently being installed or having its version revved. To be notified if Flash is installing, connect your callback to this method using the following: dojo.event.connect(dojo.flash, "installing", myInstance, "myCallback"); dojo.debug("installing");Boolean Asserts that this environment has the given major, minor, and revision numbers for the Flash player.Asserts that this environment has the given major, minor, and revision numbers for the Flash player. Example- To test for Flash Player 7r14: dojo.flash.info.isVersionOrAbove(7, 0, 14)Writes the Flash into the page.The Flash version to write.Whether to write out Express Install information. Optional value; defaults to false. dojo.debug("write");This must be called before the page is finished loading.Object Gets the Flash object DOM node. return (dojo.render.html.ie) ? window[this.id] : document[this.id]; more robust way to get Flash object; version above can break communication on IE sometimesSets the visibility of this Flash object.Centers the flash applet on the page.runMeBoolean Determines if installation or revving of the current plugin is needed. do we even have flash?Performs installation or revving of the Flash plugin. dojo.debug("install"); indicate that we are installinginteract with the Flash ActiveX control. Detects the mechanisms that should be used for Flash/JavaScript communication, setting 'commVersion' to either 6 or 8. If the value is 6, we use Flash Plugin 6+ features, such as GetVariable, TCallLabel, and fscommand, to do Flash/JavaScript communication; if the value is 8, we use the ExternalInterface API for communication.versionRevision: String The major, minor, and revisions of the plugin. For example, if the plugin is 8r22, then the major version is 8, the minor version is 0, and the revision is 22.Whether this platform has Flash already installed.The major version number for how our Flash and JavaScript communicate. This can currently be the following values: 6 - We use a combination of the Flash plugin methods, such as SetVariable and TCallLabel, along with fscommands, to do communication. 8 - We use the ExternalInterface API. -1 - For some reason neither method is supported, and no communication is possible.Set if we are in the middle of a Flash installation session. JavaScript helper required to detect Flash Player PlugIn version information. Internet Explorer uses a corresponding Visual BasicThe width of this Flash applet. The default is the minimal width necessary to show the Flash settings dialog. Current value is 215 pixels.The height of this Flash applet. The default is the minimal height necessary to show the Flash settings dialog. Current value is 138 pixels.The id of the Flash object. Current value is 'flashObject'. Controls whether this is a visible Flash applet or not.dojo.lang.commondojo.math.matrixAn object for dealing with colorspace conversions.dojo.gfx.colordojo.gfx.matrixdojo.gfx.commondojo.gfx.colordojo.lang.arraydojo.lang.arraydojo.mathconverts an RGB value set to HSV, ranges depending on optional options object. patch for options by Matthew Eernisseconverts an HSV value set to RGB, ranges depending on optional options object. patch for options by Matthew Eernissedojo.lang.commondojo.lang.arrayblend colors a and b (both as RGB array or hex strings) with weight from -1 to +1, 0 being a 50/50 blenddojo.gfx.colordojo.lang.declaredojo.lang.extrasdojo.domconverts any legal color representation to normalized dojo.gfx.color.Color objectupdates an existing object with properties from an "update" objectthe "target" object to be updatedthe "update" object, whose properties will be used to update the existed objectcopies the original object, and all copied properties from the "update" objectthe object to be cloned before updatingthe object, which properties are to be cloned during updatingconverts a number to a string using a fixed notationnumber to be convertedif it is true, add a space before a positive numberdojo.lang.commondojo.math.*a 2D matrix objecta 2D matrix-like object, or an array of such objectsNormalizes a 2D matrix-like object. If arrays is passed, all objects of the array are normalized and multiplied sequentially.forms a translation matrixan x coordinate valuea y coordinate valueThe resulting matrix is used to translate (move) points by specified offsets.forms a scaling matrixa scaling factor used for the x coordinatea scaling factor used for the y coordinateThe resulting matrix is used to scale (magnify) points by specified offsets.forms a rotating matrixan angle of rotation in radians (>0 for CCW)The resulting matrix is used to rotate points around the origin of coordinates (0, 0) by specified angle.forms a rotating matrixan angle of rotation in degrees (>0 for CCW)The resulting matrix is used to rotate points around the origin of coordinates (0, 0) by specified degree. See dojo.gfx.matrix.rotate() for comparison.forms an x skewing matrixan skewing angle in radiansThe resulting matrix is used to skew points in the x dimension around the origin of coordinates (0, 0) by specified angle.forms an x skewing matrixan skewing angle in degreesThe resulting matrix is used to skew points in the x dimension around the origin of coordinates (0, 0) by specified degree. See dojo.gfx.matrix.skewX() for comparison.forms a y skewing matrixan skewing angle in radiansThe resulting matrix is used to skew points in the y dimension around the origin of coordinates (0, 0) by specified angle.forms a y skewing matrixan skewing angle in degreesThe resulting matrix is used to skew points in the y dimension around the origin of coordinates (0, 0) by specified degree. See dojo.gfx.matrix.skewY() for comparison.converts an object to a matrix, if necessaryan object, which is converted to a matrix, if necessaryConverts any 2D matrix-like object or an array of such objects to a valid dojo.gfx.matrix.Matrix2D object.creates a copy of a 2D matrixa 2D matrix-like object to be clonedinverts a 2D matrixa 2D matrix-like object to be invertedapplies a matrix to a point matrix: dojo.gfx.matrix.Matrix2D: a 2D matrix object to be appliedan x coordinate of a pointa y coordinate of a pointapplies a matrix to a pointa 2D matrix object to be appliedan x coordinate of a pointa y coordinate of a pointcombines matrices by multiplying them sequentially in the given ordera 2D matrix-like object, all subsequent arguments are matrix-like objects tooapplies a matrix at a centrtal pointa 2D matrix-like object, which is applied at a central pointan x component of the central pointa y component of the central pointscales a picture using a specified point as a center of scalinga scaling factor used for the x coordinatea scaling factor used for the y coordinatean x component of a central pointa y component of a central point accepts several signatures: 1) uniform scale factor, Point 2) uniform scale factor, x, y 3) x scale, y scale, Point 4) x scale, y scale, x, yCompare with dojo.gfx.matrix.scale().rotates a picture using a specified point as a center of rotationan angle of rotation in radians (>0 for CCW)an x component of a central pointa y component of a central point accepts several signatures: 1) rotation angle in radians, Point 2) rotation angle in radians, x, yCompare with dojo.gfx.matrix.rotate().rotates a picture using a specified point as a center of rotationan angle of rotation in degrees (>0 for CCW)an x component of a central pointa y component of a central point accepts several signatures: 1) rotation angle in degrees, Point 2) rotation angle in degrees, x, yCompare with dojo.gfx.matrix.rotateg().skews a picture along the x axis using a specified point as a center of skewingan skewing angle in radiansan x component of a central pointa y component of a central point accepts several signatures: 1) skew angle in radians, Point 2) skew angle in radians, x, yCompare with dojo.gfx.matrix.skewX().skews a picture along the x axis using a specified point as a center of skewingan skewing angle in degreesan x component of a central pointa y component of a central point accepts several signatures: 1) skew angle in degrees, Point 2) skew angle in degrees, x, yCompare with dojo.gfx.matrix.skewXg().skews a picture along the y axis using a specified point as a center of skewingan skewing angle in radiansan x component of a central pointa y component of a central point accepts several signatures: 1) skew angle in radians, Point 2) skew angle in radians, x, yCompare with dojo.gfx.matrix.skewY().skews a picture along the y axis using a specified point as a center of skewingan skewing angle in degreesan x component of a central pointa y component of a central point accepts several signatures: 1) skew angle in degrees, Point 2) skew angle in degrees, x, yCompare with dojo.gfx.matrix.skewYg().dojo.mathdojo.gfx.shapedojo.gfx.Shapedojo.gfx.Shapedojo.lang.declaredojo.gfx.commondojo.gfx.Shapedojo.gfx.Shapedojo.gfx.Shapedojo.gfx.Shapedojo.gfx.Shapedojo.gfx.Shapedojo.gfx.Shapedojo.gfx.Shapedojo.gfx.Shapedojo.gfx.Shapedojo.gfx.Shapedojo.gfx.Shapedojo.gfx.Shapedojo.gfx.Shapedojo.lang.declaredojo.svgdojo.gfx.colordojo.gfx.commondojo.gfx.shapedojo.gfx.pathdojo.experimentaldojo.gfx.Shapedojo.gfx.Shapedojo.gfx.shape.Rectdojo.gfx.shape.Rectdojo.gfx.shape.Polylinedojo.gfx.shape.Polylinedojo.gfx.shape.Imagedojo.gfx.shape.Imagedojo.gfx.path.Pathdojo.gfx.path.Pathreturns a DOM Node specified by the fill argument or nullan SVG fillcreates a shape from a Nodean SVG nodecreates a surface (SVG)a parent nodewidth of surface, e.g., "100px"height of surface, e.g., "100px"creates a surface from a Nodean SVG nodesets a fill object (SVG)a fill object (see dojo.gfx.defaultLinearGradient, dojo.gfx.defaultRadialGradient, dojo.gfx.defaultPattern, or dojo.gfx.color.Color)sets a stroke object (SVG)a stroke object (see dojo.gfx.defaultStroke)assigns and clears the underlying node that will represent this shape. Once set, transforms, gradients, etc, can be applied. (no fill & stroke by default)moves a shape to front of its parent's list of shapes (SVG)moves a shape to back of its parent's list of shapes (SVG)sets a shape object (SVG)a shape object (see dojo.gfx.defaultPath, dojo.gfx.defaultPolyline, dojo.gfx.defaultRect, dojo.gfx.defaultEllipse, dojo.gfx.defaultCircle, dojo.gfx.defaultLine, or dojo.gfx.defaultImage)deduces a fill style from a Node.an SVG nodededuces a stroke style from a Node.an SVG nodededuces a transformation matrix from a Node.an SVG nodebuilds a shape from a Node.an SVG nodereconstructs all shape parameters from a Node.sets the width and height of the rawNodewidth of surface, e.g., "100px"height of surface, e.g., "100px"returns an object with properties "width" and "height"creates an SVG path shapea path object (see dojo.gfx.defaultPath)creates an SVG rectangle shapea path object (see dojo.gfx.defaultRect)creates an SVG circle shapea circle object (see dojo.gfx.defaultCircle)creates an SVG ellipse shapean ellipse object (see dojo.gfx.defaultEllipse)creates an SVG line shapea line object (see dojo.gfx.defaultLine)creates an SVG polyline/polygon shapea points object (see dojo.gfx.defaultPolyline) or an Array of pointscreates an SVG image shapean image object (see dojo.gfx.defaultImage)creates an SVG group shapecreates an instance of the passed shapeType classa class constructor to create an instance ofproperties to be passed in to the classes "setShape" methodadds a shape to a group/surfacean SVG shape objectremove a shape from a group/surfacean SVG shape objectif true, regenerate a pictureSVG shape creators group controldojo.domdojo.mathdojo.lang.declaredojo.lang.extrasdojo.string.*dojo.html.metricsdojo.gfx.colordojo.gfx.commondojo.gfx.shapedojo.gfx.pathdojo.experimentaldojo.gfx.shape.VirtualGroupdojo.gfx.shape.VirtualGroupdojo.gfx.shape.Rectdojo.gfx.shape.Rectdojo.gfx.shape.Ellipsedojo.gfx.shape.Ellipsedojo.gfx.shape.Circledojo.gfx.shape.Circledojo.gfx.shape.Linedojo.gfx.shape.Linebuilds a line shape from a Node.an VML nodesets a line shape object (VML)a line shape objectdojo.gfx.shape.Polylinedojo.gfx.shape.Polylinebuilds a polyline/polygon shape from a Node.an VML nodesets a polyline/polygon shape object (SVG)a polyline/polygon shape objectif true, close the polyline explicitelydojo.gfx.shape.Imagedojo.gfx.shape.Imagedojo.gfx.path.Pathdojo.gfx.path.Pathupdates the bounding box of path with new segmenta segmentdojo.gfx.Path.superclass._updateWithSegmentbuilds a path shape from a Node.an VML nodeforms a path using a shape (VML)an VML path string or a path object (see dojo.gfx.defaultPath)dojo.gfx.Path.superclass.setShapea helper function to parse VML-specific floating-point valuesa representation of a floating-point numberreturns a number of pixels per pointconverts points to pixelsa value in pointsconverts pixels to pointsa value in pixelsconverts any length value to pointsa length, e.g., "12pc"creates a shape from a Nodean VML nodecreates a surface (VML)a parent nodewidth of surface, e.g., "100px"height of surface, e.g., "100px"creates a surface from a Nodean VML nodesets a fill object (VML)a fill object (see dojo.gfx.defaultLinearGradient, dojo.gfx.defaultRadialGradient, dojo.gfx.defaultPattern, or dojo.gfx.color.Color)sets a stroke object (VML)a stroke object (see dojo.gfx.defaultStroke)assigns and clears the underlying node that will represent this shape. Once set, transforms, gradients, etc, can be applied. (no fill & stroke by default)deduces a fill style from a Node.an VML nodededuces a stroke style from a Node.an VML nodededuces a transformation matrix from a Node.an VML nodereconstructs all shape parameters from a Node.sets the width and height of the rawNodewidth of surface, e.g., "100px"height of surface, e.g., "100px"returns an object with properties "width" and "height"adds a shape to a group/surfacean VMLshape objectremove a shape from a group/surfacean VML shape objectif true, regenerate a picturemoves a shape to front of its parent's list of shapes (VML)moves a shape to back of its parent's list of shapes (VML)creates an SVG path shapea path object (see dojo.gfx.defaultPath)creates an VML rectangle shapea path object (see dojo.gfx.defaultRect)creates an VML circle shapea circle object (see dojo.gfx.defaultCircle)creates an VML ellipse shapean ellipse object (see dojo.gfx.defaultEllipse)creates an VML line shapea line object (see dojo.gfx.defaultLine)creates an VML polyline/polygon shapea points object (see dojo.gfx.defaultPolyline) or an Array of pointscreates an VML image shapean image object (see dojo.gfx.defaultImage)creates an VML group shapecreates an instance of the passed shapeType classa class constructor to create an instance ofproperties to be passed in to the classes "setShape" methodVML shape creatorsdojo.gfx.Colorspacedojo.gfx.color.hsldojo.gfx.color.hsvdojo.gfx.colorhttp.onreadystatechangefpoldHandlerreturn the document object associated with the dojo.global()return the body object associated with dojo.doc() Note: document.body is not defined for a strict xhtml documentcallbackCall callback with globalObject as dojo.global() and globalObject.document as dojo.doc(). If provided, globalObject will be executed in the context of object thisObjectWhen callback() returns or throws an error, the dojo.global() and dojo.doc() will be restored to its previous state.Call callback with documentObject as dojo.doc(). If provided, callback will be executed in the context of object thisObjectWhen callback() returns or throws an error, the dojo.doc() will be restored to its previous state.Prints a message to the OS X consoleReturns the appropriate transfer object for the call typeEmulates the XMLHttpRequest Objectthis.onreadystatechangereturn the document object associated with the dojo.global()provides timed callbacks using Java threadsdojo.html.commondojo.html.styledojo.html.styledojo.gfx.colordojo.lang.commonthe background color of the passed node as a 32-bit color (RGBA)dojo.lang.commondojo.domReturns the target of an eventReturns the dimensions of the viewable area of a browser windowReturns the scroll position of the documentReturns the first ancestor of node with tagName type.Returns the value of attribute attr from node.Determines whether or not the specified node carries a value for the attribute in question.Returns the mouse position relative to the document (not the viewport). For example, if you have a document that is 10000px tall, but your browser window is only 100px tall, if you scroll to the bottom of the document and call this function it will return {x: 0, y: 10000} NOTE: for events delivered via dojo.event.connect() and/or dojoAttachEvent (for widgets), you can just access evt.pageX and evt.pageY, rather than calling this function.Like dojo.dom.isTag, except case-insensitiveCreates an element in the HTML document, here for ActiveX activation workaround.dojo.html.styleShow the passed element by reverting display property set by dojo.html.hideHide the passed element by setting display:noneCalls show() if showing is true, hide() otherwiseReturns whether the element is displayed or not. FIXME: returns true if node is bad, isHidden would be easier to make correctCall setShowing() on node with the complement of isShowing(), then return the new value of isShowing()Suggest a value for the display property that will show 'node' based on it's tagSets the value of style.display to value of 'display' parameter if it is a string. Otherwise, if 'display' is false, set style.display to 'none'. Finally, set 'display' to a suggested display value based on the node's tagIs true if the the computed display style for node is not 'none' FIXME: returns true if node is bad, isNotDisplayed would be easier to make correctCall setDisplay() on node with the complement of isDisplayed(), then return the new value of isDisplayed()Sets the value of style.visibility to value of 'visibility' parameter if it is a string. Otherwise, if 'visibility' is false, set style.visibility to 'hidden'. Finally, set style.visibility to 'visible'.Returns true if the the computed visibility style for node is not 'hidden' FIXME: returns true if node is bad, isInvisible would be easier to make correctCall setVisibility() on node with the complement of isVisible(), then return the new value of isVisible()Sets the opacity of node in a cross-browser way. float between 0.0 (transparent) and 1.0 (opaque)Clears any opacity setting on the passed element.Returns the opacity of the passed elementdojo.html.utilthe window reference of the passed iframea reference to the document object inside iframe_elFor IE z-index schenanigans Two possible uses: 1. new dojo.html.BackgroundIframe(node) Makes a background iframe as a child of node, that fills area (and position) of node 2. new dojo.html.BackgroundIframe() Attaches frame to dojo.body(). User must call size() to set size.Resize event handler. TODO: this function shouldn't be necessary but setting width=height=100% doesn't work!Call this function if the iframe is connected to dojo.body() rather than the node being shadowedSets the z-index of the background iframe.show the iframehide the iframeremove the iframedojo.html.commondojo.html.styledojo.html.displayReturns the sum of the passed property on all ancestors of node.allows a dev to pass a string similar to what you'd pass in style="", and apply it to a node.Gets the absolute position of the passed element based on the document itself. see also: dojo.html.getAbsolutePositionExtReturns true if the element is absolutely positioned.Returns the width and height of the passed node's marginReturns the width and height of the passed node's borderthe width of the requested borderthe width of the requested marginReturns the width of the requested paddingReturns the width and height of the passed node's paddingReturns the width and height of the passed node's padding and borderReturns which box model the passed element is working withwhether the passed element is using border box sizing or not.Returns the dimensions of the passed element based on border-box sizing.Returns the dimensions of the padding box (see http: // www.w3.org/TR/CSS21/box.html)Returns the dimensions of the content box (see http: // www.w3.org/TR/CSS21/box.html)Sets the dimensions of the passed node according to content sizing.the dimensions of the passed node including any margins.Sets the dimensions of the passed node using margin box calcs.return dimesions of a node based on the passed box model type.Converts an object of coordinates into an object of named arguments.dojo.html.layoutthe width of a scrollbar. set up the test nodes.Returns an object that has pixel equivilents of standard font size values.get the dimensions of passed node if it were populated with passed html.Given html, return the fragment that will fit on one line of passed node.will fit as much html as possible into node, and return the unused portion, with tag corrections.dojo.html.commondojo.domdojo.lang.commondeselect the current selection to make it emptydisable selection on a nodeenable selection on a nodeselect all the text in an input elementGet the selection type (like document.select.type in IE).return whether the current selection is emptyRetrieves the selected element (if any), just in the case that a single element (object like and image or a table) is selected.Get the parent element of the current selectionReturn the text (no html tags) included in the current selection or null if no text is selectedReturn the html of the current selection or null if unavailableCheck whether current selection has a parent element which is of type tagName (or one of the other specified tagName)dojo.html.selection.getAncestorElementReturn the parent element of the current selection which is of type tagName (or one of the other specified tagName)clear previous selection and select element (including all its children)clear previous selection and select the content of the node (excluding the node itself)Retrieves a bookmark that can be used with moveToBookmark to return to the same rangeMoves current selection to a bookmarkshould be a returned object from dojo.html.selection.getBookmark()clear current selectiondelete current selectiondojo.html.commondojo.uri.UriReturns the string value of the list of CSS classes currently assigned directly to the node in question. Returns an empty string if no class attribute is found;Returns an array of CSS classes currently assigned directly to the node in question. Returns an empty array if no classes are found;Returns whether or not the specified classname is a portion of the class list currently applied to the node. Does not cover cascaded styles, only classes directly applied to the node.Adds the specified class to the beginning of the class list on the passed node. This gives the specified class the highest precidence when style cascading is calculated for the node. Returns true or false; indicating success or failure of the operation, respectively.Adds the specified class to the end of the class list on the passed &node;. Returns &true; or &false; indicating success or failure.Clobbers the existing list of classes for the node, replacing it with the list given in the 2nd argument. Returns true or false indicating success or failure.Removes the className from the node;. Returns true or false indicating success or failure.Replaces 'oldClass' and adds 'newClass' to nodeReturns an array of nodes for the given classStr, children of aoptionally of a certain nodeType FIXME: temporarily set to false because of several dojo tickets related to the xpath version not working consistently in firefox.Translates a CSS selector string to a camel-cased one.Translates a camel cased string to a selector cased one.Returns the computed style of cssSelector on node.Returns the value of the passed styleReturns the computed value of the passed styleSet the value of passed style on nodeTry to set the entire cssText property of the passed target; equiv of setting style attribute.work around for opera which doesn't have cssText, and for IE which fails on setAttributeGet the value of passed selector, with the specific units usedGet the value of passed selector in pixels.Attempt to set the value of selector on node as a positive pixel value.Attempt to insert declaration as selector on the internal stylesheet; if index try to set it there.Attempt to remove the rule at index.calls css by XmlHTTP and inserts it into DOM as <style [widgetType="widgetType"]> *downloaded cssText*</style>Attempt to insert CSS rules into the document through inserting a style element DomNode Style = insertCssText(String ".dojoMenu {color: green;}"[, DomDoc document, dojo.uri.Uri Url ])usage: cssText comes from dojoroot/src/widget/templates/Foobar.css it has .dojoFoo { background-image: url(images/bar.png);} then uri should point to dojoroot/src/widget/templates/Activate style sheet with specified title.return the title of the currently active stylesheetReturn the preferred stylesheet title (i.e. link without alt attribute)Applies pre-set class names based on browser & version to the passed node. Modified version of Morris' CSS hack.dojo.html.layoutGet the window object where the element is placed in.Get window object associated with document docthe same as dojo.html.getAbsolutePosition (see full description/parameter list there) except this one accepts an additional parameter to specify which window the resulting coordinate should be against.this function is useful when the absolute position (with regards to the top window) of a node in an iframe is wantedCalculates the mouse's direction of gravity relative to the centre of the given node. <p> If you wanted to insert a node into a DOM tree based on the mouse position you might use the following code: <pre> if (gravity(node, e) & gravity.NORTH) { [insert before]; } else { [insert after]; } </pre> @param node The node @param e The event containing the mouse coordinates @return The directions, NORTH or SOUTH and EAST or WEST. These are properties of the function.Returns whether the mouse is over the passed element. Element must be display:block (ie, not a <span>)Attempts to return the text as it would be rendered, with the line breaks sorted out nicely. Unfinished.Attempts to create a set of nodes based on the structure of the passed text.Keeps 'node' in the visible area of the screen while trying to place closest to desiredX, desiredY. The input coordinates are expected to be the desired screen position, not accounting for scrolling. If you already accounted for scrolling, set 'hasScroll' to true. Set padding to either a number or array for [paddingX, paddingY] to put some buffer around the element you want to position. Set which corner(s) you want to bind to, such as placeOnScreen(node, desiredX, desiredY, padding, hasScroll, "TR") placeOnScreen(node, [desiredX, desiredY], padding, hasScroll, ["TR", "BL"]) The desiredX/desiredY will be treated as the topleft(TL)/topright(TR) or BottomLeft(BL)/BottomRight(BR) corner of the node. Each corner is tested and if a perfect match is found, it will be used. Otherwise, it goes through all of the specified corners, and choose the most appropriate one. By default, corner = ['TL']. If tryOnly is set to true, the node will not be moved to the place. NOTE: node is assumed to be absolutely or relatively positioned. Alternate call sig: placeOnScreen(node, [x, y], padding, hasScroll) Examples: placeOnScreen(node, 100, 200) placeOnScreen("myId", [800, 623], 5) placeOnScreen(node, 234, 3284, [2, 5], true)Like placeOnScreen, except it accepts aroundNode instead of x,y and attempts to place node around it. aroundType (see dojo.html.boxSizing in html/layout.js) determines which box of thebe used to calculate the outer box.'BL', 'BL': 'TL'}Scroll the passed node into view, if it is not.Returns an Object containing the localization for a given resource bundle in a package, matching the specified locale.which is associated with this resourcebase filename of the resource bundle (without the ".js" suffix)variant to load (optional). By default, the locale defined by the host environment: dojo.localeReturns a hash containing name/value pairs in its prototypesuch that values can be easily overridden. Throws an exception if the bundle is not found. Bundle must have already been loaded by dojo.requireLocalization() or by a build optimization step.Is the language read left-to-right? Most exceptions are for middle eastern languages.string representing the locale. By default, the locale defined by the host environment: dojo.localedojo.experimentaldojo.regexpdojo.i18n.commondojo.i18n.numberdojo.lang.commondojo.experimentaldojo.regexpdojo.i18n.commondojo.i18n.numberdojo.lang.commondojo.experimentaldojo.regexpdojo.i18n.commondojo.lang.commondojo.cal.iCalendardojo.io.commondojo.lang.arraydojo.lang.funcdojo.string.extrasdojo.domdojo.undo.browserChecks any child nodes of node for an input type="file" element.Just calls dojo.io.checkChildrenForFile().Updates a DOMnode with the result of a dojo.io.bind() call.or Object Either a String that has an URL, or an object containing dojo.io.bind() arguments.Returns true if the node is an input element that is enabled, has a name, and whose type is one of the following values: ["file", "submit", "image", "reset", "button"]Converts the names and values of form elements into an URL-encoded string (name=value&name=value...).The encoding to use for the values. Specify a string that starts with "utf" (for instance, "utf8"), to use encodeURIComponent() as the encoding function. Otherwise, dojo.string.encodeAscii will be used.A function used to filter out form elements. The element node will be passed to the formFilter function, and a boolean result is expected (true indicating indicating that the element should have its name/value included in the output). If no formFilter is specified, then dojo.io.formFilter() will be used.constructor for a dojo.io.FormBind object. See the Dojo Book for some information on usage: http: // manual.dojotoolkit.org/WikiHome/DojoDotBook/Book23either be the DOMNode for a form element, or an object containing dojo.io.bind() arguments, one of which should be formNode with the value of a form element DOMNode.The object that implements the dojo.io.bind transport for XMLHttpRequest.internal method used to trigger a timer to watch all inflight XMLHttpRequests.internal method that checks each inflight XMLHttpRequest to see if it has completed or if the timeout situation applies.Tells dojo.io.bind() if this is a good transport to use for the particular type of request. This type of transport cannot handle forms that have an input type="file" element.function that sends the request to the server.This function will attach an abort() function to the kwArgs dojo.io.Request object, so if you need to abort the request, you can call that method on the request object. The following are acceptable properties in kwArgs (a dojo.io.Request object). url: String: URL the server URL to use for the request. transport: String: specify "XMLHTTPTransport" to force the use of this XMLHttpRequest transport. formNode: DOMNode: a form element node. This should not normally be used. Use new dojo.io.FormBind() instead. method: String: the HTTP method to use (GET, POST, etc...). file: Object or Array of Objects: an object simulating a file to be uploaded. file objects should have the following properties: name or fileName: the name of the file contentType: the MIME content type for the file. content: the actual content of the file. multipart: boolean: indicates whether this should be a multipart mime request. If kwArgs.file exists, then this property is set to true automatically. sync: boolean: if true, then a synchronous XMLHttpRequest call is done, if false (the default), then an asynchronous call is used. preventCache: boolean. If true, then a cache busting parameter is added to the request URL. default value is false. useCache: boolean: If true, then XMLHttpTransport will keep an internal cache of the server response and use that response if a similar request is done again. A similar request is one that has the same URL, query string and HTTP method value. default is false.Internal function called by the dojo.io.FormBind() constructor do not call this method directly.Function used to verify that the form is OK to submit. Override this function if you want specific form validation done.internal function that is connected as a listener to the form's onsubmit event.internal method that is connected as a listener to the form's elements whose click event can submit a form.internal function used to know which form element values to include in the dojo.io.bind() request.internal function used to connect event listeners to form elements that trigger events. Used in case dojo.event is not loaded.dojo.io.BrowserIOdojo.uri.*dojo.event.*dojo.io.BrowserIOthis.subscribethis.subscribedojo.io.commondojo.lang.funcdojo.lang.arraydojo.string.extrasdojo.io.BrowserIOdojo.undo.browserdojo.experimentaldojo.io.IframeIOdojo.html.iframedojo.domdojo.uri.Uridojo.io.XhrIframeProxy.oldGetXmlhttpObjecthave the following params: Decode response data.dojo.io.XhrIframeProxy.oldGetXmlhttpObjectdojo.io.commondojo.io.RhinoIOdojo.io.BrowserIOdojo.io.cookiedojo.io.BrowserIOdojo.io.cookiedojo.io.commondojo.AdapterRegistrydojo.jsondojo.io.BrowserIOdojo.io.IframeIOdojo.io.ScriptSrcIOdojo.io.cookiedojo.event.*dojo.lang.commondojo.lang.funcpublishes the passed message to the cometd server for delivery on the specified topicdestination channel for the messageJSON object containing the message "payload"Other meta-data to be mixed into the top-level of the messagereturn: boolean inform the server of this client's interest in channelof the cometd channel to subscribe toif up a local event topic subscription to the passed function using the channel name that was passed is constructed, or if the topic name will be prefixed with some other identifier for local message distribution. Setting this to "true" is a good way to hook up server-sent message delivery to pre-existing local topics.object scope for funcName or the name or reference to a function to be called when messages are delivered to thesecond half of the objOrFunc/funcName pair for identifying a callback function to notifiy upon channel message deliveryreturn: boolean inform the server of this client's disinterest in channelof the cometd channel to subscribe toif up a local event topic subscription to the passed function using the channel name that was passed is destroyed, or if the topic name will be prefixed with some other identifier for stopping message distribution.object scope for funcName or the name or reference to a function to be called when messages are delivered to thesecond half of the objOrFunc/funcName pair for identifyingdojo.stringdojo.lang.extrasConstructs a Request object that is used by dojo.io.bind().dojo.io.bind() will create one of these for you if you call dojo.io.bind() with an plain object containing the bind parameters. This method can either take the arguments specified, or an Object containing all of the parameters that you want to use to create the dojo.io.Request (similar to how dojo.io.bind() is called. The named parameters to this constructor represent the minimum set of parameters needConstructs an object representing a bind error.Used to register transports that can support bind calls.Binding interface for IO. Loading different IO transports, like dojo.io.BrowserIO or dojo.io.IframeIO, will register with bind to handle particular types of bind calls.Object containing bind arguments. This object is converted to a dojo.io.Request object, and that request object is the return value for this method.Used internally by dojo.io.bind() to return/raise a bind error.queueBind will use dojo.io.bind() but guarantee that only one bind call is handled at a time.Same sort of request object as used for dojo.io.bind().oldLoadoldErrIf queueBind is called while a bind call is in process, it will queue up the other calls to bind and call them in order as bind calls complete.Private method used by dojo.io.queueBind().Converts name/values pairs in the map object to an URL-encoded string with format of name1=value1&name2=value2...Object that has the contains the names and values.String to specify how to encode the name and value. If the encoding string contains "utf" (case-insensitive), then encodeURIComponent is used. Otherwise dojo.string.encodeAscii is used.The last parameter in the list. Helps with final string formatting?Sets the URL that is loaded in an IFrame. The replace parameter indicates whether location.replace() should be used when changing the location of the iframe.Called on successful completion of a bind.A string with value "load"The object representing the result of the bind. The actual structure of the data object will depend on the mimetype that was given to bind in the bind arguments.The object that implements a particular transport. Structure is depedent on the transport. For XMLHTTPTransport (dojo.io.BrowserIO), it will be the XMLHttpRequest object from the browser.Object that contains the request parameters that were given to the bind call. Useful for storing and retrieving state from when bind was called.Called when there is an error with a bind.A string with value "error"The error object. Should be a dojo.io.Error object, but not guaranteed.The object that implements a particular transport. Structure is depedent on the transport. For XMLHTTPTransport (dojo.io.BrowserIO), it will be the XMLHttpRequest object from the browser.Object that contains the request parameters that were given to the bind call. Useful for storing and retrieving state from when bind was called.Called when there is an error with a bind. Only implemented in certain transports at this time.A string with value "timeout"Should be null. Just a spacer argument so that load, error, timeout and handle have the same signatures.The object that implements a particular transport. Structure is depedent on the transport. For XMLHTTPTransport (dojo.io.BrowserIO), it will be the XMLHttpRequest object from the browser. May be null for the timeout case for some transports.Object that contains the request parameters that were given to the bind call. Useful for storing and retrieving state from when bind was called.The handle method can be defined instead of defining separate load, error and timeout callbacks.A string with the type of callback: "load", "error", or "timeout".See the above callbacks for what this parameter could be.The object that implements a particular transport. Structure is depedent on the transport. For XMLHTTPTransport (dojo.io.BrowserIO), it will be the XMLHttpRequest object from the browser.Object that contains the request parameters that were given to the bind call. Useful for storing and retrieving state from when bind was called.Creates a dojo.io.Request from a simple object (kwArgs object).dojo.io.*dojo.lang.funcdojo.string.extrasdojo.AdapterRegistryRegister a JSON serialization function. JSON serialization functions should take one argument and return an object suitable for JSON serialization: - string - number - boolean - undefined - object - null - Array-like (length property that is a number) - Objects with a "json" method will have this method called - Any other object will be used as {key:value, ...} pairs If override is given, it is used as the highest priority JSON serialization, otherwise it will be used as the lowest.descriptive type for this serializerunary function that will be passed an object to determine whether or not wrap will be used to serialize the objectserialization functiondetermines if the this serialization function will be given priority in the test orderevaluates the passed string-form of a JSON objectstring literal of a JSON item, for instance: '{ "foo": [ "bar", 1, { "baz": "thud" } ] }' return: the result of the evaluationCreate a JSON serialization of an object, note that this doesn't check for infinite recursion, so don't do that!object to be serialized. Objects may define their own serialization via a special "__json__" or "json" function property. If a specialized serializer has been defined, it will be used as a fallback. return: a String representing the serialized version of the passed objecta registry of type-based serializersdojo.lang.commondojo.lang.assertdojo.lang.arraydojo.lang.typedojo.lang.funcdojo.lang.extrasdojo.lang.reprdojo.lang.declaredojo.lang.commoncan be used to determine if the passed object is "empty". In the case of array-like objects, the length, property is examined, but for other types of objects iteration is used to examine the iterable "surface area" to determine if any non-prototypal properties have been assigned. This iteration is prototype-extension safe.unary_funcbinary_funccallbackcallbackcallbackCreates a 1-D array out of all the arguments passed, unravelling any array-like objects in the process usage: unnest(1, 2, 3) ==> [1, 2, 3] unnest(1, [2, [3], [[[4]]]]) ==> [1, 2, 3, 4]dojo.lang.unnestConverts an array-like object (i.e. arguments, DOMCollection) to an arraydojo.lang.commondojo.lang.arraydojo.lang.typeexamples:examples:Set up inheritance between two classes.Adds all properties and methods of props to obj.Adds all properties and methods of props to obj.Adds all properties and methods of props to constructor's prototype, making them available to all instances created with constructor.Return the index of value in array, returning -1 if not found.true, matches with identity comparison (===). If false, uses normal comparison (==).true, returns index of last instance of value. examples: find(array, value[, identity [findLast]]) // recommended find(value, array[, identity [findLast]]) // deprecated support both (array, value) and (value, array)Return index of last occurance of value in array, returning -1 if not found.true, matches with identity comparison (===). If false, uses normal comparison (==).Return true if value is present in array.Return true if it is an Object, Array or Function.Return true if it is an Array.Return true if it can be used as an array (i.e. is an object with an integer length property).Return true if it is a Function.Return true if it is a String.Return true if it is not a built-in function.Return true if it is a Boolean.Return true if it is a number.WARNING - In most cases, isNaN(it) is sufficient to determine whether or not something is a number or can be used as such. For example, a number or string can be used interchangably when accessing array items (array["1"] is the same as array[1]) and isNaN will return false for both values ("1" and 1). However, isNumber("1") will return false, which is generally not too useful. Also, isNumber(NaN) returns true, again, this isn't generally useful, but there are corner cases (like when you want to make sure that two things are really the same type of thing). That is really where isNumber "shines". Recommendation - Use isNaN(it) when possibleReturn true if it is not defined.WARNING - In some cases, isUndefined will not behave as you might expect. If you do isUndefined(foo) and there is no earlier reference to foo, an error will be thrown before isUndefined is called. It behaves correctly if you scope yor object first, i.e. isUndefined(foo.bar) where foo is an object and bar isn't a property of the object. Recommendation - Use typeof foo == "undefined" when possibledojo.lang.commondojo.lang.extrasdojo.lang.extendself.initializerSearches backward thru prototype chain to find nearest ancestral instance of prop. Internal use only.dojo.lang.commonSets a timeout in milliseconds to execute a function in a given context with optional arguments. usage: setTimeout (Object context, function func, number delay[, arg1[, ...]]); setTimeout (function func, number delay[, arg1[, ...]]);funcclears timer by number from the execution queuelooks for a value in the object ns with a value matching item and returns the property namenull, dj_global is usedto matchcopies object obj one level deep, or full depth if deep is trueReturn the first argument that isn't undefinedGets a value from a reference specified as a string descriptor, (e.g. "A.B") in the given context.not specified, dj_global is usedtrue, undefined objects in the path are created.Sets a value on a reference specified as a string descriptor. (e.g. "A.B") in the given context.not specified, dj_global is usedtrue, undefined objects in the path are created.dojo.lang.commonfcnfuncdojo.lang.currydojo.lang.commondojo.AdapterRegistrydojo.string.extrasRegister a repr function. repr functions should take one argument and return a string representation of it suitable for developers, primarily used when debugging. If override is given, it is used as the highest priority repr, otherwise it will be used as the lowest.Return a "programmer representation" for an objectreturns a string representation of an object suitable for developers, primarily used when debuggingMaps each element of arr to dojo.lang.repr and provides output in an array-like formatreturns an array-like string representation of the provided array suitable for developers, primarily used when debuggingdojo.lang.timing.TimerStreamer will take an input function that pushes N datapoints into a queue, and will pass the next point in that queue out to anfunction executed when the internal queue reaches minimumSizefunction executed on internal tickminimum number of elements in the internal queue.interval in ms at which the output function is fired.sets the interval in milliseconds of the internal timerstarts the Streamerstops the Streamerdojo.lang.funcTimer object executes an "onTick()" method repeatedly at a specified interval. repeatedly at a given interval.between function calls, in milliseconds.dojo.lang.commonexamples:examples:examples:Will return an object, if it exists, based on the name in the passed string.Check to see if object [str] exists, based on the passed string.dojo.lang.commondojo.lang.funcdojo.lfx.Line is the object used to generate values from a start value to an end valuereturns the point on the linefloating point number greater than 0 and less than 1Returns the point for point n on a sin wave.returns the point on an easing curvefloating point number greater than 0 and less than 1returns the point on the linefloating point number greater than 0 and less than 1returns the point on the linefloating point number greater than 0 and less than 1dojo.lfx.IAnimation is an interface that implements commonly used functions of animation objectsa generic animation object that fires callbacks into it's handlers object at various statesFunction?, onstart: Function?, onstop: Function?, onanimate: Function? }dojo.lfx.IAnimationdojo.lfx.IAnimationAn animation object to play animations passed to it at the same time.dojo.lfx.IAnimationdojo.lfx.IAnimationAn animation object to play animations passed to it one after another.dojo.lfx.IAnimationdojo.lfx.IAnimationConvenience function. Returns a dojo.lfx.Combine created using the animations passed in.Convenience function. Returns a dojo.lfx.Chain created using the animations passed in.Convenience function. Quickly connect to an event of this object and save the old functions connected to it.name of the event to connect to.scope in which to run newFunc.function to run when evt is fired.oldFuncnewFuncConvenience function. Fire event "evt" and pass it the arguments specified in "args".event to fire.arguments to pass to the event.Set the repeat count of this object.many times to repeat the animation.Start the animation.many milliseconds to delay before starting.true, starts the animation from the beginning; otherwise, starts it from its current position.Pauses a running animation.Sets the progress of the animation.percentage in decimal notation (between and including 0.0 and 1.0).true, play the animation after setting the progress.Stops a running animation.true, the animation will end.Returns a string representation of the status of the animation.Start the animations.many milliseconds to delay before starting.true, starts the animations from the beginning; otherwise, starts them from their current position.Pauses the running animations.Stops the running animations.true, the animations will end.Start the animation sequence.many milliseconds to delay before starting.true, starts the sequence from the beginning; otherwise, starts it from its current position.Pauses the running animation sequence.If the animation sequence is playing, pause it; otherwise, play it.Stops the running animations.dojo.lfx.htmldojo.lfx.htmldojo.lfx.htmldojo.lfx.AnimationReturns an animation that will fade "nodes" from its current opacity to fully opaque while wiping it in.array of DOMNodes or one DOMNode.of the animation in milliseconds.easing function.to run at the end of the animation.Returns an animation that will fade "nodes" from its current opacity to fully transparent while wiping it out.array of DOMNodes or one DOMNode.of the animation in milliseconds.easing function.to run at the end of the animation.Returns an animation that will scale "nodes" by "percentage".array of DOMNodes or one DOMNode.whole number representing the percentage to scale "nodes".true, will scale the contents of "nodes".true, will scale "nodes" from its center rather than the lower right corner.of the animation in milliseconds.easing function.to run at the end of the animation.dojo.gfx.colordojo.lfx.Animationdojo.lang.arraydojo.html.displaydojo.html.colordojo.html.layoutReturns an animation that will transition the properties of "nodes" depending how they are defined in "propertyMap".array of DOMNodes or one DOMNode.String, start: Decimal?, end: Decimal?, units: String? } An array of objects defining properties to change.of the animation in milliseconds.easing function.Function?, onstart: Function?, onstop: Function?, onanimate: Function? }Returns an animation that will fade the "nodes" from the start to end values passed.array of DOMNodes or one DOMNode.Decimal?, end: Decimal? }of the animation in milliseconds.easing function.to run at the end of the animation.Returns an animation that will fade "nodes" from its current opacity to fully opaque.array of DOMNodes or one DOMNode.of the animation in milliseconds.easing function.to run at the end of the animation.Returns an animation that will fade "nodes" from its current opacity to fully transparent.array of DOMNodes or one DOMNode.of the animation in milliseconds.easing function.to run at the end of the animation.Returns an animation that will fade "nodes" from transparent to opaque and shows "nodes" at the end if it is hidden.array of DOMNodes or one DOMNode.of the animation in milliseconds.easing function.to run at the end of the animation.Returns an animation that will fade "nodes" from its current opacity to opaque and hides "nodes" at the end.array of DOMNodes or one DOMNode.of the animation in milliseconds.easing function.to run at the end of the animation.Returns an animation that will show and wipe in "nodes".array of DOMNodes or one DOMNode.of the animation in milliseconds.easing function.to run at the end of the animation.Returns an animation that will wipe out and hide "nodes".array of DOMNodes or one DOMNode.of the animation in milliseconds.easing function.to run at the end of the animation.Returns an animation that will slide "nodes" from its current position to the position defined in "coords".array of DOMNodes or one DOMNode.Decimal?, left: Decimal? }of the animation in milliseconds.easing function.to run at the end of the animation.Returns an animation that will slide "nodes" from its current position to its current position plus the numbers defined in "coords".array of DOMNodes or one DOMNode.Decimal?, left: Decimal? }of the animation in milliseconds.easing function.to run at the end of the animation.Returns an animation that willof the animation in milliseconds.easing function.to run at the end of the animation.Returns an animation that willof the animation in milliseconds.easing function.to run at the end of the animation.Returns an animation that will set the background color of "nodes" to startColor and transition it to "nodes" original color.to transition from.of the animation in milliseconds.easing function.to run at the end of the animation.Returns an animation that will transition "nodes" background color from its current color to "endColor".to transition to.of the animation in milliseconds.easing function.to run at the end of the animation.dojo.lang.commondojo.html.commondojo.html.styledojo.html.displaydojo.html.layoutCreates a set of rounded corners based on settings.Rounds corners based on options to passed node.dojo.html.utildojo.html.iframedojo.lfx.AnimationReturns an animation that will smooth-scroll to a node (specified in setup())int, y: int} this will be added to the target positionof the animation in milliseconds.easing function.Function?, onstart: Function?, onstop: Function?, onanimate: Function? }This implementation support either horizental or vertical scroll, as well as both. In addition, element in iframe can be scrolled to correctly.dojo.lang.commondojo.uri.Uricreates a shadow underneath node.Initializes the shadow.Resizes the shadow based on width and height.dojo.lfx.*dojo.logging.Loggerdojo.lang.commondojo.lang.declaredojo.logging.LogHandlerdojo.logging.LogHandlerA simple data structure class that stores information for and about a logged event. Objects of this type are created automatically when an event is logged and are the internal format in which information about log events is kept.mapped via the dojo.logging.log.levels object from a string. This mapping also corresponds to an instance of dojo.logging.Loggercontents of the message represented by this log record.An empty parent (abstract) class which concrete filters should inherit from. Filters should have only a single method, filter(), which processes a record and returns true or false to denote whether or not it should be handled by the next step in a filter chain.a named dojo.logging.Logger instance. If one is not already available with that name in the global map, one is created and returne.turns integer logging level into a human-friendly namename->integer conversion for log levelsset the logging level for this logger.logging level to set the cutoff for, as derived from the dojo.logging.log.levels object. Any messages below the specified level are dropped on the floorwill a message at the specified level be emitted?gets the effective cutoff level, including that of any potential parent loggers in the chain.registers a new LogFilter object. All records will be passed through this filter from now on.removes the filter at the specified index from the filter chain. Returns whether or not removal was successful.removes the passed LogFilter. Returns whether or not removal was successful.clobbers all the registered filters.runs the passed Record through the chain of registered filters. Returns a boolean indicating whether or not the Record should be emitted.adds as LogHandler to the chainif the Record survives filtering, pass it down to the registered handlers. Returns a boolean indicating whether or not the record was successfully handled. If the message is culled for some reason, returns false.log a message at the specified log levellog the msg and any other arguments at the "info" logging level.log the msg and any other arguments at the "warning" logging level.log the msg and any other arguments at the "error" logging level.log the msg and any other arguments at the "critical" logging level.logs the error and the message at the "exception" logging level. If squelch is true, also prevent bubbling of the exception.a more "user friendly" version of the log() function. Takes the named log level instead of the corresponding integer.this.logdojo.logging.RhinoLoggerdojo.mathReturns the point at point N (in terms of percentage) on this curve.Add a curve segment to this pathRemove a curve segment from this pathRemove all curve segmentsCreates a straight line objectReturns the point at point N (in terms of percentage) on this line.dojo.mathtranslate a by b, and return the result.Find the point midway between a and binvert the values in a and return it.Calculate the distance between point a and point bConverts degrees to radians.Converts radians to degrees.Returns n!The number of ways of obtaining an ordered subset of k elements from a set of n elementsThe number of ways of picking n unordered outcomes from r possibilitiesCalculates a weighted average based on the Bernstein theorem.Returns random numbers with a Gaussian distribution, with the mean set at 0 and the variance set at 1.Calculates the mean of an Array of numbers.Extends Math.round by adding a second argument specifying the number of decimal places to round to. TODO: add support for significant figuresCalculates the standard deviation of an Array of numbersCalculates the variance of an Array of numbersimplementation of Python's range()dojo.nsAdd an entry to the mapping table for the dojo: namespacename to be used as the widget's tag name in the dojo: namespacepath to the Javascript module in dotted package notationthis object simply encapsulates namespace datamap component with 'name' and 'domain' to a module via namespace resolver, if specifiedmaps a module name to a namespace for widgets, and optionally maps widget names to modules for auto-loadingdojo.registerNamespace.dojo.ns.registerAn unregistered namespace is mapped to an eponymous module. For example, namespace acme is mapped to module acme, and widgets are assumed to belong to acme.widget. If you want to use a different widgeta resolver function maps widget names to modules, so the widget manager can auto-load needed widget implementationsalways be lower-case. example: dojo.registerNamespaceResolver("acme", function(name){ return "acme.widget."+dojo.string.capitalize(name); } );The resolver provides information to allow Dojo to load widget modules on demand. When a widget is created, a namespace resolver can tell Dojo what module to require to ensure that the widget implementation code is loaded.convenience function to register a module path, a namespace, and optionally a resolver all at once.creates and registers a dojo.ns.Ns objectReturns false if 'name' is filtered by configuration or has failed to load, true otherwiseReturn Ns object registered to 'name', if anyTry to ensure that 'name' is registered, loading a namespace manifest if necessaryprivate object that implements widget namespace managementdojo.lang.*dojo.profileMix-in to add profiling help to another class.For an instance, install as: dojo.lang.mixin(yourObject, dojo.profile.ProfileHelper); For a class, install as: dojo.lang.extend(constructor, dojo.profile.ProfileHelper); In your class's methods, call this.startProfile("name") ... this.endProfile("name"); Set yourObject._profile to false to skip all profiling Set yourObject._autoDebugProfile to true to write profile information on debug log on endProfile() note: you must set these AFTER mixing in the ProfileHelperBuilds a RE that matches a top-level domainInclude infrastructure domains. Default is true.Builds a RE that matches an IP AddressIPv6 address written as six groups of four hexadecimal digits followed by the usual 4 dotted decimal digit notation of IPv4. x:x:x:x:x:x:d.d.d.dSupports 5 formats for IPv4: dotted decimal, dotted hex, dotted octal, decimal and hexadecimal. Supports 2 formats for Ipv6.Builds a RE that matches a hostregexp.tld can be applied.A host is a domain name or an IP address, possibly followed by a port number.Builds a regular expression that matches a URLregexp.tld can be applied.Builds a regular expression that matches an email addressregexp.tld can be applied.Builds a regular expression that matches a list of email addresses.regexp.tld can be applied.Builds a regular expression that matches an integersecond grouping (for India)Builds a regular expression to match a real number in exponential notationregexp.integer can be applied.Builds a regular expression to match a monetary valueregexp.realNumber can be applied except exponent, eSigned.A regular expression to match US state and territory abbreviationsAllow military 'states', e.g. Armed Forces Europe (AE). Default is true.Builds a regular expression to match any International format for timeThe symbol used for PM. Default is "PM".The RE can match one format or one of multiple formats. Format h 12 hour, no zero padding. hh 12 hour, has leading zero. H 24 hour, no zero padding. HH 24 hour, has leading zero. m minutes, no zero padding. mm minutes, has leading zero. s seconds, no zero padding. ss seconds, has leading zero. t am or pm, case insensitive. All other characters must appear literally in the expression. Example "h:m:s t" -> 2:5:33 PM "HH:mm:ss" -> 14:05:33Builds a regular expression to match any sort of number based formatA string or an Array of strings for multiple formats.Use this method for phone numbers, social security numbers, zip-codes, etc. The RE can match one format or one of multiple formats. Format # Stands for a digit, 0-9. ? Stands for an optional digit, 0-9 or nothing. All other characters must appear literally in the expression. Example "(###) ###-####" -> (510) 542-9742 "(###) ###-#### x#???" -> (510) 542-9742 x153 "###-##-####" -> 506-82-1089 i.e. social security number "#####-####" -> 98225-1649 i.e. zip codeBuilds a regular expression that groups subexpressionssingle value or an array of values.function. Takes one parameter and converts it to a regular expression.A utility function used by some of the RE generators. The subexpressions are constructed by the function, re, in the second parameter.dojo.Deferreddojo.rpc.RpcServicedojo.rpc.JsonServiceJot bind method. Takes remote method, parameters, deferred, and a url, calls createRequest to make a Jot RPC envelope and passes that off with bind.create the json portion of the Jot requestdojo.rpc.RpcServicedojo.io.*dojo.jsondojo.lang.commondojo.rpc.RpcServicecall an arbitrary remote method without requiring it to be predefined with SMDJSON-RPC bind method. Takes remote method, parameters, deferred, and a url, calls createRequest to make a JSON-RPC envelope and passes that off with bind.create a JSON-RPC envelope for the requestparse the result envelope and pass the results back to to the callback functiondojo.io.*dojo.jsondojo.lang.funcdojo.Deferredconstructor for rpc base classparse the results coming back from an rpc request. this base implementation, just returns the full object subclasses should parse and only return the actual resultscreate callback that calls the Deferres errback methodcreate callback that calls the Deferred's callback methodgenerate the local bind methods for the remote objectcallback method for reciept of a smd object. Parse the smd and generate functions based on the descriptionconnect to a remote url and retrieve a smd objectdojo.rpc.RpcServicedojo.rpc.JsonServicedojo.jsondojo.uri.*dojo.io.ScriptSrcIOdojo.rpc.JsonServiceYahoo RPC bind method. Takes remote method, parameters, deferred, and a url and sends of a ScriptSrcIO request to connect to Yahoo services crossplatformdojo.lang.arraydojo.lang.funcdojo.lang.commondojo.mathdojo.storagedojo.storage.browserdojo.storagedojo.flashdojo.jsondojo.uri.*Storage provider that uses WHAT Working Group features in Firefox 2 to achieve permanent storage.dojo.storageThe WHAT WG storage API is documented at http: // www.whatwg.org/specs/web-apps/current-work/#scs-client-side You can disable this storage provider with the following djConfig variable: var djConfig = { disableWhatWGStorage: true }; Authors of this storage provider- JB Boisseau, jb.boisseau@eutech-ssii.com Brad Neuberg, bkn3@columbia.eduStorage provider that uses features in Flash to achieve permanent storagedojo.storageAuthors of this storage provider- Brad Neuberg, bkn3@columbia.eduresultsHandlerthis._statusHandlerNote- This one method is not implemented on the FlashStorageProvider yetdojo.storage.onHideSettingsUIds._statusHandlerdojo.lang.*dojo.event.*A singleton for working with Dojo Storage.dojo.storage exposes the current available storage provider on this platform. It gives you methods such as dojo.storage.put(), dojo.storage.get(), etc. For more details on Dojo Storage, see the primary documentation page at http: // manual.dojotoolkit.org/storage.html Note for storage provider developers who are creating subclasses- This is the base class for all storage providers Specific kinds of Storage Providers should subclass this and implement these methods. You should avoid initialization storage provider subclass's constructor; instead, perform initialization in your initialize() method.A singleton class in charge of the Dojo Storage systemInitializes the storage systems and figures out the best available storage options on this platform. currentProvider: Object The storage provider that was automagically chosen to do storage on this platform, such as dojo.storage.browser.FlashStorageProvider.Initializes the storage system and autodetects the best storage provider we can provide on this platformRegisters the existence of a new storage provider; used by subclasses to inform the manager of their existence. The storage manager will select storage providers based on their ordering, so the order in which you call this method matters.full class name of this provider, such as "dojo.storage.browser.FlashStorageProvider".instance of this provider, which we will use to call isAvailable() on.Instructs the storageManager to use the given storage class for all storage requests.Example- dojo.storage.setProvider( dojo.storage.browser.IEStorageProvider)Autodetects the best possible persistent storage provider available on this platform.Boolean Returns whether any storage options are available.Boolean Returns whether the storage system is initialized and ready to be used.Boolean Determines if this platform supports the given storage provider.Example- dojo.storage.manager.supportsProvider( "dojo.storage.browser.InternetExplorerStorageProvider");Object Gets the current providerThe storage provider should call this method when it is loaded and ready to be used. Clients who will use the provider will connect to this method to know when they can use the storage system.Example- if(dojo.storage.manager.isInitialized() == false){ dojo.event.connect(dojo.storage.manager, "loaded", TestStorage, TestStorage.initialize); }else{ dojo.event.connect(dojo, "loaded", TestStorage, TestStorage.initialize); }dojo.lang.commonthis.appendConcatenate internal buffer and return as a stringAppend all arguments to the end of the internal bufferthis.appendAlias for the append method.this.appendClear the internal buffer.Remove a section of string from the internal buffer.replace phrase *o* with phrase *n*.Insert string s at index idx.dojo.stringdojo.string.commondojo.string.extrasdojo.string.BuilderTrim whitespace from str. If wh > 0, trim from start, if wh < 0, trim from end, else bothTrim whitespace at the beginning of 'str'Trim whitespace at the end of 'str'Return 'str' repeated 'count' times, optionally placing 'separator' between each repPad 'str' to guarantee that it is at least 'len' length with the character 'c' at either the start (dir=1) or end (dir=-1) of the stringsame as dojo.string.pad(str, len, c, 1)same as dojo.string.pad(str, len, c, -1)dojo.string.commondojo.lang.commondojo.lang.arrayPerforms parameterized substitutions on a string. Throws an exception if any parameter is unmatched.original string template with %{values} to be replacedpairs (type object) to provide substitutions. Alternatively, substitutions may be included as arguments 1..n to this function, corresponding to template parameters 0..n-1For example, dojo.string.substituteParams("File '%{0}' is not found in directory '%{1}'.","foo.html","/temp");Uppercases the first letter of each wordReturn true if the entire string is whitespace charactersAdds escape sequences for special characters according to the convention of 'type'of xml|html|xhtml|sql|regexp|regex|javascript|jscript|js|asciistring to be escapeddojo.string.escapeXmldojo.string.escapeSqldojo.string.escapeRegExpdojo.string.escapeJavaScriptdojo.string.encodeAsciiAdds escape sequences for special characters in XML: &<>"' Optionally skips escapes for single quotesAdds escape sequences for single quotes in SQL expressionsAdds escape sequences for special characters in regular expressionsAdds escape sequences for single and double quotes as well as non-visible characters in JavaScript string literal expressionsAdds escape sequences for non-visual characters, double quote and backslash and surrounds with double quotes to form a valid string literal.Truncates 'str' after 'len' characters and appends periods as necessary so that it ends with "..."Returns true if 'str' ends with 'end'Returns true if 'str' ends with any of the arguments[2 -> n]Returns true if 'str' starts with 'start'Returns true if 'str' starts with any of the arguments[2 -> n]Returns true if 'str' contains any of the arguments 2 -> nChanges occurences of CR and LF in text to CRLF, or if newlineChar is provided as '\n' or '\r', substitutes newlineChar for occurrences of CR/LF and CRLFSplits 'str' into an array separated by 'charac', but skips characters escaped with a backslashdojo.string.commondojo.lang.commondojo.domSingleton to encapsulate SVG rendering functions.Suspend the rendering engineResume the rendering engineForce the render engine to redrawSingleton to encapsulate SVG animation functionality.check to see if all animations are pausedpause all animationsresume all animationsconverts a CSS-style selector to a camelCased oneconverts a camelCased selector to a CSS style oneget the computed style of selector for node.return the numeric version of the computed style of selector on node.Return the opacity of the passed elementset the opacity of node using attributes.Set any attributes setting opacity to opaque (1.0)Returns the x/y coordinates of the passed node, if available.Set the x/y coordinates of the passed nodeGet the height and width of the passed node.Set the dimensions of the passed element if possible. will only support shape-based and container elements; path-based elements are ignored.Translates the passed node by dx and dyScales the passed element by factor scaleX and scaleY. If scaleY not passed, scaleX is used.rotate the passed node by ang, with optional cx/cy as the rotation point.skew the passed node by ang over axis.flip the passed element over axistransform the passed node by the inverse of the current matrixapply the passed matrix to node. If params b - f are passed, a matrix will be created.expect an array of nodes, attaches the group to the parent of the first node.puts the children of the group on the same level as group was.if the node is part of a group, return the group, else return null.move the passed node the to top of the group (i.e. last child)move the passed node to the bottom of the group (i.e. first child)move the passed node up one in the child node chainmove the passed node down one in the child node chainCreate a list of nodes from textdojo.text.Stringdojo.text.Builderdojo.cal.textDirectorydojo.lang.commonthis._currentManager.pushthis._currentManager.concatthis._currentManager.beginTransactionthis._currentManager.endTransactiondojo.undo.Managerdojo.io.commonoldCBoldFWoldCBoldFWreturns a Uri object resolved relative to the dojo rootreturns a Uri object relative to a moduleExamples: dojo.uri.moduleUri("dojo","Editor"), or dojo.uri.moduleUri("acme","someWidget")Constructor to create an object representing a URI.Each argument is evaluated in order relative to the next until a canonical uri is produced. To get an absolute Uri relative to the current document use new dojo.uri.Uri(document.baseURI, uri)This function generates random UUIDs, meaning "version 4" UUIDs.type of object to return. Usually String or dojo.uuid.UuidA typical generated value would be something like this: "3b12f1df-5232-4804-897e-917bf397618a"This function generates name-based UUIDs, meaning "version 3" and "version 5" UUIDs.type of object to return. Usually String or dojo.uuid.UuidThis function returns the Nil UUID: "00000000-0000-0000-0000-000000000000".type of object to return. Usually String or dojo.uuid.UuidThe Nil UUID is described in section 4.1.7 of RFC 4122: http: // www.ietf.org/rfc/rfc4122.txtThis function generates random UUIDs, meaning "version 4" UUIDs.type of object to return. Usually String or dojo.uuid.UuidA typical generated value would be something like this: "3b12f1df-5232-4804-897e-917bf397618a"dojo.lang.commondojo.lang.typedojo.lang.assertSets the 'node' value that will be included in generated UUIDs.12-character hex string representing a pseudoNode or hardwareNode.Returns the 'node' value that will be included in generated UUIDs.This function generates time-based UUIDs, meaning "version 1" UUIDs.For more info, see http: // www.webdav.org/specs/draft-leach-uuids-guids-01.txt http: // www.infonuovo.com/dma/csdocs/sketch/instidid.htm http: // kruithof.xs4all.nl/uuid/uuidgen http: // www.opengroup.org/onlinepubs/009629399/apdxa.htm#tagcjh_20 http: // jakarta.apache.org/commons/sandbox/id/apidocs/org/apache/commons/id/uuid/clock/Clock.htmldojo.lang.commondojo.lang.assertThis is the constructor for the Uuid class. The Uuid class offers methods for inspecting existing UUIDs. examples: var uuid; uuid = new dojo.uuid.Uuid("3b12f1df-5232-4804-897e-917bf397618a"); uuid = new dojo.uuid.Uuid(); // "00000000-0000-0000-0000-000000000000" uuid = new dojo.uuid.Uuid(dojo.uuid.RandomGenerator); uuid = new dojo.uuid.Uuid(dojo.uuid.TimeBasedGenerator); dojo.uuid.Uuid.setGenerator(dojo.uuid.RandomGenerator); uuid = new dojo.uuid.Uuid(); dojo.lang.assert(!uuid.isEqual(dojo.uuid.Uuid.NIL_UUID));Compares this UUID to another UUID, and returns 0, 1, or -1.object that has toString() method that returns a 36-character string that conforms to the UUID spec.This implementation is intended to match the sample implementation in IETF RFC 4122: http: // www.ietf.org/rfc/rfc4122.txtSets the default generator, which will be used by the "new dojo.uuid.Uuid()" constructor if no parameters are passed in.UUID generator, such as dojo.uuid.TimeBasedGenerator.Returns the default generator. See setGenerator().By default this method returns a standard 36-character string representing the UUID, such as "3b12f1df-5232-4804-897e-917bf397618a". You can also pass in an optional format specifier to request the output in any of a half dozen slight variations.of these strings: '{}', '()', '""', "''", 'urn', '!-'Returns true if this UUID is equal to the otherUuid, or false otherwise.object that has toString() method that returns a 36-character string that conforms to the UUID spec.Returns true if the UUID was initialized with a valid value.Returns a variant code that indicates what type of UUID this is. Returns one of the enumerated dojo.uuid.Uuid.Variant values.Returns a version number that indicates what type of UUID this is. Returns one of the enumerated dojo.uuid.Uuid.Version values.If this is a version 1 UUID (a time-based UUID), getNode() returns a 12-character string with the "node" or "pseudonode" portion of the UUID, which is the rightmost 12 characters.If this is a version 1 UUID (a time-based UUID), this method returns the timestamp value encoded in the UUID. The caller can ask for the timestamp to be returned either as a JavaScript Date object or as a 15-character string of hex digits.of these five values: "string", String, "hex", "date", Datedojo.uuid.Uuiddojo.uuid.LightweightGeneratordojo.uuid.RandomGeneratordojo.uuid.TimeBasedGeneratordojo.uuid.NameBasedGeneratordojo.uuid.NilGeneratordojo.validate.checkdojo.validate.datetimedojo.validate.dedojo.validate.jpdojo.validate.usdojo.validate.webdojo.validatedojo.validate.commondojo.lang.commonan object that contains several methods summarizing the results of the validationvalidates user input of an HTML form based on input profileto be validatedhow the form fields are to be validated {trim:Array, uppercase:Array, lowercase:Array, ucfirst:Array, digit:Array, required:Array, dependencies:Object, constraints:Object, confirm:Object}Evaluates dojo.validate.check() constraints that are specified as array argumentsdojo.validate.check() profile that this evaluation is against.single [] array of function and arguments for the function.form dom name of the field being validated.form element field.isValidSomethingThe arrays are expected to be in the format of: constraints:{dojo.regexpChecks if a string has non whitespace characters. Parameters allow you to constrain the length.stringIf set, checks if there are at most flags.maxlength number of characters.Validates whether a string is in an integer formatstringThe character used as the thousands separator. Default is no separator. For more than one symbol use an array, e.g. [",", ""], makes ',' optional.Validates whether a string is a real valued number. Format is the usual exponential notation.stringregexp.integer can be applied.Validates whether a string denotes a monetary value.stringThe character used for the decimal point. Default is ".".Validates whether a string denoting an integer, real number, or monetary value is between a max and min.stringThe character used for the decimal point. Default is ".".Validates any sort of number based formatstringA string or an Array of strings for multiple formats.Use it for phone numbers, social security numbers, zip-codes, etc. The value can be validated against one format or one of multiple formats. Format # Stands for a digit, 0-9. ? Stands for an optional digit, 0-9 or nothing. All other characters must appear literally in the expression. Example "(###) ###-####" -> (510) 542-9742 "(###) ###-#### x#???" -> (510) 542-9742 x153 "###-##-####" -> 506-82-1089 i.e. social security number "#####-####" -> 98225-1649 i.e. zip codeCompares value against the Luhn algorithm to verify its integritydojo.lang.commondojo.validate.commonchecks if the # matches the pattern for that card or any card types if none is specified CC #, white spaces and dashes are ignoredof the values in cardinfo -- if Omitted it it returns a | delimited string of matching card types, or false if no matches found Value: BooleanSummary: true if the security code (CCV) matches the correct format for supplied ccType Value: Booleandojo.validate.commondojo.validate.commonchecks to see if 'value' is a valid representation of German currency (Euros)dojo.validate.commonchecks to see if 'value' is a valid representation of Japanese currencydojo.validate.commonValidates U.S. currencyrepresentation to checkin validate.isCurrency can be applied.Validates US state and territory abbreviations.two character stringAllow military 'states', e.g. Armed Forces Europe (AE). Default is true.Validates 10 US digit phone number for several common formatstelephone number stringValidates social security numberValidates U.S. zip-codedojo.validate.commonValidates an IP addressstring.IPv6 address written as six groups of four hexadecimal digits followed by the usual 4 dotted decimal digit notation of IPv4. x:x:x:x:x:x:d.d.d.dSupports 5 formats for IPv4: dotted decimal, dotted hex, dotted octal, decimal and hexadecimal. Supports 2 formats for Ipv6.Checks if a string could be a valid URLstringregexp.tld can be applied.Checks if a string could be a valid email addressstringregexp.tld can be applied.Checks if a string could be a valid email address list.string.regexp.tld can be applied.Check if value is an email address list. If an empty list is returned, the value didn't pass the test or it was empty.stringobject (same as dojo.validate.isEmailAddressList)dojo.validate.commondojo.widget.*dojo.html.*dojo.lfx.htmldojo.html.selectiondojo.widget.html.layoutdojo.widget.PageContainerHolds a set of panes where every pane's title is visible, but only one pane's content is visible at a time, and switching between panes is visualized by sliding the other panes up/down.dojo.widget.HtmlWidgetdojo.widget.HtmlWidgetCSS class name for dom node w/the titleCSS class name for dom node holding the contentCSS class name for dom node w/the titleCSS class name for dom node holding the contentInternal call to add child, used during postCreate() and by the real addChild() calldojo.widget.AccordionContainer.superclass.removeChildSet panes' size/position based on my size, and the current open node.close the current page and select a new oneAccordionPane is a box with a title that contains another widget (often a ContentPane). It's a widget used internally by AccordionContainer.dojo.widget.HtmlWidgetdojo.widget.HtmlWidgetprint on top of AccordionPaneif true, this is the open paneif true, this is the open paneprint on top of AccordionPaneif true, this is the open panedojo.widget.AccordionPane.superclass.fillInTemplateset the title of the nodereturns the height of the title dom nodecallback when someone clicks my labeldojo.widget.*dojo.widget.HtmlWidgetPNGs have great tranparency, but lack animation. This widget lets you point an img tag at an animated gif for graceful degrading, while letting you specify a png containing a grid of cells to animate between.dojo.widget.HtmlWidgetdojo.widget.HtmlWidgeteach frame) in pixelspathname to png file containing frames to be animated (ie, displayed sequentially)time to display each frameeach frame) in pixelspathname to png file containing frames to be animated (ie, displayed sequentially)time to display each framedojo.lang.extrasdojo.html.*dojo.html.selectiondojo.widget.*Basically the same thing as a normal HTML button, but with special styling.dojo.widget.HtmlWidgetdojo.widget.HtmlWidgetprefix of filename holding images (left, center, right) for button in normal stateprefix of filename holding images (left, center, right) for button when it's being hovered over widget2height: Number shape of the button's end pieces; the height of the end pieces is a function of the button's height (which in turn is a function of the button's content), and then the width of the end pieces is relative to their height.prefix of filename holding images (left, center, right) for button in normal stateprefix of filename holding images (left, center, right) for button when it's being hovered over widget2height: Number shape of the button's end pieces; the height of the end pieces is a function of the button's height (which in turn is a function of the button's content), and then the width of the end pieces is relative to their height.callback when user mouses-over the buttoncallback when user starts to click the buttoncallback when the user finishes clickingcallback when the user moves the mouse off the buttoncallback when the user presses a key (on key-down)callback on focus to the buttoncallback when button loses focusinternal function for handling button clickscallback for when button is clicked; user can override this functionreset the caption (text) of the button; takes an HTML stringset disabled state of buttonpush the button and a menu shows updojo.widget.Buttondojo.widget.Buttonwidget id of the menu that this button should activatewidget id of the menu that this button should activatedojo.widget.DropDownButton.superclass.fillInTemplatedojo.widget.DropDownButton.superclass._sizeMyselfHelpercallback when button is clicked; user shouldn't override this function or else the menu won't toggleleft side is normal button, right side displays menudojo.widget.Buttondojo.widget.Buttonwidget id of the menu that this button should activate# of pixels between left & right part of buttonwidth of segment holding down arrow ** functions on right part of button **widget id of the menu that this button should activate# of pixels between left & right part of buttonwidth of segment holding down arrow ** functions on right part of button **callback when mouse-over right part of button; onMouseOver() is the callback for the left side of the button.callback when mouse-down right part of button; onMouseDown() is the callback for the left side of the button.callback when mouse-up right part of button; onMouseUp() is the callback for the left side of the button.callback when moving the mouse off of the right part of button; onMouseOut() is the callback for the left side of the button.callback when clicking the right part of button; onClick() is the callback for the left side of the button.dojo.widget.*dojo.gfx.colordojo.gfx.color.hslBase class for svg and vml implementations of ChartAssigns/generates a color for a data series.Every chart has a set of data series; this is the series. Note that each member of value is an object and in the minimum has 2 properties: .x and .value.dojo.widget.*dojo.widget.HtmlWidgetdojo.event.*dojo.html.styledojo.html.selectionSame as an HTML checkbox, but with fancy stylingdojo.widget.HtmlWidgetdojo.widget.HtmlWidgetorder fields are traversed when user hits the tab keyorder fields are traversed when user hits the tab keyorder fields are traversed when user hits the tab keydojo.widget.Checkbox.superclass.postMixInPropertiesset the checkbox stateuser overridable callback function for checkbox being clickedcallback when user hits a keycallback when user moves mouse over checkboxcallback when user moves mouse off of checkboxset state of hidden checkbox node to correspond to displayed value. also set CSS class string according to checked/unchecked and disabled/enabled statevariation on Checkbox widget to be display on monitors in high-contrast mode (that don't display CSS background images)dojo.widget.Checkboxdojo.widget.Checkboxdojo.widget.*dojo.gfx.*dojo.uri.Uridojo.lang.commondojo.lang.timing.TimerA basic clock that supports offset and labelsdojo.widget.HtmlWidgetdojo.widget.HtmlWidgetUses SVG and Internet Explorer's VML implementation to render a clock using the gfx module. timeZoneOffset: Integer Amount (in hours) to offset the clock, relative to local time. date: Date image: String Location of the background imageMoves the hands of the clock to the proper position based on the current date.dojo.widget.*dojo.html.layoutdojo.html.displaydojo.html.selectionGrid showing various colors, so the user pick a certain colordojo.widget.HtmlWidgetdojo.widget.HtmlWidgetSize of grid, either "7x10" or "3x4".Size of grid, either "7x10" or "3x4".Callback when a color is selected.Hex value corresponding to color.dojo.widget.*dojo.widget.validatedojo.widget.Toolbardojo.html.layoutdojo.html.displaydojo.html.selectiondojo.lfx.htmldojo.gfx.colordojo.gfx.color.hsvdojo.widget.HtmlWidgetdojo.widget.HtmlWidgetdojo.widget.*dojo.event.*dojo.io.*dojo.html.*dojo.stringdojo.widget.html.stabiledojo.widget.PopupContainerStart the search for patterns that match searchStr, and call specified callback functions with the resultscharacters the user has typed into the <input>.function will be called with the result, as an array of label/value pairs (the value is used for the Select widget). Example: [ ["Alabama","AL"], ["Alaska","AK"], ["American Samoa","AS"] ]Reference implementation / interface for Combobox incremental data provider. This class takes a search string and returns values that match that search string. The filtering of values (to find values matching given search string) is done on the server.containing {dataUrl: "foo.js?search={searchString}"} or similar data. dataUrl is a URL that is passed the search string a returns a JSON structure showing the matching values, like [ ["Alabama","AL"], ["Alaska","AK"], ["American Samoa","AS"] ]Start the search for patterns that match searchStr.characters the user has typed into the <input>.function will be called with the result, as an array of label/value pairs (the value is used for the Select widget). Example: [ ["Alabama","AL"], ["Alaska","AK"], ["American Samoa","AS"] ] FIXME: need to add timeout handling here!!set (or reset) the data and initialize lookup structuresReference implementation / interface for Combobox data provider. This class takes a search string and returns values that match that search string. All possible values for the combobox are downloaded on initialization, and then startSearch() runs locally, merely filting that downloaded list, to find values matching search string NOTE: this data provider is designed as a naive reference implementation, and as such it is written more for readability than speed. A deployable data provider would implement lookups, search caching (and invalidation), and a significantly less naive data structure for storage of items.Options object. Example: { dataUrl: String (URL to query to get list of possible drop down values), setAllValues: Function (callback for setting initially selected value) } The return format for dataURL is (for example) [ ["Alabama","AL"], ["Alaska","AK"], ["American Samoa","AS"] ... ]to the domNode in the original markup. This is needed in the case when the list of values is embedded in the html like <select> <option>Alabama</option> <option>Arkansas</option> ... rather than specified as a URL. _data: Array List of every possible value for the drop down list startSearch() simply searches this array and returns matching values.Auto-completing text box, and base class for Select widget. The drop down box's values are populated from an class called a data provider, which returns a list of values based on the characters that the user has typed into the input box. Some of the options to the ComboBox are actually arguments to the data provider.dojo.widget.HtmlWidgetdojo.widget.HtmlWidgetArgument to data provider. Specifies rule for matching typed in string w/list of available auto-completions. startString - look for auto-completions that start w/the specified string. subString - look for auto-completions containing the typed in string. startWord - look for auto-completions where any word starts w/the typed in string.(Read only) reference to data provider object created for this combobox according to "dataProviderClass" argument.Delay in milliseconds between when user types something and we start searching based on that valueURL argument passed to data provider object (class name specified in "dataProviderClass") An example of the URL format for the default data provider is "remoteComboBoxData.js?search=%{searchString}"Milliseconds duration of fadeout for drop down boxMode must be specified unless dataProviderClass is specified. "local" to inline search string, "remote" for JSON-returning live search or "html" for dumber live search.(Read only) array specifying the value/label that the user selectedName of data provider class (code that maps a search string to a list of values) The class must match the interface demonstrated by dojo.widget.incrementalComboBoxDataProviderURI for the down arrow icon to the right of the input box.Name of data provider class (code that maps a search string to a list of values) The class must match the interface demonstrated by dojo.widget.incrementalComboBoxDataProviderMode must be specified unless dataProviderClass is specified. "local" to inline search string, "remote" for JSON-returning live search or "html" for dumber live search.(Read only) reference to data provider object created for this combobox according to "dataProviderClass" argument.(Read only) array specifying the value/label that the user selectedArgument to data provider. Specifies rule for matching typed in string w/list of available auto-completions. startString - look for auto-completions that start w/the specified string. subString - look for auto-completions containing the typed in string. startWord - look for auto-completions where any word starts w/the typed in string.(Read only) reference to data provider object created for this combobox according to "dataProviderClass" argument.Delay in milliseconds between when user types something and we start searching based on that valueURL argument passed to data provider object (class name specified in "dataProviderClass") An example of the URL format for the default data provider is "remoteComboBoxData.js?search=%{searchString}"Milliseconds duration of fadeout for drop down boxMode must be specified unless dataProviderClass is specified. "local" to inline search string, "remote" for JSON-returning live search or "html" for dumber live search.(Read only) array specifying the value/label that the user selectedName of data provider class (code that maps a search string to a list of values) The class must match the interface demonstrated by dojo.widget.incrementalComboBoxDataProviderURI for the down arrow icon to the right of the input box.Sets the value of the comboboxcallback when value changes, for user to attach toRerturns combo box valueUsed for saving state of ComboBox when navigates to a new page, in case they then hit the browser's "Back" button.Used for restoring state of ComboBox when has navigated to a new page but then hits browser's "Back" button.handles keyboard eventsWhen inputting characters using an input method, such as Asian languages, it will generate this event instead of onKeyDown eventcallback on key up eventThis sets a hidden value associated w/the displayed value. The hidden value (and this function) shouldn't be used; if you need a hidden value then use Select widget instead of ComboBox. TODO: remove? FIXME, not sure what to do here!This sets the displayed value and hidden value. The hidden value (and this function) shouldn't be used; if you need a hidden value then use Select widget instead of ComboBox.does the actual highlightthis function is called when the input area has changed sizecollect all blur timers issues hereneeded in IE and Safari as inputTextNode loses focus when scrolling optionslistcallback when arrow is clickeddojo.widget.*dojo.io.*dojo.widget.HtmlWidgetdojo.stringdojo.string.extrasdojo.html.styleA widget that can be used as a standalone widget or as a baseclass for other widgets Handles replacement of document fragment using either external uri or javascript/java generated markup or DomNode content, instanciating widgets within content and runs scripts. Dont confuse it with an iframe, it only needs document fragments. It's useful as a child of LayoutContainer, SplitContainer, or TabContainer. But note that those classes can contain any widget as a child. scriptScope: Function reference holder to the inline scripts container, if scriptSeparation is true bindArgs: String[] Send in extra args to the dojo.io.bind call per widgetImpl variablesdojo.widget.HtmlWidgetdojo.widget.HtmlWidgetdojo.widget.ContentPane.superclass.showForce a refresh (re-download) of content, be sure to turn of cacheDownload if isLoaded is false, else ignoreReset the (external defined) content of this pane and replace with new urlAborts a inflight download of contentself.onDownloadEndself._handleDefaultsEvent hook, is called after everything is loaded and widgetifiedDeprecated, use onUnload (lowercased load)Event hook, is called before old content is clearedthis.onUnLoadStores function refs and calls them one by one in the order they came in when load event occurs.holder objectfunction that will be calledStores function refs and calls them one by one in the order they came in when unload event occurs.holder objectfunction that will be calledDeprecated use addOnUnload (lower cased load)this.addOnUnloaddojo.widget.ContentPane.superclass.destroycalled when content script eval error or Java error occurs, preventDefault-able default is to debug not alert as in 0.3.1called on DOM faults, require fault etc in content, preventDefault-able default is to display errormessage inside panecalled when download error occurs, preventDefault-able default is to display errormessage inside panecalled before download starts, preventDefault-able default is to display loadingMessage inside pane by changing e.text in your event handler you can change loading messagecalled when download is finishedurl that downloaded datathe markup that was downloadedadjusts all relative paths in (hopefully) all cases, images, remote scripts, links etc. splits up content in different pieces, scripts, title, style, link and whats left becomes .xmlThe markup in stringurl that pulled in markupReplaces old content with data content, include style classes from old contentnew content, be it Document fragment or a DomNode chain If data contains style tags, link rel=stylesheet it inserts those styles into DOMGenerate pane content from given java functionfcnfcnself._handleDefaultsdojo.widget.IntegerTextboxdojo.validate.commonA subclass that extends IntegerTextbox. Over-rides isValid/isInRange to test if input denotes a monetary value .dojo.widget.IntegerTextboxdojo.widget.IntegerTextboxdojo.widget.CurrencyTextbox.superclass.mixInPropertiesOver-ride for currency validationOver-ride for currency validationdojo.date.commondojo.date.formatdojo.date.serializedojo.widget.*dojo.widget.HtmlWidgetdojo.event.*dojo.domdojo.html.styledojo.widget.HtmlWidgetdojo.widget.HtmlWidgetattributes String|Date form value property if =='today' will be today's datehow to render the names of the days in the header. see dojo.date.getDayNamesattributes String|Date form value property if =='today' will be today's dateattributes String|Date form value property if =='today' will be today's datehow to render the names of the days in the header. see dojo.date.getDayNamessee dojo.widget.DomWidgetdojo.widget.DatePicker.superclass.postMixInPropertiessee dojo.widget.DomWidgetdojo.widget.DatePicker.superclass.fillInTemplatereturn current date in RFC 3339 formatreturn current date as a Date objectset the current date from RFC 3339 formatted string or a date object, synonymous with setDateset the current date and update the UIto tell _initFirstDay if you want first day of the displayed calendar, or first day of the week for dateObjpreInitUI to go ahead and run initUI if set to truehandler for increment week eventhandler for increment month eventhandler for increment year eventthe click event handlerthe set date event handlerMay be overridden to disable certain dates in the calendar e.g. isDisabledDate=dojo.date.isWeekendfor first day of month, true for first day of week adjusted by startOfWeekused to adjust date.getDay() values to the new values based on the current first day of the week valuestores a list of class names that may be overriden TODO: this is not good; can't be adjusted via markup, etc. since it's an arraydojo.widget.ValidationTextboxdojo.date.formatdojo.validate.datetimedojo.widget.ValidationTextboxdojo.widget.ValidationTextboxsee dojo.widget.Widgetdojo.widget.DateTextbox.superclass.mixInPropertiessee dojo.widget.ValidationTextboxdojo.widget.ValidationTextboxdojo.widget.ValidationTextboxsee dojo.widget.Widgetdojo.widget.TimeTextbox.superclass.mixInPropertiessee dojo.widget.ValidationTextboxdojo.widget.Widgetdojo.widget.*dojo.widget.FloatingPaneopens a floating pane that collects and display debug messages (from dojo.debug(), etc.)dojo.widget.FloatingPanedojo.widget.FloatingPanedojo.widget.DebugConsole.superclass.fillInTemplatedojo.widget.*dojo.widget.ContentPanedojo.event.*dojo.gfx.colordojo.html.layoutdojo.html.displaydojo.html.iframePops up a modal dialog window, blocking access to the screen and also graying out the screen Dialog is extended from ContentPane so it supports all the same parameters (href, etc.)if set, this controls the number of seconds the dialog will be displayed before automatically disappearingif set, this controls the number of seconds the dialog will be displayed before automatically disappearingdojo.widget.Dialog.superclass.postMixInPropertiesdojo.widget.Dialog.superclass.postCreatedojo.widget.ModalDialogBase.prototype.postCreatedojo.widget.Dialog.superclass.showdojo.widget.Dialog.superclass.onLoaddojo.widget.Dialog.superclass.hidespecify into which node to write the remaining # of seconds TODO: make this a parameter tooSpecify which node is the close button for this dialog. If no close node is specified then clicking anywhere on the screen will close the dialog.when specified node is clicked, show this dialog TODO: make this a parameter toocallback every second that the timer clicksdojo.widget.*dojo.io.*dojo.event.*dojo.widget.HtmlWidgetdojo.widget.Editor2dojo.widget.Dialogdojo.html.commondojo.html.displaydojo.widget.HtmlWidgetdojo.widget.HtmlWidgetwidget is used by the API documentation system; Users aren't expected to use this widget directly.widget is used by the API documentation system; Users aren't expected to use this widget directly.dojo.event.*dojo.widget.Widgetdojo.domdojo.html.styledojo.xml.Parsedojo.uri.*dojo.lang.funcdojo.lang.extrasdojo.widget.DomWidget is the superclass that provides behavior for all DOM-based renderers, including HtmlWidget and SvgWidget. DomWidget implements the templating system that most widget authors use to define the UI for their widgets.dojo.widget.Widgetdojo.widget.Widgeta node that represents the widget template. Pre-empts both templateString and templatePath. method over-ridea node that represents the widget template. Pre-empts both templateString and templatePath. method over-ridea node that represents the widget template. Pre-empts both templateString and templatePath. method over-ridethe widget that was insertedProcess the given child widget, inserting it's dom node as a child of our dom nodea non-default container node for the widgetcan be one of "before", "after", "first", or "last". This has the same meaning as in dojo.dom.insertAtPosition()a node to place the widget relative toDOM index, same meaning as in dojo.dom.insertAtIndex()Process the given child widget, inserting it's dom node as a child of our dom nodea non-default container node for the widgetcan be one of "before", "after", "first", or "last". This has the same meaning as in dojo.dom.insertAtPosition()a node to place the widget relative toDOM index, same meaning as in dojo.dom.insertAtIndex()record that given widget descends from methe widget that is now a childwhere in the children[] array to place itdetach child domNode from parent domNodedojo.widget.DomWidget.superclass.removeChildthe source node, if any, that the widget was declared froman opaque data structure generated by the first-pass parserReplace the source domNode with the generated dom structure, and register the widget with its parent. This is an implementation of the stub function defined in dojo.widget.Widget. dojo.profile.start(this.widgetType + " postInitialize");Construct the UI for this widget, generally from a template. This can be over-ridden for custom UI creation to to side-step the template system. This is an implementation of the stub function defined in dojo.widget.Widget.Called by buildRendering, creates the actual UI in a DomWidget.kvalhooks up event handlers and property/node linkages. Calls dojo.widget.attachTemplateNodes to do all the hard work.defaults to "this.domNode"defaults to "this"stub function! sub-classes may use as a default UI initializer function. The UI rendering will be available by the time this is called from buildRendering. If buildRendering is over-ridden, this function may not be fired!UI destructor. Destroy the dom nodes associated w/this widget.Attempts to create a set of nodes based on the structure of the passed text. Implemented in HtmlWidget and SvgWidget.static method to build from a template w/ or w/o a real widget in placean instance of dojo.widget.DomWidget to initialize the template forthe URL to get the template from. dojo.uri.Uri is often passed as well.a string to use in lieu of fetching the template from a URLshould the template system not use whatever is in the cache and always use the passed templatePath or templateString?map widget properties and functions to the handlers specified in the dom node and it's descendants. This function iterates over all nodes and looks for these properties: * dojoAttachPoint * dojoAttachEvent * waiRole * waiState * any "dojoOn*" proprties passed in the events arraythe node to search for properties. All children will be searched.a list of properties generated from getDojoEventsFromStr.generates a list of properties with names that match the form dojoOn*the template string to search var lstr = str.toLowerCase();Use appropriate API to set the role or state attribute onto the element.In IE use the generic setAttribute() api. Append a namespace alias to the attribute name and appropriate prefix to the value. Otherwise, use the setAttribueNS api to set the namespaced attribute. Also add the appropriate prefix to the attribute value.Use the appropriate API to remove the role or state valueIn IE use the generic removeAttribute() api. An alias value was added to the attribute name to simulate a namespace when the attribute was set. Otherwise use the removeAttributeNS() api to remove the state valuea mapping of strings that are used in template variable replacementinformation for mapping accessibility roleURI of the namespace for the set of rolesThe alias to assign the namespaceThe prefix to assign to the role valueinformation for mapping accessibility stateURI of the namespace for the set of statesThe alias to assign the namespaceempty string - state value does not require prefixContains functions to set accessibility roles and states onto widget elementsdojo.widget.*dojo.widget.HtmlWidgetdojo.widget.PopupContainerdojo.event.*dojo.html.layoutdojo.html.displaydojo.html.iframedojo.html.utilprovides an input box and a button for a dropdown. In subclass, the dropdown can be specified.dojo.widget.HtmlWidgetdojo.widget.HtmlWidgetuse attachTemplateNodes to specify containerNode, as fillInTemplate is too late for thisdojo.widget.DropdownContainer.superclass.attachTemplateNodeshide the dropdownsignal for changes in the input boxenable this widget to accept user inputdojo.widget.DropdownContainer.superclass.enablelock this widget so that the user can't change the valuedojo.widget.DropdownContainer.superclass.disabledojo.widget.*dojo.widget.DropdownContainerdojo.widget.DatePickerdojo.event.*dojo.html.*dojo.date.formatdojo.date.serializedojo.string.commondojo.i18n.commondojo.widget.DropdownContainerdojo.widget.DropdownContainersee dojo.widget.DomWidgetdojo.widget.DropdownDatePicker.superclass.postMixInPropertiessee dojo.widget.DomWidgetdojo.widget.DropdownDatePicker.superclass.fillInTemplatereturn current date in RFC 3339 formatreturn current date as a Date objectset the current date from RFC 3339 formatted string or a date object, synonymous with setDateset the current date and update the UIupdates the <input> field according to the current value (ie, displays the formatted date)triggered when this.value is changedcallback when user manually types a date into the <input> fielddojo.widget.DropdownDatePicker.superclass.destroydojo.widget.*dojo.widget.DropdownContainerdojo.widget.TimePickerdojo.event.*dojo.html.*dojo.date.formatdojo.date.serializedojo.i18n.commondojo.widget.DropdownContainerdojo.widget.DropdownContainerType of formatting used for visual display, appropriate to locale (choice of long, short, medium or full) See dojo.date.format for details. deprecated, will be removed for 0.5Type of formatting used for visual display, appropriate to locale (choice of long, short, medium or full) See dojo.date.format for details. deprecated, will be removed for 0.5see dojo.widget.DomWidgetdojo.widget.DropdownTimePicker.superclass.postMixInPropertiessee dojo.widget.DomWidgetdojo.widget.DropdownTimePicker.superclass.fillInTemplatereturn current time in time-only portion of RFC 3339 formatreturn current time as a Date objectset the current time from RFC 3339 formatted string or a date object, synonymous with setTimeset the current time and update the UIupdates the <input> field according to the current value (ie, displays the formatted date)triggered when this.value is changedcallback when user manually types a time into the <input> fielddojo.widget.DropdownTimePicker.superclass.destroydojo.io.*dojo.widget.*dojo.widget.Toolbardojo.widget.RichTextdojo.widget.ColorPalettedojo.string.extrasdojo.widget.HtmlWidgetdojo.widget.HtmlWidgetdojo.io.*dojo.widget.RichTextdojo.widget.Editor2Toolbardojo.widget.Editor2Plugin.AlwaysShowToolbardojo.widget.RichTextdojo.widget.RichTextPlugins are available using dojo's require syntax. Please find available built-in plugins under src/widget/Editor2Plugin. Array: Commands shortcuts. Each element can has up to 3 fields: 1. String: the name of the command 2. String Optional: the char for shortcut key, by default the first char from the command name is used 3. Int Optional: specify the modifier of the shortcut, by default ctrl is usedCreate toolbar and other initialization routines. This is called after the finish of the loading of document in the editing element dojo.profile.start("dojo.widget.Editor2::editorOnLoad");Fired when the toolbar for this editor is created. This event is for plugins to useRegister a plugin which is loaded for this instanceDelete a loaded plugin for this instancedojo.widget.Editor2.superclass.execCommanddojo.widget.Editor2.superclass.queryCommandEnableddojo.widget.Editor2.superclass.queryCommandStatedojo.widget.Editor2.superclass.onClickstub to signal other instances to clobber focustoggle between WYSIWYG mode and HTML source modefocus is set on this instance dojo.debug("setFocus: start "+this.widgetId);focus on this instance is lost dojo.debug("setBlur:", this); dojo.event.disconnect(this.toolbarWidget, "exec", this, "execCommand");save the current selection for restoring itrestore the last saved selectionupdate the associated toolbar of this Editor2dojo.widget.Editor2.superclass.destroydojo.widget.Editor2.superclass.onDisplayChangeddojo.widget.Editor2.superclass.onLoaddojo.widget.Editor2.superclass.onFocusdojo.widget.Editor2.superclass.getEditorContentdojo.widget.Editor2.superclass.replaceEditorContentreturn a command associated with this instance of editorsetup default shortcuts using Editor2 commandsReturn the current focused Editor2 instanceSet current focused Editor2 instanceReturn Editor2 command with the given nameof the command (case insensitive)Cleaning up. This is called automatically on page unload.dojo.widget.HandlerManager.prototype.destroykeeping track of all available share toolbar groupsdojo.widget.Editor2Plugin.DropDownListdojo.widget.ColorPalettedojo.widget.Editor2ToolbarDropDownButtondojo.widget.Editor2ToolbarDropDownButtondojo.widget.Menu2dojo.widget.Editor2Plugin.SimpleContextMenuGroupdojo.widget.Editor2Plugin.SimpleContextMenuGroupdojo.widget.Editor2Plugin.SimpleContextMenuGroupdojo.widget.Editor2Plugin.SimpleContextMenuGroupdojo.widget.Editor2Plugin.SimpleContextMenuGroupdojo.widget.Editor2Plugin.SimpleContextMenuGroupdojo.widget.MenuItem2dojo.widget.MenuItem2dojo.widget.Editor2ContextMenuItem.superclass.buildRenderingregister a group setof the group setarray of groups, such as ['Generic','Link']dojo.widget.Editor2DialogContentdojo.widget.Editor2DialogContentdojo.widget.FloatingPaneProvides a Dialog which can be modal or normal for the Editor2.TODO modified from ModalDialogBase.checkSize to call _sizeBackground conditionallyTODO modified from ModalDialogBase.checkSize to call _sizeBackground conditionallydojo.widget.Editor2Dialog.superclass.fillInTemplatedojo.widget.ModalDialogBase.prototype.postCreatedojo.widget.FloatingPaneBase.prototype.postCreatedojo.widget.Editor2Dialog.superclass.postCreatedojo.widget.Editor2Dialog.superclass.showdojo.widget.Editor2Dialog.superclass.hidedojo.widget.Editor2Dialog.superclass.onShowdojo.widget.Editor2Dialog.superclass.closeWindowdojo.widget.Editor2Dialog.superclass.hidedojo.widget.Editor2DialogContent is the actual content of a Editor2Dialog. This class should be subclassed to provide the content.dojo.widget.HtmlWidgetdojo.widget.HtmlWidgetDefault handler when cancel button is clicked.dojo.widget.Editor2dojo.widget.PopupContainerdojo.widget.ContentPanedojo.widget.Editor2ToolbarButtondojo.widget.Editor2ToolbarButtondojo.widget.Editor2ToolbarDropDownButtondojo.widget.Editor2ToolbarDropDownButtondojo.widget.Editor2ToolbarComboItemdojo.widget.Editor2ToolbarComboItemdojo.widget.Editor2ToolbarComboItemdojo.widget.Editor2ToolbarComboItemdojo.widget.Editor2ToolbarFontSizeSelectdojo.widget.Editor2ToolbarFontSizeSelectdojo.widget.Editor2dojo.widget.Editor2DialogCommanddojo.widget.Editor2DialogCommanddojo.widget.Editor2DialogContentdojo.widget.Editor2DialogContentdojo.widget.Editor2DialogContentdojo.widget.Editor2DialogContentdojo.widget.Editor2DialogContentdojo.widget.Editor2DialogContentdojo.widget.Editor2DialogContentdojo.widget.Editor2DialogContentdojo.widget.Editor2dojo.widget.Editor2Commanddojo.widget.Editor2Commanddojo.widget.Editor2dojo.widget.Editor2Plugin.SimpleContextMenuGroupdojo.widget.Editor2Plugin.SimpleContextMenuGroupdojo.dnd.*dojo.widget.Editor2dojo.widget.Editor2Toolbardojo.lang.*dojo.widget.*dojo.event.*dojo.html.layoutdojo.html.displaydojo.widget.RichTextcreate the itemdom node which is the root of this toolbar itemEditor2Toolbar widget this toolbar item belonging tothis item in charge of highlight this itemdisable selection on the passed node and all its childrendestructorupdate the state of the toolbar itemdojo.widget.Editor2ToolbarButtondojo.widget.Editor2ToolbarButtondojo.widget.HtmlWidgetdojo.widget.HtmlWidgetupdate all the toolbar itemsreturns whether items in this toolbar can be executedFor unshared toolbar, when clicking on a toolbar, the corresponding editor will be focused, and this function always return true. For shared toolbar, if the current focued editor is not one of the instances sharing this toolbar, this function return false, otherwise true.dojo.widget.Editor2Toolbar.superclass.destroyreturn a toobar item with the given namedojo.date.formatdojo.collections.Storedojo.html.*dojo.html.utildojo.html.styledojo.html.selectiondojo.event.*dojo.widget.*dojo.widget.HtmlWidgetA basic tabular data widget that supports sorting and filtering mechanisms.dojo.widget.HtmlWidgetdojo.widget.HtmlWidgetFilteringTable is a 2D data view that supports multiple column sorting and filtering functionality. It can get its data in one of two ways: via HTML (i.e. degradable data), or from an external JSON source through widget.store.setData. Records in a FilteringTable can be selected as if it were a select list. store: dojo.collections.Store The underlying Store for all data represented by the widget. valueField: String The name of the field used as a unique key for each row, defaults to "Id". multiple: boolean Allow multiple selections. maxSelect: Integer Maximum number of rows that can be selected at once. 0 == no limit. maxSortable: Integer Maximum number of columns allowed for sorting at one time. minRows: Integer The minimum number of rows to show. Default is 0. defaultDateFormat: String The default format for a date column, as used by dojo.date.format. alternateRows: Boolean Use alternate row CSS classes to show zebra striping. headClass: String CSS Class name for the head of the table. tbodyClass: String CSS Class name for the body of the table. headerClass: String CSS Class name for headers that are not sorted. headerUpClass: String CSS Class name for headers that are for ascending sorted columns. Default is "selectedUp". headerDownClass: String CSS Class name for headers that are for descending sorted columns. Default is "selectedDown". rowClass: String CSS Class name for body rows. rowAlternateClass: String CSS Class name for alternate rows. Default is "alt". rowSelectedClass: String CSS Class name for selected rows. Default is "selected". columnSelectedClass: String CSS Class name for any columns being sorted on. Unimplemented.Gets a function based on the passed string.Returns the data object based on the passed row.Returns the source data object based on the passed row.Finds the row in the table based on the passed data object.Returns index of the column that represents the passed field path.all objects that are selected.Returns whether the passed object is currently selected.Returns the object represented by key "val" is selected.Returns the object represented by integer "idx" is selected.Returns if the passed row is selected.Resets the widget to its initial internal state.Unselects all data objects.selects the passed object.selects the object represented by key "val".selects the object represented at index "idx".selects the object represented by HTMLTableRow row.selects all objects.Stub for onDataSelect event.Flips the selection state of passed obj.Flips the selection state of object represented by val.Flips the selection state of object at index idx.Flips the selection state of object represented by row.Flips the selection state of all objects.Stub for onDataToggle event.dojo.widget.*dojo.widget.HtmlWidgetdojo.html.styledojo.html.selectiondojo.html.utildojo.event.*dojo.widget.HtmlWidgetdojo.widget.HtmlWidgetpadding (in pixels) betweeen each menu itempadding (in pixels) betweeen each menu itemcalled when mouse moves out of menu's rangecalled when mouse is moved into menu's rangecalled when mouse is movedcalled when mouse is moved in the vicinity of the menuslowly expand the image to user specified max sizedojo.widget.FisheyeList.superclass.destroydojo.widget.HtmlWidgetdojo.widget.HtmlWidgetpathname to image file (jpg, gif, png, etc.) of icon for this menu itemlabel to print next to the icon, when it is moused-overpathname to image file (jpg, gif, png, etc.) of icon for this menu itemlabel to print next to the icon, when it is moused-overcallback when user moves mouse over this menu item in conservative mode, don't activate the menu until user mouses over an iconcallback when user moves mouse off of this menu itemuser overridable callback when user clicks this menu itemdojo.widget.*dojo.widget.Managerdojo.html.*dojo.html.layoutdojo.html.iframedojo.html.selectiondojo.lfx.shadowdojo.widget.html.layoutdojo.widget.ContentPanedojo.dnd.HtmlDragMovedojo.widget.Dialogdojo.widget.ResizeHandledojo.widget.FloatingPane.superclass.fillInTemplatedojo.widget.FloatingPaneBase.prototype.postCreatedojo.widget.FloatingPane.superclass.postCreatedojo.widget.FloatingPane.superclass.showdojo.widget.FloatingPane.superclass.onShowdojo.widget.FloatingPane.superclass.destroyA non-modal floating window. Attaches to a Taskbar which has an icon for each window. Must specify size (like style="width: 500px; height: 500px;"),A modal floating window. This widget is similar to the Dialog widget, but the window, unlike the Dialog, can be moved. Must specify size (like style="width: 500px; height: 500px;"),dojo.widget.ModalDialogBase.prototype.postCreatedojo.widget.ModalFloatingPane.superclass.postCreatedojo.widget.ModalFloatingPane.superclass.showdojo.widget.ModalFloatingPane.superclass.hidedojo.widget.ModalFloatingPane.superclass.closeWindowdojo.widget.*dojo.widget.HtmlWidgetdojo.widget.HtmlWidgetdojo.widget.HtmlWidgetdojo.event.*dojo.mathdojo.widget.*dojo.uri.Uridojo.widget.HtmlWidgetA widget that wraps the Google Map API.dojo.widget.HtmlWidgetdojo.widget.HtmlWidgetImplements and wraps the Google Map API so that you can easily create and include Google Maps in your Dojo application. Will parse an included table for point information, but also exposes the underlying map via the map property. map: GMap2 The actual Google Map object. geocoder: GClientGeocoder A reference to the Google Geocoder object, for getting points for addresses. data: Object[] Array of generated points plotted on the map datasrc: String Reference to external (to the widget) source for points to plot on the map. controls: String[] List of controls to plot on the map; shortened names correspond to Google Controls.dojo.widget.*dojo.widget.HtmlWidgetdojo.widget.HslColorPickerdojo.mathdojo.svgdojo.gfx.colordojo.gfx.color.hsldojo.experimentaldojo.widget.HtmlWidgetdojo.widget.HtmlWidgetdojo.widget.DomWidgetdojo.html.utildojo.html.displaydojo.html.layoutdojo.lang.extrasdojo.lang.funcdojo.lfx.toggledojo.widget.DomWidgetdojo.widget.DomWidgetdojo.widget.*dojo.event.*dojo.lfx.*dojo.gfx.colordojo.stringdojo.html.*dojo.html.layoutGiven node is displayed as-is (for example, an <h1 dojoType="InlineEditBox"> is displayed as an <h1>, but when you click on it, it turns into an <input> or <textarea>, and the user can edit the value.dojo.widget.HtmlWidgetdojo.widget.HtmlWidgetThis is passed as the third argument to onSave().This is passed as the third argument to onSave().Callback for when value is changed.Callback for when editing is aborted (value reverts to pre-edit value).When user clicks the text, then start editing. Hide the text and display the form instead.Callback when user presses "Save" buttonCallback when user presses "Cancel" buttonRevert to previous value in history list.Callback when user changes input value. Enable save button if the text value is different than the original value.dojo.widget.InlineEditBox.superclass.disabledojo.widget.InlineEditBox.superclass.enabledojo.widget.ValidationTextboxdojo.validate.commonA subclass of ValidationTextbox. Over-rides isValid/isInRange to test for integer input.dojo.widget.ValidationTextboxdojo.widget.ValidationTextboxThe leading plus-or-minus sign. Can be true or false, default is either.character used as the thousands separator. Default is no separator.Minimum signed value. Default is -InfinityMaximum signed value. Default is +InfinityThe leading plus-or-minus sign. Can be true or false, default is either.character used as the thousands separator. Default is no separator.Minimum signed value. Default is -InfinityMaximum signed value. Default is +Infinitydojo.widget.IntegerTextbox.superclass.mixInPropertiesOver-ride for integer validationOver-ride for integer validationdojo.widget.ValidationTextboxdojo.validate.webA Textbox which tests for a valid IP addressdojo.widget.ValidationTextboxdojo.widget.ValidationTextboxCan specify formats for ipv4 or ipv6 as attributes in the markup.see dojo.widget.Widgetdojo.widget.IpAddressTextbox.superclass.mixInPropertiessee dojo.widget.ValidationTextboxA Textbox which tests for a valid URLdojo.widget.IpAddressTextboxdojo.widget.IpAddressTextboxsee dojo.widget.Widgetdojo.widget.UrlTextbox.superclass.mixInPropertiessee dojo.widget.ValidationTextboxA Textbox which tests for a valid email addressdojo.widget.UrlTextboxdojo.widget.UrlTextboxCan use all markup attributes/properties of UrlTextbox except scheme.see dojo.widget.Widgetdojo.widget.EmailTextbox.superclass.mixInPropertiessee dojo.widget.ValidationTextboxA Textbox which tests for a list of valid email addresses listSeparator: String The character used to separate email addresses. Default is ";", ",", "\n" or " "dojo.widget.EmailTextboxdojo.widget.EmailTextboxsee dojo.widget.Widgetdojo.widget.EmailListTextbox.superclass.mixInPropertiessee dojo.widget.ValidationTextboxdojo.widget.*dojo.widget.html.layoutProvides Delphi-style panel layout semantics. details A LayoutContainer is a box with a specified size (like style="width: 500px; height: 500px;"), that contains children widgets marked with "layoutAlign" of "left", "right", "bottom", "top", and "client". It takes it's children marked as left/top/bottom/right, and lays them out along the edges of the box, and then it takes the child marked "client" and puts it into the remaining space in the middle. Left/right positioning is similar to CSS's "float: left" and "float: right", and top/bottom positioning would be similar to "float: top" and "float: bottom", if there were such CSS. Note that there can only be one client element, but there can be multiple left, right, top, or bottom elements. usage <style> html, body{ height: 100%; width: 100%; } </style> <div dojoType="LayoutContainer" style="width: 100%; height: 100%"> <div dojoType="ContentPane" layoutAlign="top">header text</div> <div dojoType="ContentPane" layoutAlign="left" style="width: 200px;">table of contents</div> <div dojoType="ContentPane" layoutAlign="client">client area</div> </div>dojo.widget.HtmlWidgetdojo.widget.HtmlWidgetdojo.widget.LayoutContainer.superclass.addChilddojo.widget.LayoutContainer.superclass.removeChilddojo.widget.LayoutContainer.superclass.showdojo.widget.*dojo.widget.ContentPanedojo.html.styleLinkPane is just a ContentPane that loads data remotely (via the href attribute), and has markup similar to an anchor. The anchor's body (the words between <a> and </a>) become the label of the widget (used for TabContainer, AccordionContainer, etc.) usage <a href="foo.html">my label</a>dojo.widget.ContentPanedojo.widget.ContentPanedojo.lang.arraydojo.lang.funcdojo.event.*dwm.getAllWidgetsdojo.widget.PopupContainerprovides a menu that can be used as a context menu (typically shown by right-click), or as the drop down on a DropDownButton, ComboButton, etc.dojo.widget.PopupContainerdojo.widget.PopupContainerCSS class for disabled nodesa submenu usually appears to the right, but slightly overlapping, it's parent menu; this controls the number of pixels the two menus overlap.if true, right clicking anywhere on the window will cause this context menu to open; if false, must specify targetNodeIdsCSS class for disabled nodesa submenu usually appears to the right, but slightly overlapping, it's parent menu; this controls the number of pixels the two menus overlap.if true, right clicking anywhere on the window will cause this context menu to open; if false, must specify targetNodeIdsget event that initially caused current chain of menus to openattach menu to given nodedetach menu from given nodecallback to process key strokes return true to stop the event being processed by the parent popupmenuuser defined function to handle clicks on an itemclose the menudojo.widget.PopupMenu2.superclass.closeclose the currently displayed submenuopen the menu to the right of the current menu itemcallback when menu is openeddojo.widget.HtmlWidgetdojo.widget.HtmlWidgetdojo.widget.MenuItem2.superclass.postMixInPropertiescallback when mouse is moved onto menu itemcallback when mouse is moved off of menu iteminternal function for clicksUser defined function to handle clicks this default function call the parent menu's onItemClickenable or disable this menu itemenable this menu item so user can click itdisable this menu item so user can't click itcallback when menu is opened TODO: I don't see anyone calling this menu itemdojo.widget.HtmlWidgetdojo.widget.HtmlWidgetdojo.widget.PopupMenu2dojo.widget.PopupMenu2dojo.widget.MenuBar2.superclass.processKeydojo.widget.MenuBar2.superclass.postCreatedojo.widget.MenuItem2dojo.widget.MenuItem2dojo.date.commondojo.date.formatdojo.widget.*dojo.widget.DatePickerdojo.event.*dojo.html.*dojo.experimentaldojo.widget.DatePickerdojo.widget.DatePickerdojo.lang.funcdojo.widget.*dojo.event.*dojo.html.selectionA container that has multiple children, but shows only one child at a time (like looking at the pages in a book one by one). Publishes topics <widgetId>-addChild, <widgetId>-removeChild, and <widgetId>-selectChild Can be base class for container, Wizard, Show, etc.dojo.widget.HtmlWidgetdojo.widget.HtmlWidgetdojo.widget.PageContainer.superclass.fillInTemplatedojo.widget.PageContainer.superclass.addChilddojo.widget.PageContainer.superclass.removeChildShow the given widget (which must be one of my children)callback when user clicks the [X] to remove a page if onClose() returns true then remove and destroy the childddojo.widget.PageContainer.superclass.destroySet of buttons to select a page in a page list. Monitors the specified PageContaine, and whenever a page is added, deleted, or selected, updates itself accordingly.dojo.widget.HtmlWidgetdojo.widget.HtmlWidgetdojo.widget.PageController.superclass.destroyCalled whenever a page is added to the container. Create button corresponding to the page.Called whenever a page is removed from the container. Remove the button corresponding to the page.Called whenever one of my child buttons is pressed in an attempt to select a pageCalled whenever one of my child buttons [X] is pressed in an attempt to close a pageHandle keystrokes on the page list, for advancing to next/previous buttonInternal widget used by PageList. The button-like or tab-like object you click to select or delete a pagedojo.widget.HtmlWidgetdojo.widget.HtmlWidgettrue iff we should also print a close icon to destroy corresponding pagetrue iff we should also print a close icon to destroy corresponding pageBasically this is the attach point PageController listens to, to select the pageThe close button changes color a bit when you mouse overRevert close button to normal color on mouse outHandle clicking the close button for this tabThis is run whenever the page corresponding to this button has been selectedThis function is run whenever the page corresponding to this button has been deselected (and another page has been shown)This will focus on the this button (for accessibility you need to do this when the button is selected)Callback if someone tries to close the child, child will be closed if func returns truedojo.widget.Managerdojo.domrecurses over a raw JavaScript object structure, and calls the corresponding handler for its normalized tagName if it existschecks the top level of a raw JavaScript object structure for any propertySets. It stores an array of references to propertySets that it finds.parseProperties checks a raw JavaScript object structure for properties, and returns a hash of properties that it finds.returns the propertySet that matches the provided idreturns the propertySet(s) that match(es) the provided componentClassreturns the propertySet for a given component fragmentnode to be replaced... in the future, we might want to add an alternative way to specify an insertion pointexpected dojo widget name, i.e. Button of ContextMenuobject of name value pairsnamespace of the widget. Defaults to "dojo"Creates widgetname of the widget to create with optional namespace prefix, e.g."ns:widget", namespace defaults to "dojo".pairs of properties of the widgetposition to insert this widget's node relative to thedojo.html.styledojo.html.layoutdojo.html.selectiondojo.html.iframedojo.event.*dojo.widget.*dojo.widget.HtmlWidgetThis class can not be used standalone: it should be mixed-in to a dojo.widget.HtmlWidget. Use PopupContainer instead if you want a a standalone popup widgetkey event handlerapply necessary css rules to the top domNodethis function should be called in sub class where a custom templateString/templateStringPath is used (see Tooltip widget)connect to this stub to modify the content of the popupOpen the popup at position (x,y), relative to dojo.body() Or open(node, parent, explodeSrc, aroundOrient) to open around nodecalculate where to place the popuphide the popuphide all popups including sub onesused by sub popup to set currentSubpopup in the parent popupclose opened sub popupdojo.widget.PopupContainer.superclass.onShowdo events from queuefuncdojo.widget.HtmlWidget.prototype.onHidedojo.widget.PopupContainer is the widget version of dojo.widget.PopupContainerBasethe popup manager makes sure we don't have several popups open at once. the root popup in an opening sequence calls opened(). when a root menu closes it calls closed(). then everything works. lovely.register a window so that when clicks/scroll in it, the popup can be closed automaticallyThis function register all the iframes and the top window, so that whereever the user clicks in the page, the popup menu will be closed In case you add an iframe after onload event, please call dojo.widget.PopupManager.registerWin manuallyremove listeners on the registered windowremove listeners on all the registered windowsnotify the manager that menu is closedsets the current opened popupSet the current focused popup, This is used by popups which supports keyboard navigationdojo.widget.*dojo.eventdojo.domdojo.html.styledojo.string.*dojo.lfx.*a progress widget, with some calculation and server polling capabilitiesdojo.widget.HtmlWidgetdojo.widget.HtmlWidgetinitial progress value. with "%": percentual value, 0% <= progressValue <= 100% or without "%": absolute value, 0 <= progressValue <= maxProgressValuemax sample numbercss class for frontPercentLabel (4)duration="..."isVertical="true|false"if true, the percent label shows only integer valuesfor server pollingserver poll intervalthe animation attach points private membersinitial progress value. with "%": percentual value, 0% <= progressValue <= 100% or without "%": absolute value, 0 <= progressValue <= maxProgressValueisVertical="true|false"max sample numberfor server pollingserver poll intervalif true, the percent label shows only integer valuesinitial progress value. with "%": percentual value, 0% <= progressValue <= 100% or without "%": absolute value, 0 <= progressValue <= maxProgressValuemax sample numbercss class for frontPercentLabel (4)duration="..."isVertical="true|false"if true, the percent label shows only integer valuesfor server pollingserver poll intervalthe animation attach points private members(implementation) four overlapped divs: (1) lower z-index (4) higher z-index back and front percent label have the same content: when the vertical line (*) partially hides the backPercentLabel, the frontPercentLabel becomes visible ________________________(1)_containerNode_________________________________ |__(3)_internalProgress____________ | | | <--- (*) | | (4) frontPercentLabel | (2) backPercentLabel | |__________________________________| | |__________________________________________________________________________| usage: <div dojoType="ProgressBar" frontBarClass="..." backBarClass="..."shows or hides the labelsreturns the maxProgressValuesets the maxProgressValue if noRender is true, only sets the internal max progress valuesets the progressValue if value ends width "%", does a normalization if noRender is true, only sets the internal value: useful if there is a setMaxProgressValue callreturns the progressValuereturns the percentual progressValuesets the dataSourcesets the pollIntervalstarts the server pollingstarts the left-right animation, useful when the user doesn't know how much time the operation will laststops the left-right animationrenders the ProgressBar, based on current valuesdojo.lang.commondojo.event.browserdojo.html.selectiondojo.widget.*dojo.widget.HtmlWidgetWidget that provides useful/common functionality that may be desirable when interacting with ul/ol html lists. The core behaviour of the lists this widget manages is expected to be determined by the css class names defined: "radioGroup" - Applied to main ol or ul "selected" - Applied to the currently selected li, if any. "itemContent" - Applied to the content contained in a li, this widget embeds a span within each <li></li> to contain the contents of the li. This widget was mostly developed under supervision/guidance from Tom Trenka. selectedItem: DomNode: Currently selected li, if anydojo.widget.HtmlWidgetdojo.widget.HtmlWidgetSets local radioGroup and items properties, also validates that domNode contains an expected list. Exception raised if a ul or ol node can't be found in this widgets domNode.dojo.widget.IntegerTextboxdojo.validate.commondojo.widget.IntegerTextboxdojo.widget.IntegerTextboxdojo.widget.RealNumberTextbox.superclass.mixInPropertiesdojo.widget.ValidationTextboxdojo.widget.ValidationTextboxdojo.widget.ValidationTextboxdojo.widget.RegexpTextbox.superclass.mixInPropertiesdojo.widget.*dojo.widget.TabContainerdojo.event.*dojo.widget.TabControllerdojo.widget.TabControllerdojo.widget.RemoteTabController.superclass.postMixInPropertiesdojo.widget.RemoteTabController.superclass.fillInTemplatedojo.widget.HtmlWidgetdojo.stringdojo.event.*dojo.experimentaldojo.dnd.*dojo.widget.HtmlWidgetdojo.widget.HtmlWidgetpattern of the namestrue, you can change position of rows by DnD you can also remove rows by dragging row awaypattern of the namespattern of the namestrue, you can change position of rows by DnD you can also remove rows by dragging row away{"index": "0"});dojo.widget.*dojo.widget.LayoutContainerdojo.widget.ResizeHandleA resizable textarea. Takes all the parameters (name, value, etc.) that a vanilla textarea takes. usage <textarea dojoType="ResizableTextArea">...</textarea>dojo.widget.HtmlWidgetdojo.widget.HtmlWidgetdojo.widget.*dojo.html.layoutdojo.event.*The handle on the bottom-right corner of FloatingPane or other widgets that allows the widget to be resized. Typically not used directly.dojo.widget.HtmlWidgetdojo.widget.HtmlWidgetdojo.widget.*dojo.widget.ContentPanedojo.html.styledojo.html.displaydojo.gfx.colordojo.widget.ContentPanedojo.widget.ContentPaneoutside rounded corner box of corners corner string to render false to disable anti-aliasing gets the hex bits of a numberoutside rounded corner box of corners corner string to render false to disable anti-aliasing gets the hex bits of a numberdojo.widget.Rounded.superclass.fillInTemplatedojo.widget.ComboBoxdojo.widget.*dojo.widget.html.stabiledojo.widget.ComboBoxdojo.widget.ComboBoxSets the value of the combobox. TODO: this doesn't work correctly when a URL is specified, because we can't set the label automatically (based on the specified value)FIXME, not sure what to do here! Users shouldn't call this function; they should be calling setValue() insteadreturns current labelreturns current value and labelinternal functioninternal function to set both value and labelinternal function to set both value and labeldojo.widget.*dojo.widget.HtmlWidgetdojo.uri.Uridojo.event.*dojo.lfx.*dojo.math.curvesdojo.lang.commondojo.lang.funcdojo.widget.HtmlWidgetdojo.widget.HtmlWidgetdojo.widget.*dojo.widget.HtmlWidgetdojo.widget.HtmlWidgetdojo.widget.*dojo.lang.commondojo.widget.HtmlWidgetdojo.lfx.htmldojo.html.displaydojo.html.layoutdojo.animation.Animationdojo.gfx.colordojo.widget.HtmlWidgetdojo.widget.HtmlWidgetdojo.event.*dojo.widget.*dojo.lfx.*dojo.html.displaydojo.widget.HtmlWidgetdojo.widget.HtmlWidgetPath prefix to prepend to each file specified in imgUrls Ex: "/foo/bar/images/"Width of image in pixelsHeight of image in pixelsis Animation paused? where in the images we are what's in the bg what's in the fg references our animationis Animation paused? where in the images we are what's in the bg what's in the fg references our animationPath prefix to prepend to each file specified in imgUrls Ex: "/foo/bar/images/"Width of image in pixelsHeight of image in pixelsis Animation paused? where in the images we are what's in the bg what's in the fg references our animationpauses or restarts the slideshowafter specified delay, load a new image in that container, and call _backgroundImageLoaded() when it finishes loadingdojo.event.*dojo.dnd.*dojo.dnd.HtmlDragMovedojo.widget.*dojo.html.layoutdojo.dnd.HtmlDragMoveSourcedojo.dnd.HtmlDragMoveSourcedojo.dnd.HtmlDragMoveObjectdojo.dnd.HtmlDragMoveObjectSlider Widget. The slider widget comes in three forms: 1. Base Slider widget which supports movement in x and y dimensions 2. Vertical Slider (SliderVertical) widget which supports movement only in the y dimension. 3. Horizontal Slider (SliderHorizontal) widget which supports movement only in the x dimension. The key objects in the widget are: - a container div which displays a bar in the background (Slider object) - a handle inside the container div, which represents the value (sliderHandle DOM node) - the object which moves the handle (_handleMove is of type SliderDragMoveSource) The values for the slider are calculated by grouping pixels together, based on the number of values to be represented by the slider. The number of pixels in a group is called the _valueSize e.g. if slider is 150 pixels long, and is representing the values 0,1,...10 then pixels are grouped into lots of 15 (_valueSize), where: value 0 maps to pixels 0 - 7 1 8 - 22 2 23 - 37 etc. The accuracy of the slider is limited to the number of pixels (i.e tiles > pixels will result in the slider not being able to represent some values). value size (pixels) in the y dimension left most edge of constraining container (pixels) in the X dimension top most edge of constraining container (pixels) in the Y dimension constrained slider size (pixels) in the x dimension constrained slider size (pixels) in the y dimension progress image right clip value (pixels) in the X dimension progress image left clip value (pixels) in the X dimension progress image top clip value (pixels) in the Y dimension progress image bottom clip value (pixels) in the Y dimension half the size of the slider handle (pixels) in the X dimension half the size of the slider handle (pixels) in the Y dimension compute _valueSizeY & _constraintHeight & default snapValuesYdojo.widget.HtmlWidgetdojo.widget.HtmlWidgetthe horizontal slider widget subclassdojo.widget.Sliderdojo.widget.Sliderdojo.widget.SliderHorizontal.superclass.postMixInPropertiesthe vertical slider widget subclassdojo.widget.Sliderdojo.widget.Sliderdojo.widget.SliderVertical.superclass.postMixInPropertiesdojo.lang.commondojo.date.formatdojo.html.*dojo.html.selectiondojo.html.utildojo.html.styledojo.event.*dojo.widget.*dojo.widget.HtmlWidgetdojo.widget.HtmlWidgetdojo.widget.HtmlWidgetdojo.io.*dojo.lfx.*dojo.html.*dojo.html.layoutdojo.stringdojo.widget.*dojo.widget.IntegerTextboxdojo.widget.RealNumberTextboxdojo.widget.DateTextboxdojo.experimentalan IntegerTextbox with +/- buttonsdojo.widget.IntegerSpinner.superclass.postMixInPropertiesdojo.widget.IntegerSpinner.superclass.postCreaterevalidate existing valuedojo.widget.RealNumberSpinner.superclass.postMixInPropertiesdojo.widget.RealNumberSpinner.superclass.postCreatedojo.widget.TimeSpinner.superclass.postMixInPropertiesdojo.widget.TimeSpinner.superclass.postCreatedojo.widget.*dojo.widget.ContentPanedojo.widget.HtmlWidgetdojo.html.styledojo.html.layoutdojo.html.selectiondojo.io.cookiedojo.widget.HtmlWidgetdojo.widget.HtmlWidgeteither 'horizontal' or vertical; indicates whether the children are arranged side-by-side or up/down.Save splitter positions in a cookieeither 'horizontal' or vertical; indicates whether the children are arranged side-by-side or up/down.Save splitter positions in a cookiedojo.widget.SplitContainer.superclass.postMixInPropertiesdojo.widget.SplitContainer.superclass.fillInTemplatedojo.widget.SplitContainer.superclass.postCreatedojo.widget.SplitContainer.superclass.removeChilddojo.widget.SplitContainer.superclass.addChilddojo.widget.ContentPanedojo.widget.ContentPanedojo.experimentaldojo.widget.DomButtondojo.widget.SvgWidgetdojo.widget.DomButtondojo.widget.DomWidgetdojo.domdojo.experimentaldojo.widget.SvgWidgetdojo.experimentaldojo.event.*dojo.widget.Widgetdojo.uri.*dojo.lang.funcdojo.lang.extrasdojo.widget.Widgetdojo.widget.Widgetdojo.lang.funcdojo.widget.*dojo.widget.PageContainerdojo.event.*dojo.html.selectiondojo.widget.html.layoutA TabContainer is a container that has multiple panes, but shows only one pane at a time. There are a set of tabs corresponding to each pane, where each tab has the title (aka label) of the pane, and optionally a close button. Publishes topics <widgetId>-addChild, <widgetId>-removeChild, and <widgetId>-selectChild (where <widgetId> is the id of the TabContainer itself.dojo.widget.PageContainerdojo.widget.PageContainerIf closebutton=="tab", then every tab gets a close button. DEPRECATED: Should just say closable=true on each pane you want to be closable. override setting in PageContainerIf closebutton=="tab", then every tab gets a close button. DEPRECATED: Should just say closable=true on each pane you want to be closable. override setting in PageContainerIf closebutton=="tab", then every tab gets a close button. DEPRECATED: Should just say closable=true on each pane you want to be closable. override setting in PageContainerdojo.widget.TabContainer.superclass.postMixInPropertiesdojo.widget.TabContainer.superclass.fillInTemplatedojo.widget.TabContainer.superclass.postCreatedojo.widget.TabContainer.superclass._setupChildKeystroke handling for keystrokes on the tab panel itself (that were bubbled up to me) Ctrl-up: focus is returned from the pane to the tab button Alt-del: close tabdojo.widget.TabContainer.superclass.destroySet of tabs (the things with labels and a close button, that you click to show a tab panel). Lets the user select the currently shown pane in a TabContainer or PageContainer. TabController also monitors the TabContainer, and whenever a pane is added or deleted updates itself accordingly.dojo.widget.PageControllerdojo.widget.PageControllerdojo.widget.TabController.superclass.postMixInPropertiesA tab (the thing you click to select a pane). Contains the title (aka label) of the pane, and optionally a close-button to destroy the pane. This is an internal widget and should not be instantiated directly.dojo.widget.PageButtondojo.widget.PageButtondojo.widget.TabButton.superclass.postMixInPropertiesdojo.widget.TabButton.superclass.fillInTemplateTab for display in high-contrast mode (where background images don't show up). This is an internal widget and shouldn't be instantiated directly.dojo.widget.TabButtondojo.widget.TabButtondojo.widget.*dojo.widget.FloatingPanedojo.widget.HtmlWidgetdojo.event.*dojo.html.selectionWidget used internally by the TaskBar; shows an icon associated w/a floating panedojo.widget.HtmlWidgetdojo.widget.HtmlWidgetname of associated floating panename of associated floating panedojo.widget.FloatingPanedojo.widget.FloatingPaneadd taskbar item for specified FloatingPane TODO: this should not be called addChild(), as that has another meaning.dojo.widget.TaskBar.superclass.addChilddojo.widget.*dojo.widget.HtmlWidgetdojo.widget.Managerdojo.widget.Parsedojo.xml.Parsedojo.lang.arraydojo.lang.commondojo.i18n.commonA generic textbox field. Serves as a base class to derive more specialized functionality in subclasses.dojo.widget.HtmlWidgetdojo.widget.HtmlWidget"none", "left", or "right". CSS float attribute applied to generated dom node.our DOM node event handlers, you can over-ride these in your own subclasses All functions below are called by create from dojo.widget.Widget"none", "left", or "right". CSS float attribute applied to generated dom node.our DOM node event handlers, you can over-ride these in your own subclasses All functions below are called by create from dojo.widget.WidgetApply various filters to textbox valuedojo.widget.Textbox.superclass.mixInPropertiesdojo.widget.*dojo.widget.HtmlWidgetdojo.event.*dojo.date.serializedojo.date.formatdojo.domdojo.html.styledojo.widget.HtmlWidgetdojo.widget.HtmlWidgetselected timesee dojo.widget.DomWidgetdojo.widget.TimePicker.superclass.postMixInPropertiessee dojo.widget.DomWidgetset the current date and update the UIthe set date event handlerutility functionsformats a Date object to RFC 3339 stringconstructs a Date object from RFC 3339 stringconverts a 24-hour-based hour value to a 12-hour-based hour value, and an AM/PM flagconverts a 12-hour-based hour value and an AM/PM flag to a 24-hour-based hour valuedojo.widget.*dojo.widget.ContentPanedojo.html.styledojo.lfx.*A pane with a title on top, that can be opened or collapsed.dojo.widget.ContentPanedojo.widget.ContentPaneCSS class name for <div> containing title of the pane.Whether pane is opened or closed.Whether pane is opened or closed.CSS class name for <div> containing title of the pane.Whether pane is opened or closed.dojo.widget.TitlePane.superclass.postCreatecallback when label is clickedsets the text of the labeldojo.widget.*dojo.lfx.*dojo.html.iframeMessage that slides in from the corner of the screen, used for notifications like "new email".dojo.widget.HtmlWidgetdojo.widget.HtmlWidgetName of topic; anything published to this topic will be displayed as a message. Message format is either String or an object like {message: "hello word", type: "ERROR", delay: 500} messageTypes: Enumeration Possible message types.If message type isn't specified (see "messageTopic" parameter), then display message as this type. Possible values in messageTypes enumeration ("MESSAGE", "WARNING", "ERROR", "FATAL")Possible values for positionDirection parameterNumber of milliseconds to show message TODO: this is a strange name. "duration" makes more senseName of topic; anything published to this topic will be displayed as a message. Message format is either String or an object like {message: "hello word", type: "ERROR", delay: 500} messageTypes: Enumeration Possible message types.If message type isn't specified (see "messageTopic" parameter), then display message as this type. Possible values in messageTypes enumeration ("MESSAGE", "WARNING", "ERROR", "FATAL")Possible values for positionDirection parameterNumber of milliseconds to show message TODO: this is a strange name. "duration" makes more sensesets and displays the given message and show durationthe messagetype of message; possible values in messageTypes array ("MESSAGE", "WARNING", "ERROR", "FATAL")number of milliseconds to display messagecallback for when user clicks the messagedojo.widget.Toaster.superclass.showdojo.widget.Toaster.superclass.hidedojo.widget.*dojo.event.*clicking on this widget shows/hides another widgetdojo.widget.HtmlWidgetdojo.widget.HtmlWidgetdojo.widget.*dojo.html.styledojo.widget.HtmlWidgetdojo.widget.HtmlWidgetchild.enablechild.disabledojo.widget.HtmlWidgetdojo.widget.HtmlWidgetdojo.widget.Toolbar.superclass.addChilddojo.widget.HtmlWidgetdojo.widget.HtmlWidgetdojo.widget.ToolbarItemdojo.widget.ToolbarItemdojo.widget.ToolbarButtonGroup.superclass.addChilddojo.widget.ToolbarItemdojo.widget.ToolbarItemdojo.widget.ToolbarButton.superclass.fillInTemplatedojo.widget.ToolbarButtondojo.widget.ToolbarButtondojo.widget.ToolbarDialog.superclass.fillInTemplatedojo.widget.ToolbarDialogdojo.widget.ToolbarDialogdojo.widget.ToolbarItemdojo.widget.ToolbarItemdojo.widget.ToolbarSeparator.superclass.fillInTemplatedojo.widget.ToolbarSeparatordojo.widget.ToolbarSeparatordojo.widget.ToolbarSpace.superclass.fillInTemplatedojo.widget.ToolbarItemdojo.widget.ToolbarItemdojo.widget.ToolbarSelect.superclass.fillInTemplatedojo.widget.ToolbarSelect.superclass.setEnableddojo.widget.ToolbarDialogdojo.widget.ToolbarDialogdojo.widget.ToolbarColorDialog.superclass.fillInTemplatedojo.widget.ToolbarColorDialog.superclass.showDialogdojo.widget.ToolbarColorDialog.superclass.hideDialogdojo.widget.ContentPanedojo.widget.PopupContainerdojo.uri.Uridojo.widget.*dojo.event.*dojo.html.styledojo.html.utilPops up a tooltip (a help message) when you hover over a nodeNumber of milliseconds to wait after hovering over the object, before the tooltip is displayed.Number of milliseconds to wait after moving mouse off of the object (or off of the tooltip itself), before erasing the tooltipId of domNode to attach the tooltip to. (When user hovers over specified dom node, the tooltip will appear.)Number of milliseconds to wait after hovering over the object, before the tooltip is displayed.Number of milliseconds to wait after moving mouse off of the object (or off of the tooltip itself), before erasing the tooltipId of domNode to attach the tooltip to. (When user hovers over specified dom node, the tooltip will appear.)dojo.widget.Tooltip.superclass.fillInTemplatedojo.widget.Tooltip.superclass.postCreatedisplay the tooltip; usually not called directly.dojo.widget.PopupContainerBase.prototype.openhide the tooltip; usually not called directly.dojo.widget.PopupContainerBase.prototype.closedojo.widget.*dojo.event.*dojo.io.*dojo.widget.HtmlWidgetdojo.widget.TreeNodedojo.html.commondojo.html.selectiondojo.widget.TreeBasicControllerdojo.widget.TreeSelectordojo.widget.HtmlWidgetdojo.widget.HtmlWidgetdojo.widget.HtmlWidget.prototype.destroythis.doAddChildthis.doMovethis.doRemoveNodechild does not get domNode filled in (only template draft) until addChild->createDOMNode is called(program way) OR createDOMNode (html-way) hook events to operate on new DOMNode, create dropTargets etc tree created.. Perform tree-wide actions if needed icon clicked node icon clicked node title clickeddojo.event.*dojo.jsondojo.io.*dojo.dnd.TreeDragAndDropdojo.widget.HtmlWidgetdojo.widget.HtmlWidgetcallFunccallFuncthis.doCreateChildcallFuncdojo.event.*dojo.jsondojo.io.*dojo.widget.TreeCommondojo.widget.TreeNodeV3dojo.widget.TreeV3dojo.widget.TreeTimeoutIteratordojo.widget.TreeBasicControllerV3.prototype.doCreateChilddojo.widget.TreeBasicControllerV3.prototype.doCreateChildcheckpreparemakefinalizeexposedojo.widget.*dojo.event.*dojo.io.*dojo.widget.Menu2dojo.widget.PopupMenu2dojo.widget.PopupMenu2dojo.widget.PopupMenu2.prototype.opendojo.widget.MenuItem2dojo.widget.MenuItem2item performs following actions (to be checked for permissions)item performs following actions (to be checked for permissions)item performs following actions (to be checked for permissions)dojo.event.*dojo.io.*dojo.widget.*dojo.widget.Menu2dojo.widget.TreeCommondojo.widget.PopupMenu2.prototype.opendojo.widget.PopupMenu2.prototype.closeitem performs following actions (to be checked for permissions)item performs following actions (to be checked for permissions)item performs following actions (to be checked for permissions)dojo.Deferreddojo.widget.HtmlWidgetdojo.widget.TreeSelectorV3dojo.widget.HtmlWidgetdojo.widget.TreeExtensiondojo.widget.TreeExtensiondojo.widget.TreeExtensiondojo.dnd.TreeDragAndDropV3dojo.experimentaldojo.widget.HtmlWidgetdojo.widget.TreeExtensiondojo.widget.*dojo.widget.HtmlWidgetdojo.widget.RichTextdojo.widget.HtmlWidgetdojo.widget.HtmlWidgetthis.richText.execCommanddojo.widget.HtmlWidgetdojo.widget.TreeSelectorV3dojo.html.selectiondojo.widget.HtmlWidgetdojo.widget.HtmlWidgetdojo.widget.HtmlWidgetdojo.widget.HtmlWidgetdojo.widget.HtmlWidgetdojo.widget.HtmlWidgetdojo.widget.TreeCommondojo.widget.HtmlWidgetdojo.widget.TreeExtensiondojo.widget.TreeExtensiondojo.widget.TreeExtensiondojo.widget.TreeCommon.prototype.listenTreedojo.widget.TreeBasicControllerdojo.event.*dojo.jsondojo.io.*dojo.widget.TreeBasicControllerdojo.widget.TreeBasicControllercallFunckw.loaddojo.widget.TreeBasicController.prototype.expanddojo.widget.TreeBasicController.prototype.doMovedojo.widget.TreeBasicController.prototype.doCreateChilddojo.widget.TreeBasicControllerV3dojo.event.*dojo.jsondojo.io.*dojo.Deferreddojo.DeferredListErrorErrordojo.Errordojo.Errordojo.Errordojo.Errordojo.Errordojo.Errordojo.Errordojo.Errordojo.widget.TreeBasicControllerV3dojo.widget.TreeBasicControllerV3create callback that calls the Deferred's callback methodthis.checkValidRpcResponsecallFunccheckpreparemakefinalizeexposedojo.html.*dojo.event.*dojo.io.*dojo.widget.HtmlWidgetdojo.widget.HtmlWidgetthis.tree.lockthis.tree.unlockthis.tree.isLockedthis.tree.cleanLockthis.tree.updateIconTreethis.tree.addChildthis.tree.doAddChildthis.tree.removeNodethis.tree.doRemoveNodedojo.html.*dojo.event.*dojo.io.*dojo.widget.TreeWithNodethis.doDetachdojo.widget.DomWidget.prototype.removeChilddojo.widget.HtmlWidget.prototype.destroydojo.event.*dojo.jsondojo.io.*dojo.widget.TreeLoadingControllerdojo.widget.TreeLoadingControllerdojo.widget.TreeLoadingControllerdojo.widget.TreeLoadingController.prototype.doMovedojo.widget.TreeLoadingController.prototype.doRemoveNodedojo.widget.TreeLoadingController.prototype.doCreateChilddojo.event.*dojo.jsondojo.io.*dojo.widget.TreeLoadingControllerV3dojo.widget.TreeLoadingControllerV3dojo.widget.TreeLoadingControllerV3dojo.widget.TreeBasicControllerV3.prototype.doMovedojo.widget.TreeBasicControllerV3.prototype.doDetachdojo.widget.TreeBasicControllerV3.prototype.doDestroyChilddojo.widget.TreeBasicControllerV3.prototype.doCreateChilddojo.widget.TreeBasicControllerV3.prototype.doClonedojo.widget.HtmlWidgetdojo.widget.HtmlWidgetdojo.widget.HtmlWidgetdojo.widget.HtmlWidget.prototype.destroydojo.widget.HtmlWidgetdojo.widget.TreeCommondojo.event.*dojo.jsondojo.io.*dojo.widget.TreeCommonthis.callFuncthis.filterFuncthis.callFuncthis.finishFuncdojo.widget.HtmlWidgetdojo.widget.HtmlWidgetdojo.widget.HtmlWidgetdojo.widget.TreeWithNodedojo.widget.*dojo.event.*dojo.io.*dojo.widget.HtmlWidgetdojo.widget.TreeNodeV3dojo.widget.HtmlWidget.prototype.destroythis.doMovedojo.lang.declaredojo.widget.ValidationTextboxdojo.validate.usa Textbox which tests for a United States state abbreviationdojo.widget.ValidationTextboxdojo.widget.ValidationTextboxsee dojo.widget.Widgetdojo.widget.UsStateTextbox.superclass.mixInPropertiessee dojo.widget.ValidationTextboxa Textbox which tests for a United States postal codedojo.widget.ValidationTextboxdojo.widget.ValidationTextboxsee dojo.widget.ValidationTextboxa Textbox which tests for a United States Social Security numberdojo.widget.ValidationTextboxdojo.widget.ValidationTextboxsee dojo.widget.ValidationTextboxa Textbox which tests for a United States 10-digit telephone number, extension is optional.dojo.widget.ValidationTextboxdojo.widget.ValidationTextboxsee dojo.widget.ValidationTextboxdojo.widget.Textboxdojo.i18n.commonA subclass of Textbox. Over-ride isValid in subclasses to perform specific kinds of validation. this property isn't a primitive and needs to be created on a per-item basis.dojo.widget.Textboxdojo.widget.Textboxvalues for new subclass properties Boolean Can be true or false, default is false.Class used to format displayed text in page if necessary to override default classOverride default class used for missing input dataBasic input tag size declaration.Basic input tag maxlength declaration.Will not issue invalid message if field is populated with default user-prompt textThe message to display if value is invalid.The message to display if value is missing.Updates messages on each key press. Default is true. new DOM nodes FIXME: why are there to fillInTemplate methods defined here?values for new subclass properties Boolean Can be true or false, default is false.Class used to format displayed text in page if necessary to override default classOverride default class used for missing input dataBasic input tag size declaration.Basic input tag maxlength declaration.Will not issue invalid message if field is populated with default user-prompt textThe message to display if value is invalid.The message to display if value is missing.Updates messages on each key press. Default is true. new DOM nodes FIXME: why are there to fillInTemplate methods defined here?Need to over-ride with your own validation code in subclassesNeed to over-ride with your own validation code in subclassesChecks for whitespaceChecks to see if value is required and is whitespaceCalled by oninit, onblur, and onkeypress.Show missing or invalid messages if appropriate, and highlight textbox field.used to ensure that only 1 validation class is set at a timeby Called oninit, and onblur. highlight textbox backgrounddojo.widget.ValidationTextbox.superclass.postMixInPropertiesdojo.widget.ValidationTextbox.superclass.fillInTemplatethis.isValidthis.isMissingthis.isInRangethis.isValidthis.isMissingthis.isInRangedojo.lang.funcdojo.lang.arraydojo.lang.extrasdojo.lang.declaredojo.nsdojo.widget.Managerdojo.event.*dojo.a11ythe parent of this widgetthe parent of this widgetget the "full" name of the widget. If the widget comes from the "dojo" namespace and is a Button, calling this method will return "dojo:button", all lower-casea string that represents the widget. When a widget is cast to a string, this method will be used to generate the output. Currently, it does not implement any sort of reversable serialization.returns the string representation of the widget.enables the widget, usually involving unmasking inputs and turning on event handlers. Not implemented here.disables the widget, usually involves masking inputs and unsetting event handlers. Not implemented here.A signal that widgets will call when they have been resized. Can be connected to for determining if a layout needs to be reflowed. Clients should override this function to do special processing, then call this.notifyChildrenOfResize() to notify children of resize.dispatches resized events to all children of this widget'create' manages the initialization part of the widget lifecycle. It's called implicitly when any widget is created. All other initialization functions for widgets, except for the constructor, are called as a result of 'create' being fired.a normalized view of the parameters that the widget should takeif the widget is being instantiated from markup, this objectthe widget, if any, that this widget will be the child of. If none is passed, the global default widget is used.to understand the process by which widgets are instantiated, it is critical to understand what other methods 'create' calls and which of them you'll want to over-ride. Of course, adventurous developers could over-ride 'create' entirely, but this should only be done as a last resort. Below is a list of the methods that are called, in the order they are fired, along with notes about what they do and if/when you should over-ride them in your widget: mixInProperties: takes the args and does lightweight type introspection on pre-existing object properties to initialize widget values by casting the values that are passed in args postMixInProperties: a stub function that you can over-ride to modify variables that may have been naively assigned by mixInProperties # widget is added to manager object here buildRendering subclasses use this method to handle all UI initialization initialize: a stub function that you can over-ride. postInitialize: a stub function that you can over-ride. postCreate a stub function that you can over-ride to modify take actions once the widget has been placed in the UI all of these functions are passed the same arguments as are passed to 'create'Destroy this widget and it's descendants. This is the generic "destructor" function that all widget users should call to clealy discard with a widget. Once a widget is destroyed, it's removed from the manager object.is this function being called part of global environment tear-down?Recursively destroy the children of this widget and their descendents.return an array of descendant widgets who match the passed typeshould we try to get all descendants that match? Defaults to false.a flattened array of all direct descendants including selfnot implemented!takes the list of properties listed in args and sets values of the current object based on existence of properties with the same name (case insensitive) and the type of the pre-existing property. This is a lightweight conversion and is not intended to capture custom type semantics.A map of properties and values to set on the current object. By default it is assumed that properties in args are in string form and need to be converted. However, if there is a 'fastMixIn' property with the value 'true' in the args param, this assumption is ignored and all values in args are copied directly to the current object without any form of type casting.The mix-in code attempts to do some type-assignment based on PRE-EXISTING properties of the "this" object. When a named property of args is located, it is first tested to make sure that the current object already "has one". Properties which are undefined in the base widget are NOT settable here. The next step is to try to determine type of the pre-existing property. If it's a string, the property value is simply assigned. If a function, it is first cast using "new Function()" and the execution scope modified such that it always evaluates in the context of the current object. This listener is then added to the original function via dojo.event.connect(). If an Array, the system attempts to split the string value on ";" chars, and no further processing is attempted (conversion of array elements to a integers, for instance). If the property value is an Object (testObj.constructor === Object), the property is split first on ";" chars, secondly on ":" chars, and the resulting key/value pairs are assigned to an object in a map style. The onus is on the property user to ensure that all property values are converted to the expected type before usage. Properties which do not occur in the "this" object are assigned to the this.extraArgs map using both the original name and the lower-case name of the property. This allows for consistent access semantics regardless of the case preservation of the source of the property names.Called after the parameters to the widget have been read-in, but before the widget template is instantiated. Especially useful to set properties that are referenced in the widget template.stub function.stub function.stub function.stub function. Over-ride to implement custom widget tear-down behavior.stub function. SUBCLASSES MUST IMPLEMENTstub function. SUBCLASSES MUST IMPLEMENTstub function this is just a signal that can be caughtinstance of dojo.widget.Widget that we were added tostub function. SUBCLASSES MUST IMPLEMENTremoves the passed widget instance from this widget but does not destroy itnull if this is the first child of the parent, otherwise returns the next sibling to the "left".gets an array of all children of our parent, including "this"what index are we at in the parent's children array?null if this is the last child of the parent, otherwise returns the next sibling to the "right".superclassessuperclassesdeprecated!creates a tree of widgets from the data structure produced by the first-pass parser (frag) test for accessibility modeCreate a widget constructor function (aka widgetClass)the location in the object hierarchy to place the new widget class constructorusually "html", determines when this delcaration will be usedcan be either a single function or an array of functions to be mixed in as superclasses. If an array, only the first will be used to set prototype inheritance.an optional constructor function. Will be called after superclasses are mixed in.a map of properties and functions to extend the class prototype withdojo.widget._defineWidgetuncomment next line to test parameter juggling ... remove when confidence improves dojo.debug('(c:)' + widgetClass + '\n\n(r:)' + renderer + '\n\n(i:)' + init + '\n\n(p:)' + props); takes the form foo.bar.baz<.renderer>.WidgetName (e.g. foo.bar.baz.WidgetName or foo.bar.baz.html.WidgetName)dojo.widget.*dojo.widget.LayoutContainerdojo.widget.ContentPanedojo.event.*dojo.html.styleA set of panels that display sequentially, typically notating a step-by-step procedure like an installdojo.widget.LayoutContainerdojo.widget.LayoutContainerdojo.widget.WizardContainer.superclass.registerChildCallback when new panel is selected.. Deselect old panel and select new onereturns array of WizardPane childrenReturns index (into this.children[]) for currently selected child.callback when next button is clickedcallback when previous button is clickedReturns true if there's a another panel after the current panelReturns true if there's a panel before the current panelFinish the wizard's operationa panel in a WizardContainerdojo.widget.ContentPanedojo.widget.ContentPaneName of function that is run if you press the "Done" button from this panelName of function that is run if you press the "Done" button from this panelName of function that is run if you press the "Done" button from this paneldojo.widget.WizardPane.superclass.postMixInPropertiesCalled when the user presses the "next" button. Calls passFunction to see if it's OK to advance to next panel, and if it isn't, then display error. Returns true to advance, false to not advance.dojo.event.*dojo.mathdojo.widget.*dojo.widget.HtmlWidgetCreates a widget that wraps the Yahoo Map API.dojo.widget.HtmlWidgetdojo.widget.HtmlWidgetWidget wrapper for the Yahoo Map API; it allows you to easily embed a Yahoo Map within your Dojo application. map: YMap Reference to the Yahoo Map object. datasrc: String Reference to an external (to the widget) source for point data. data: Object[] Array of point information objects. width: Number Width of the map control. height: Number Height of the map control controls: String[] Array of strings that map to corresponding controls on a Yahoo Map.dojo.xml.Parsedojo.widget.Widgetdojo.widget.Parsedojo.widget.Managerdojo.widget.DomWidgetdojo.widget.HtmlWidgetdojo.widget.DomWidgetdojo.widget.HtmlWidgetdojo.widget.SvgWidgetdojo.widget.SwtWidgetdojo.widget.*dojo.widget.HtmlWidgetdojo.widget.demoEngine.DemoPanedojo.widget.demoEngine.SourcePanedojo.widget.TabContainerdojo.widget.HtmlWidgetdojo.widget.HtmlWidgetdojo.widget.*dojo.widget.HtmlWidgetdojo.widget.HtmlWidgetdojo.widget.HtmlWidgetdojo.widget.*dojo.widget.HtmlWidgetdojo.widget.Buttondojo.widget.demoEngine.DemoItemdojo.io.*dojo.lfx.*dojo.lang.commondojo.widget.HtmlWidgetdojo.widget.HtmlWidgetdojo.widget.*dojo.widget.HtmlWidgetdojo.widget.HtmlWidgetdojo.widget.HtmlWidgetdojo.widget.*dojo.widget.HtmlWidgetdojo.io.*dojo.widget.HtmlWidgetdojo.widget.HtmlWidgetdojo.widget.demoEngine.DemoItemdojo.widget.demoEngine.DemoNavigatordojo.widget.demoEngine.DemoPanedojo.widget.demoEngine.SourcePanedojo.widget.demoEngine.DemoContainerdojo.langdojo.datedojo.html.*dojo.html.selectiondojo.html.utildojo.event.*dojo.widget.HtmlWidgetdojo.widget.SortableTableConstructor for the SortableTable widgetdojo.widget.SortableTabledojo.widget.HtmlWidgetdojo.widget.HtmlWidgetdojo.lang.commondojo.string.extrasdojo.html.styledojo.html.layoutdojo.widget.HtmlWidgetdojo.io.*dojo.lang.commondojo.lang.extrasdojo.experimentalthis.loader.callOnUnLoadfunchandleDefaultsthis.onExecScriptthis.onContentParserefreshedrefreshedstrips out <style, <link rel=stylesheet and <title tags intended to take out tags that might cause DOM faultsadjusts relative paths in content to be relative to current pagehandles scripts and dojo .require(...) etc calls NOTE: we need to go through here even if we have executeScripts=false and if we have parseWidgets truepathfixes, require calls, css stuff and neccesary content cleanstring url string? or dojo.uri.Uri that that pulled the content in, for path adjust adjustPaths boolean, if true adjust relative paths in content to match this page collectScripts boolean, if true it takes out all <script and <script src=.. tags and collects dojo.require calls in a separate array, useful for eval collectRequires boolean, if true and collectScripts is false it still collects scripts along with dojo.require calls bodyExtract boolean, if true only return content inside of the body tag_loader.htmlContentAdjustPaths_loader.htmlContentBasicFix_loader.htmlContentScriptsmixin or extend loader into a widgetwidget reference mixin: boolean, default false if mixin true, it will only extend the current widget, not its prototypepostCreatewidgetProto.constructor.superclass.postCreatewidgetProto.constructor.superclass.showshowdestroywidgetProto.constructor.superclass.destroyrunHandlerhandleDefaultsdownloaderself.onDownloadEndstackRunnerstackPusher_loader.splitAndFixPathsthis.loader.callOnUnLoadrefreshedasyncParsefcnfcnGet the state stored for the widget with the given ID, or undefined if none.Set the state stored for the widget with the given ID. If isCommit is true, commits all widget state to more stable storage.Sets up widgetState: a hash keyed by widgetId, maps to an object or array writable with "describe". If there is data in the widget storage area, use it, otherwise initialize an empty object.Commits all widget state to more stable storage, so if the user navigates away and returns, it can be restored.Return a JSON "description string" for the given value. Supports only core JavaScript types with literals, plus Date, and cyclic structures are unsupported.to false -- if true, this becomes a simple symbolic object dumper, but you cannot "eval" the output.objectToStringGets an object (form field) with a read/write "value" property.Maintain state of widgets when user hits back/forward buttondojo.widget.HtmlWidgetdojo.widget.Chartdojo.html.layoutdojo.mathdojo.svgdojo.gfx.colordojo.jsonCreates a chart based on the passed data and plotter choice, using SVG.Renders a basic chart set based on the chosen data source and plotter, using SVG. Note that a lot of the public properties are not meant to be altered, and that some usable attributes passed with the HTML widget definition do not correspond to equivilent properties that are used.Singleton for plotting series of data.Calculate the x coord on the passed chart for the passed valueCalculate the y coord on the passed chart for the passed valueadd a custom plotter function to this object.plot the passed series.