concept cell event in category itext
appears as: cell events, cell event, cell events

This is an excerpt from Manning's book iText in Action, Second Edition.
Note that setPadding() creates a behavior that is similar to what happens if you use the cellpadding attribute of a <table> tag in an HTML table. There is no equivalent of the cellspacing attribute, but in chapter 5 you’ll mimic that behavior using cell events.
All of this will be covered in this chapter, but let’s first continue with more table examples, and find out how to create table and cell events.