Package net.sf.jguiraffe.gui.builder.event

The main package for events and event listeners definitions.

The JGUIraffe library provides generic event types independent of specific GUI toolkits. The following generic event types (and corresponding listeners) are supported:

  • Action events: Events of this type are triggered, e.g. by command buttons or menu items. They indicate that the user has issued a command.
  • Focus events are triggered when a control gains or loses the keyboard focus.
  • Change events are a generic mechanism for indicating that a control was somehow changed. This could mean, for instance, that a selection in a list or a tree control was changed or that the user has entered text into a text field.
  • Window events: They are related to windows, e.g. opening a window, closing a window, or activating it.
For each event type a corresponding listener interface exists. The methods provided by these interfaces are similar to those supported by typical GUI toolkits.

In addition to the event classes and event listener interfaces this package contains the FormEventManager class, which is the central component for registering event listeners at GUI components. It provides methods for adding listeners of all types either globally or at specific controls. Alternatively special tags in builder scripts can be used for registering event listeners.

$Id: package.html 205 2012-01-29 18:29:57Z oheger $