public class PaintGroovyScript extends GroovyScript implements net.sf.jasperreports.engine.JRRenderable
GroovyScript.Function, GroovyScript.HGBRM_DEFAULT, RM_RESULT, RM_SCRIPT, SL_BEANSHELL, SL_DEFAULT, SL_GROOVY, STR_VALUES_FALSE, STR_VALUES_TRUE| Constructor and Description |
|---|
PaintGroovyScript(BenanntPath _bp,
BOLoaderI _bol,
SchemaI _schema) |
PaintGroovyScript(BenanntPath _bp,
BOLoaderI _bol,
SchemaI _schema,
int _codeOff) |
PaintGroovyScript(BenanntPath _bp,
BOLoaderI _bol,
SchemaI _schema,
int _codeOff,
org.apache.log4j.Logger _log) |
PaintGroovyScript(BenanntPath _bp,
BOLoaderI _bol,
SchemaI _schema,
int _codeOff,
org.apache.log4j.Logger _log,
BO _bo) |
PaintGroovyScript(BenanntPath _bp,
BOLoaderI _bol,
SchemaI _schema,
int _codeOff,
org.apache.log4j.Logger _log,
BO _bo,
de.ipcon.swing.IScrollPane _canvas) |
PaintGroovyScript(BenanntPath _bp,
BOLoaderI _bol,
SchemaI _schema,
int _codeOff,
org.apache.log4j.Logger _log,
BO _bo,
de.ipcon.swing.IScrollPane _canvas,
ClientContextI _ctx) |
PaintGroovyScript(BenanntPath _bp,
BOLoaderI _bol,
SchemaI _schema,
int _codeOff,
org.apache.log4j.Logger _log,
BO _bo,
de.ipcon.swing.IScrollPane _canvas,
ClientContextI _ctx,
FormContextI _ftx) |
PaintGroovyScript(BenanntPath _bp,
BOLoaderI _bol,
SchemaI _schema,
int _codeOff,
org.apache.log4j.Logger _log,
BO _bo,
de.ipcon.swing.IScrollPane _canvas,
ClientContextI _ctx,
FormContextI _ftx,
FormElementI _fe) |
PaintGroovyScript(java.lang.String _src,
SchemaI _schema)
Create a GroovyScript from the given _src, a number of default imports and
some (optional) context variables (everything after _codeOff) set.
|
PaintGroovyScript(java.lang.String _src,
SchemaI _schema,
int _codeOff) |
PaintGroovyScript(java.lang.String _src,
SchemaI _schema,
int _codeOff,
org.apache.log4j.Logger _log) |
PaintGroovyScript(java.lang.String _src,
SchemaI _schema,
int _codeOff,
org.apache.log4j.Logger _log,
BO _bo) |
PaintGroovyScript(java.lang.String _src,
SchemaI _schema,
int _codeOff,
org.apache.log4j.Logger _log,
BO _bo,
de.ipcon.swing.IScrollPane _canvas) |
PaintGroovyScript(java.lang.String _src,
SchemaI _schema,
int _codeOff,
org.apache.log4j.Logger _log,
BO _bo,
de.ipcon.swing.IScrollPane _canvas,
ClientContextI _ctx) |
PaintGroovyScript(java.lang.String _src,
SchemaI _schema,
int _codeOff,
org.apache.log4j.Logger _log,
BO _bo,
de.ipcon.swing.IScrollPane _canvas,
ClientContextI _ctx,
FormContextI _ftx) |
PaintGroovyScript(java.lang.String _src,
SchemaI _schema,
int _codeOff,
org.apache.log4j.Logger _log,
BO _bo,
de.ipcon.swing.IScrollPane _canvas,
ClientContextI _ctx,
FormContextI _ftx,
FormElementI _fe) |
| Modifier and Type | Method and Description |
|---|---|
void |
drawBackground(java.awt.Graphics2D _gfx,
int _width,
int _height) |
void |
drawBackground(java.awt.Graphics2D _gfx,
int _width,
int _height,
AsyncRefreshRequestI _arr) |
void |
drawForeground(java.awt.Graphics2D _gfx,
int _width,
int _height) |
void |
drawForeground(java.awt.Graphics2D _gfx,
int _width,
int _height,
AsyncRefreshRequestI _arr) |
static java.util.Map |
getContext() |
static java.util.Map |
getContext(org.apache.log4j.Logger _log) |
static java.util.Map |
getContext(org.apache.log4j.Logger _log,
BO _bo) |
static java.util.Map |
getContext(org.apache.log4j.Logger _log,
BO _bo,
de.ipcon.swing.IScrollPane _canvas) |
static java.util.Map |
getContext(org.apache.log4j.Logger _log,
BO _bo,
de.ipcon.swing.IScrollPane _canvas,
ClientContextI _ctx) |
static java.util.Map |
getContext(org.apache.log4j.Logger _log,
BO _bo,
de.ipcon.swing.IScrollPane _canvas,
ClientContextI _ctx,
FormContextI _ftx) |
static java.util.Map |
getContext(org.apache.log4j.Logger _log,
BO _bo,
de.ipcon.swing.IScrollPane _canvas,
ClientContextI _ctx,
FormContextI _ftx,
FormElementI _fe) |
static java.util.List |
getDefaultImports(SchemaI _schema) |
java.awt.geom.Dimension2D |
getDimension() |
java.lang.String |
getId() |
byte[] |
getImageData() |
byte |
getImageType() |
static PaintGroovyScript |
getInstance(BenanntPath _bp,
BOLoaderI _bol,
SchemaI _schema)
This method basically exists as a replacement for "new PaintGroovyScript(...)"
|
static PaintGroovyScript |
getInstance(BenanntPath _bp,
BOLoaderI _bol,
SchemaI _schema,
int _codeOff) |
static PaintGroovyScript |
getInstance(BenanntPath _bp,
BOLoaderI _bol,
SchemaI _schema,
int _codeOff,
org.apache.log4j.Logger _log) |
static PaintGroovyScript |
getInstance(BenanntPath _bp,
BOLoaderI _bol,
SchemaI _schema,
int _codeOff,
org.apache.log4j.Logger _log,
BO _bo) |
static PaintGroovyScript |
getInstance(BenanntPath _bp,
BOLoaderI _bol,
SchemaI _schema,
int _codeOff,
org.apache.log4j.Logger _log,
BO _bo,
de.ipcon.swing.IScrollPane _canvas) |
static PaintGroovyScript |
getInstance(BenanntPath _bp,
BOLoaderI _bol,
SchemaI _schema,
int _codeOff,
org.apache.log4j.Logger _log,
BO _bo,
de.ipcon.swing.IScrollPane _canvas,
ClientContextI _ctx) |
static PaintGroovyScript |
getInstance(BenanntPath _bp,
BOLoaderI _bol,
SchemaI _schema,
int _codeOff,
org.apache.log4j.Logger _log,
BO _bo,
de.ipcon.swing.IScrollPane _canvas,
ClientContextI _ctx,
FormContextI _ftx) |
static PaintGroovyScript |
getInstance(BenanntPath _bp,
BOLoaderI _bol,
SchemaI _schema,
int _codeOff,
org.apache.log4j.Logger _log,
BO _bo,
de.ipcon.swing.IScrollPane _canvas,
ClientContextI _ctx,
FormContextI _ftx,
FormElementI _fe) |
static int |
getNamedIntFromMap(java.util.Map m,
java.lang.String key,
int $default) |
byte |
getType() |
java.lang.Object |
invokeNamedClosure(java.lang.String name,
java.lang.Object[] args) |
int[] |
layout(java.awt.Graphics2D _gfx,
int _width,
int _height) |
int[] |
layout(java.awt.Graphics2D _gfx,
int _width,
int _height,
AsyncRefreshRequestI _arr) |
static java.lang.String |
loadCode(BenanntPath _bp,
BOLoaderI _bol,
ClientContextI _ctx) |
void |
render(java.awt.Graphics2D _gfx,
java.awt.geom.Rectangle2D _rectangle) |
asBool, asBoolStatic, boolConverter, clear, close, compileNT, compilesToSame, createFunction, createFunction, createFunction, createFunction, createFunction, createScript, evalAsBoolNT, evalNT, evalNT, getBinding, getCompilerConf, getEvalScript, getEvalScript, getLanguage, getLineOffset, getNT, getParent, getScript, getShell, getSource, hasSource, initShellInstance, isActualScript, isActualScriptNT, isActualScriptNT, isActualScriptNT, isActualScriptTR, isActualScriptTR, isValidVarName, nextFunctionCounter, nextScriptCounter, replaceCustomLogicalOperators, runAsObjectNT, setBinding, setCompilerConf, setLineOffset, setNT, setParent, setPrecompile, setScript, setShell, setSourceasString, compileNT, compileNT, evalAsBoolNT, evalAsBoolNT, evalAsBoolNT, evalAsStringNT, evalAsStringNT, evalAsStringNT, evalAsStringNT, evalNT, evalNT, evalNT, getInstance, getInstance, getInstance, getInstance, getInstance, getInstance, getInstance, getInstance, getInstance, getInstance, getInstance, getInstance, getInstance, getInstance, getInstance, getInterrupt, getJavaSyntaxImports, getJavaSyntaxImports, getNT, isScriptException, runAsBoolNT, runAsBoolNT, runAsBoolNT, runAsBoolNT, runAsObjectNT, runAsObjectNT, runAsObjectNT, runAsStringNT, runAsStringNT, runAsStringNT, runAsStringNT, runNT, runNT, runNT, setInterrupt, setNT, setNT, setNT, setNT, setNT, setNT, setNT, setNT, setNT, setNT, setNT, setNTpublic PaintGroovyScript(java.lang.String _src,
SchemaI _schema)
public PaintGroovyScript(java.lang.String _src,
SchemaI _schema,
int _codeOff)
public PaintGroovyScript(java.lang.String _src,
SchemaI _schema,
int _codeOff,
org.apache.log4j.Logger _log)
public PaintGroovyScript(java.lang.String _src,
SchemaI _schema,
int _codeOff,
org.apache.log4j.Logger _log,
BO _bo)
public PaintGroovyScript(java.lang.String _src,
SchemaI _schema,
int _codeOff,
org.apache.log4j.Logger _log,
BO _bo,
de.ipcon.swing.IScrollPane _canvas)
public PaintGroovyScript(java.lang.String _src,
SchemaI _schema,
int _codeOff,
org.apache.log4j.Logger _log,
BO _bo,
de.ipcon.swing.IScrollPane _canvas,
ClientContextI _ctx)
public PaintGroovyScript(java.lang.String _src,
SchemaI _schema,
int _codeOff,
org.apache.log4j.Logger _log,
BO _bo,
de.ipcon.swing.IScrollPane _canvas,
ClientContextI _ctx,
FormContextI _ftx)
public PaintGroovyScript(java.lang.String _src,
SchemaI _schema,
int _codeOff,
org.apache.log4j.Logger _log,
BO _bo,
de.ipcon.swing.IScrollPane _canvas,
ClientContextI _ctx,
FormContextI _ftx,
FormElementI _fe)
public PaintGroovyScript(BenanntPath _bp, BOLoaderI _bol, SchemaI _schema)
public PaintGroovyScript(BenanntPath _bp, BOLoaderI _bol, SchemaI _schema, int _codeOff)
public PaintGroovyScript(BenanntPath _bp, BOLoaderI _bol, SchemaI _schema, int _codeOff, org.apache.log4j.Logger _log)
public PaintGroovyScript(BenanntPath _bp, BOLoaderI _bol, SchemaI _schema, int _codeOff, org.apache.log4j.Logger _log, BO _bo)
public PaintGroovyScript(BenanntPath _bp, BOLoaderI _bol, SchemaI _schema, int _codeOff, org.apache.log4j.Logger _log, BO _bo, de.ipcon.swing.IScrollPane _canvas)
public PaintGroovyScript(BenanntPath _bp, BOLoaderI _bol, SchemaI _schema, int _codeOff, org.apache.log4j.Logger _log, BO _bo, de.ipcon.swing.IScrollPane _canvas, ClientContextI _ctx)
public PaintGroovyScript(BenanntPath _bp, BOLoaderI _bol, SchemaI _schema, int _codeOff, org.apache.log4j.Logger _log, BO _bo, de.ipcon.swing.IScrollPane _canvas, ClientContextI _ctx, FormContextI _ftx)
public PaintGroovyScript(BenanntPath _bp, BOLoaderI _bol, SchemaI _schema, int _codeOff, org.apache.log4j.Logger _log, BO _bo, de.ipcon.swing.IScrollPane _canvas, ClientContextI _ctx, FormContextI _ftx, FormElementI _fe)
public static PaintGroovyScript getInstance(BenanntPath _bp, BOLoaderI _bol, SchemaI _schema) throws net.sf.jasperreports.engine.JRException
net.sf.jasperreports.engine.JRExceptionpublic static PaintGroovyScript getInstance(BenanntPath _bp, BOLoaderI _bol, SchemaI _schema, int _codeOff) throws net.sf.jasperreports.engine.JRException
net.sf.jasperreports.engine.JRExceptionpublic static PaintGroovyScript getInstance(BenanntPath _bp, BOLoaderI _bol, SchemaI _schema, int _codeOff, org.apache.log4j.Logger _log) throws net.sf.jasperreports.engine.JRException
net.sf.jasperreports.engine.JRExceptionpublic static PaintGroovyScript getInstance(BenanntPath _bp, BOLoaderI _bol, SchemaI _schema, int _codeOff, org.apache.log4j.Logger _log, BO _bo) throws net.sf.jasperreports.engine.JRException
net.sf.jasperreports.engine.JRExceptionpublic static PaintGroovyScript getInstance(BenanntPath _bp, BOLoaderI _bol, SchemaI _schema, int _codeOff, org.apache.log4j.Logger _log, BO _bo, de.ipcon.swing.IScrollPane _canvas) throws net.sf.jasperreports.engine.JRException
net.sf.jasperreports.engine.JRExceptionpublic static PaintGroovyScript getInstance(BenanntPath _bp, BOLoaderI _bol, SchemaI _schema, int _codeOff, org.apache.log4j.Logger _log, BO _bo, de.ipcon.swing.IScrollPane _canvas, ClientContextI _ctx) throws net.sf.jasperreports.engine.JRException
net.sf.jasperreports.engine.JRExceptionpublic static PaintGroovyScript getInstance(BenanntPath _bp, BOLoaderI _bol, SchemaI _schema, int _codeOff, org.apache.log4j.Logger _log, BO _bo, de.ipcon.swing.IScrollPane _canvas, ClientContextI _ctx, FormContextI _ftx) throws net.sf.jasperreports.engine.JRException
net.sf.jasperreports.engine.JRExceptionpublic static PaintGroovyScript getInstance(BenanntPath _bp, BOLoaderI _bol, SchemaI _schema, int _codeOff, org.apache.log4j.Logger _log, BO _bo, de.ipcon.swing.IScrollPane _canvas, ClientContextI _ctx, FormContextI _ftx, FormElementI _fe) throws net.sf.jasperreports.engine.JRException
net.sf.jasperreports.engine.JRExceptionpublic static java.util.List getDefaultImports(SchemaI _schema)
public static java.util.Map getContext()
public static java.util.Map getContext(org.apache.log4j.Logger _log)
public static java.util.Map getContext(org.apache.log4j.Logger _log,
BO _bo)
public static java.util.Map getContext(org.apache.log4j.Logger _log,
BO _bo,
de.ipcon.swing.IScrollPane _canvas)
public static java.util.Map getContext(org.apache.log4j.Logger _log,
BO _bo,
de.ipcon.swing.IScrollPane _canvas,
ClientContextI _ctx)
public static java.util.Map getContext(org.apache.log4j.Logger _log,
BO _bo,
de.ipcon.swing.IScrollPane _canvas,
ClientContextI _ctx,
FormContextI _ftx)
public static java.util.Map getContext(org.apache.log4j.Logger _log,
BO _bo,
de.ipcon.swing.IScrollPane _canvas,
ClientContextI _ctx,
FormContextI _ftx,
FormElementI _fe)
public static java.lang.String loadCode(BenanntPath _bp, BOLoaderI _bol, ClientContextI _ctx)
public int[] layout(java.awt.Graphics2D _gfx,
int _width,
int _height)
_gfx - the Graphics2D in which drawing should occur._width - the width of the "bounding box" of the drawing area._height - the height of the "bounding box" of the drawing area._arr - AsyncRefreshRequestI used for asynchronous refreshing handling
in the GUI, can be null.public int[] layout(java.awt.Graphics2D _gfx,
int _width,
int _height,
AsyncRefreshRequestI _arr)
public void drawBackground(java.awt.Graphics2D _gfx,
int _width,
int _height)
_gfx - the Graphics2D in which drawing should occur._width - the width of the actual canvas area, as determined by layout()._height - the height of the actual canvas area, as determined by layout()._arr - AsyncRefreshRequestI used for asynchronous refreshing handling
in the GUI, can be null.public void drawBackground(java.awt.Graphics2D _gfx,
int _width,
int _height,
AsyncRefreshRequestI _arr)
public void drawForeground(java.awt.Graphics2D _gfx,
int _width,
int _height)
_gfx - the Graphics2D in which drawing should occur._width - the width of the actual canvas area, as determined by layout()._height - the height of the actual canvas area, as determined by layout()._arr - AsyncRefreshRequestI used for asynchronous refreshing handling
in the GUI, can be null.public void drawForeground(java.awt.Graphics2D _gfx,
int _width,
int _height,
AsyncRefreshRequestI _arr)
public java.lang.Object invokeNamedClosure(java.lang.String name,
java.lang.Object[] args)
public static int getNamedIntFromMap(java.util.Map m,
java.lang.String key,
int $default)
public java.lang.String getId()
getId in interface net.sf.jasperreports.engine.JRRenderablepublic byte getType()
getType in interface net.sf.jasperreports.engine.JRRenderablepublic byte getImageType()
getImageType in interface net.sf.jasperreports.engine.JRRenderablepublic java.awt.geom.Dimension2D getDimension()
getDimension in interface net.sf.jasperreports.engine.JRRenderablepublic byte[] getImageData()
throws net.sf.jasperreports.engine.JRException
getImageData in interface net.sf.jasperreports.engine.JRRenderablenet.sf.jasperreports.engine.JRExceptionpublic void render(java.awt.Graphics2D _gfx,
java.awt.geom.Rectangle2D _rectangle)
render in interface net.sf.jasperreports.engine.JRRenderableCopyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.