public abstract class AbstractPlugin extends Object implements Plugin
getId
which must implemented.onBefore*
cancelable methods return true
.Modifier | Constructor and Description |
---|---|
protected |
AbstractPlugin(String pluginId)
Creates the plugin sing the id passed as argument.
|
Modifier and Type | Method and Description |
---|---|
String |
getId()
Plugins must define a unique id in order to be configurable.
Returns the plugin id. |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
onAfterBuildTicks, onAfterDataLimits, onAfterDatasetDraw, onAfterDatasetsDraw, onAfterDatasetsUpdate, onAfterDatasetUpdate, onAfterDraw, onAfterEvent, onAfterInit, onAfterLayout, onAfterRender, onAfterTooltipDraw, onAfterUpdate, onBeforeBuildTicks, onBeforeDataLimits, onBeforeDatasetDraw, onBeforeDatasetsDraw, onBeforeDatasetsUpdate, onBeforeDatasetUpdate, onBeforeDraw, onBeforeElementsUpdate, onBeforeEvent, onBeforeInit, onBeforeLayout, onBeforeRender, onBeforeTooltipDraw, onBeforeUpdate, onBeginDrawing, onConfigure, onDestroy, onEndDrawing, onInstall, onReset, onResize, onStart, onStop, onUninstall
protected AbstractPlugin(String pluginId)
pluginId
- plugin id to usepublic final String getId()
Plugin