# Package `com.install4j.api.events`

This package contains classes that allow you to listen for events generated by the installer.

See the [API overview](../../api.md) for general remarks on
how to use the install4j API.

All messages that are written to the installer log are also fired as events. Events include
performing actions, displaying screens, installing files as well as application life-cycle events of the
installer or uninstaller.

You can register [`InstallerEventListener`](InstallerEventListener.md) objects in the context (base class
[`Context`](../context/Context.md)).

## Types

| Type | Kind | Description |
|---|---|---|
| [EventType](EventType.md) | enum | Enumeration class that represents all different event types for instances of [`InstallerEvent`](InstallerEvent.md). |
| [InstallerActionEvent](InstallerActionEvent.md) | class | The event object that is passed to installer event listeners after an action has been executed. |
| [InstallerDirectoryEvent](InstallerDirectoryEvent.md) | class | The event object that is passed to installer event listeners for the directory creation event. |
| [InstallerDownloadEvent](InstallerDownloadEvent.md) | class | The event object that is passed to installer event listeners for download events types. |
| [InstallerDownloadEvent.DownloadProgressListener](InstallerDownloadEvent.DownloadProgressListener.md) | interface | A listener that is informed about the progress of a download. |
| [InstallerEvent](InstallerEvent.md) | class | The event object that is passed to installer event listeners. |
| [InstallerEventListener](InstallerEventListener.md) | interface | The interface that must be implemented by classes who are interested in installer events. |
| [InstallerFileEvent](InstallerFileEvent.md) | class | The event object that is passed to installer event listeners for single file installation events types. |
| [InstallerFileInstallationEvent](InstallerFileInstallationEvent.md) | class | The event object that is passed to installer event listeners when the file installation is started. |
| [InstallerVariableEvent](InstallerVariableEvent.md) | class | The event object that is passed to installer event listeners for the variable change event type. |

