O'Reilly logo

Integrating and Extending BIRT by Iana Chatalbasheva, Tom Bondur, Jason Weathersby

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 9. Using Java to Write an Event Handler

Creating a Java event handler is more complex than creating a JavaScript event handler. You cannot type Java code directly in BIRT Report Designer.

To create a Java event handler class, compile the source for the Java class and make the class visible to BIRT. Creating a Java event handler for BIRT is simplified, however, by the fact that Eclipse is a robust Java development environment and supports integrating a Java project with a BIRT project.

Writing a Java event handler class

To provide one or more Java event handlers for a scriptable BIRT element, create one class that contains all the Java event handlers for that element. Creating a class that contains event handler methods for more than one ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required