newInstance(name)

Creates a new Java object.

Parameters

name name of the class to instantiate (String)

Example

var presenter = newInstance('inetsoft.report.painter.IconCounterPresenter');

You can usually accomplish the same thing using the 'new' operator, but this sometimes does not handle Java packages correctly.

<< addParameter(name, default, type, alias, hidden) © 1996-2013 InetSoft Technology Corporation (v11.5) getImage(string) >>