# Package com.codename1.plugin

package com.codename1.plugin

Plugin SPI for extending core framework behaviour without subclassing.

A `Plugin` is an `ActionListener<PluginEvent>` registered through `PluginSupport`; core code fires typed `PluginEvent` instances (see `com.codename1.plugin.event`) at well-defined extension points and the first plugin to consume the event takes over the default behaviour -- for example, swapping the built-in image picker for a custom gallery.

- Related Packages
  Package
  Description
  com.codename1.plugin.event
  Typed events dispatched to plugins.
- Class
  Description
  Plugin
  Interface that must be implemented by Codename One plugins.
  PluginSupport
  Support class for implementing plugins in codename one.