Ext.util.ObservableExt.ux.Json
Package: | Ext.ux |
Defined In: | Ext.ux.JsonPanel.js |
Class: | Json |
Extends: | Ext.util.Observable |
Config Options | Defined By | |
---|---|---|
loadMask :
Boolean indicator when true loadMsg will be shown
Boolean indicator when true loadMsg will be shown
|
Json Json | |
loadMsg :
The loading message
The loading message
|
Json Json | |
msgCls :
Mask used for loading message
Mask used for loading message
|
Json Json | |
indentString : String
The string used to indent
The string used to indent
|
Json Json | |
blockedJsonInit : Array
Array with items which should be blocked during init
Array with items which should be blocked during init
|
Json Json | |
disableCaching : Boolean
Should caching be disabled when JSON are loaded (defaults false).
Should caching be disabled when JSON are loaded (defaults false).
|
Json Json | |
licenseText : String
The lisenceText that should be added to each JSON File Created
The lisenceText that should be added to each JSON File Created
|
Json Json |
This class has no public properties.
Property | Defined By |
---|
Method | Defined By | |
---|---|---|
addJsonHistory( String json ) : void
Add a json to the json history
Add a json to the json history
Parameters:
|
Json Json | |
getJsonHistory( Boolean keep ) : String
Get the last item from the json history
Get the last item from the json history
Parameters:
|
Json Json | |
setRequired_js( String list ) : void
Load one or more javascripts. Is trigger by root element window.required_js in json file.
The javascripts are synchonrized load before the JSON is evaluated. Base on the config item
disableCaching (defaults true) the url of the javascript to load is made unique with parameter _dc.
Load one or more javascripts. Is trigger by root element window.required_js in json file.
The javascripts are synchonrized load before the JSON is evaluated. Base on the config item
disableCaching (defaults true) the url of the javascript to load is made unique with parameter _dc.
Parameters:
|
Json Json | |
setRequired_css( String list ) : void
Load one or more stylesheets. Is triggered by root element window.required_css in json file
Load one or more stylesheets. Is triggered by root element window.required_css in json file
Parameters:
|
Json Json | |
setBlockedJsonInit( Object args ) : void
Added items to blockedJsonInit during jsonInit
Added items to blockedJsonInit during jsonInit
Parameters:
|
Json Json | |
jsonInit( Object config, element, all, scopeOnly ) : Boolean
Function called with config object of json file
Function called with config object of json file
Parameters:
|
Json Json | |
isEmptyObject( obj ) : void
Check if a object is empty
Check if a object is empty
Parameters:
|
Json Json | |
applyJson( Object/String json, Element element ) : Object
Apply the Json to given element
Apply the Json to given element
Parameters:
|
Json Json | |
editableJson( Object/String json, Object id ) : Object
Convert a Json to a editableJson by adding an edtiableId when set
Convert a Json to a editableJson by adding an edtiableId when set
Parameters:
|
Json Json | |
encode( Object o, Int indent, keepJsonId, noLicense ) : String
Customer encode decode and recode, enabling reading and writing of JSON files with javascript code
Customer encode decode and recode, enabling reading and writing of JSON files with javascript code
Parameters:
|
Json Json | |
decodeAsString( String value ) : Object
Decode json evaluating Json tag (required_js,required_css) returning all elements as string
Decode json evaluating Json tag (required_js,required_css) returning all elements as string
Parameters:
|
Json Json | |
getJsonScope( ) : Object
Function returning the scope to beused for the json
Function returning the scope to beused for the json
Parameters:
|
Json Json | |
deleteJsonNull( json ) : void
Clean null elements from json object
Clean null elements from json object
Parameters:
|
Json Json | |
decode( String value ) : Object
Decode json evaluating Json tag (required_js,required_css)
Decode json evaluating Json tag (required_js,required_css)
Parameters:
|
Json Json | |
clone( Object o ) : Object
Function used to clone a object
Function used to clone a object
Parameters:
|
Json Json |
This class has no events
Event | Defined By |
---|