Annotation Interface ScriptCallable
Used to mark public methods on a
ComponentModelDelegate
that should be accessible to users in the script
system. For example, if you had a method like:
@ScriptCallable public void refresh() { super.fireEvent("refresh-me", new JsonObject()); }Then the user could write a script that invoked your refresh() method on script references to your component.