Package muntjac :: Package terminal :: Package gwt :: Package server :: Module json_paint_target :: Class JsonTag
[hide private]
[frames] | no frames]

Class JsonTag

source code

object --+
         |
        JsonTag

This is basically a container for UI components variables, that will be added at the end of JSON object.


Author: mattitahvonen

Instance Methods [hide private]
 
__init__(self, tagName, target)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
_closeTag(self) source code
 
getJSON(self) source code
 
openChildrenArray(self) source code
 
closeChildrenArray(self) source code
 
setChildNode(self, b) source code
 
isChildNode(self) source code
 
startField(self) source code
 
addData(self, s) source code
 
getData(self) source code
 
addAttribute(self, jsonNode) source code
 
_attributesAsJsonObject(self) source code
 
addVariable(self, v) source code
 
_variablesAsJsonObject(self) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, tagName, target)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

addData(self, s)

source code 
Parameters:
  • s - json string, object or array