IView
pentaho.visual. IView
The IView
interface describes the contract of a visualization view.
The view interface comprises a constructor which receives a single, required argument of type spec.IView
. Unfortunately, the documentation system used by this reference documentation cannot express that. Basically, the options argument contains two required properties, model
and [domContainer]@link pentaho.visual.spec.IView#domContainer}.
A view must listen to its model's Update:{do}
phase event and react by updating its rendering of the visualization.
Note also that the view interface extends from the IDisposable
interface, so that views can free held resources and not cause memory-leaks.
Source: doc-js/pentaho/visual/IView.jsdoc, line 17
Extends
Methods
Name | Description |
---|---|
dispose() | Disposes of an object if it hasn't been disposed of yet. |
Methods Details
dispose() |
---|
Disposes of an object if it hasn't been disposed of yet. This method should not throw an error in case the resource has already been disposed of. Source: doc-js/pentaho/lang/IDisposable.jsdoc, line 24 Inherited From: pentaho.lang.IDisposable#dispose |