O'Reilly logo

Integrating and Extending BIRT by Iana Chatalbasheva, Jane Tatchell, Tom Bondur, Don French, 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 10. Using Java to Write an Event Handler

Creating a Java event handler is slightly more complex than creating a JavaScript event handler because you cannot simply enter Java code directly in the BIRT report designer. To create a Java event handler class, you must compile the source for the Java class and make certain that the class is 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.

This chapter discusses the following topics:

  • Writing the event handler class

  • Making the event handler class visible to BIRT

  • Associating the event handler class with a report item

  • Understanding the classes and ...

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