This tutorial shows you how to create new gadgets. Creating a new gadget class is very similar to creating a new graphic class (that is, a subclass of
IlvGraphic), but it requires more work. For example, a gadget must define its own behavior (through the
handleEvent method) and must define the way it will deal with keyboard focus.