|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value=METHOD) @Documented public @interface JavaScriptMethod
Indicates that the method is exposed to client-side JavaScript proxies and is callable as a method from them.
This annotation is assumed to be implicit on every public methods that start with 'js', like 'jsFoo' or 'jsBar', but you can use this annotation on those methods to assign different names.
Optional Element Summary | |
---|---|
java.lang.String[] |
name
JavaScript method name assigned to this method. |
public abstract java.lang.String[] name
If unspecified, defaults to the method name.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |