# Package com.codename1.plugin.event

package com.codename1.plugin.event

Typed events dispatched to plugins.

`PluginEvent<T>` is the common base; concrete events such as `OpenGalleryEvent` and `IsGalleryTypeSupportedEvent` describe specific extension points and carry the data a plugin needs to handle (or decline) them.

- Related Packages
  Package
  Description
  com.codename1.plugin
  Plugin SPI for extending core framework behaviour without subclassing.
- Classes
  Class
  Description
  IsGalleryTypeSupportedEvent
  Plugin event fired when `Display#isGalleryTypeSupported(int)` method is called to give plugins an opportunity to answer this question.
  OpenGalleryEvent
  Event triggered when `int)` is called.
  PluginEvent<T>
  Parent class for all plugin events.