Interface BeforeEventHook
-
public interface BeforeEventHookCalled before processing the specified 'event'.
If any plugin returnsfalse, the event will be discarded.- Author:
- Andrea "Stock" Stocchero
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanonBeforeEvent(IsChart chart, PluginEventArgument argument)Called before processing the specified 'event'.
If any plugin returnsfalse, the event will be discarded.
-
-
-
Method Detail
-
onBeforeEvent
boolean onBeforeEvent(IsChart chart, PluginEventArgument argument)
Called before processing the specified 'event'.
If any plugin returnsfalse, the event will be discarded.- Parameters:
chart- the chart instance.argument- instance which contains event context- Returns:
falseto discard the event.
-
-