Package muntjac :: Package addon :: Package invient :: Module invient_charts :: Class ChartSVGAvailableEvent
[hide private]
[frames] | no frames]

Class ChartSVGAvailableEvent

source code

      object --+        
               |        
util.EventObject --+    
                   |    
  ui.component.Event --+
                       |
                      ChartSVGAvailableEvent

Chart SVG event. This event is thrown, when an SVG string representing the chart is received or ready.

Note that this event is thrown only once after a ChartSVGAvailableListener is registered.


Authors:
Invient, Richard Lincoln
Instance Methods [hide private]
 
__init__(self, source, chart, svg)
New instance of the chart svg available event.
source code
 
getChart(self)
Returns the chart object for which an svg string representation is available
source code
 
getSVG(self)
Returns: Returns an SVG string representing the chart
source code

Inherited from ui.component.Event: getComponent

Inherited from util.EventObject: getSource

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, source, chart, svg)
(Constructor)

source code 

New instance of the chart svg available event.

Parameters:
  • source - the chart object itself
  • chart - the chart object itself
  • svg - an svg string representing the chart object
Overrides: object.__init__

getChart(self)

source code 

Returns the chart object for which an svg string representation is available

Returns:
Returns the chart object for which an svg string representation is available

getSVG(self)

source code 
Returns:
Returns an SVG string representing the chart