com.google.gwt.maps.jsio.client
Class JSFunction

java.lang.Object
  extended by com.google.gwt.maps.jsio.client.JSFunction
Direct Known Subclasses:
EventImpl.BooleanCallback, EventImpl.BoundsIntCallback, EventImpl.CopyrightCallback, EventImpl.DoubleCallback, EventImpl.IntCallback, EventImpl.IntIntCallback, EventImpl.LatLngBoundsIntCallback, EventImpl.LatLngCallback, EventImpl.MapTypeCallback, EventImpl.OverlayCallback, EventImpl.OverlayLatLngCallback, EventImpl.PointElementOverlayCallback, EventImpl.StreetviewDataCallback, EventImpl.StreetviewLocationCallback, EventImpl.VoidCallback, GeocoderImpl.LocationsCallback

public abstract class JSFunction
extends java.lang.Object

This is an interface for use with JSWrapper to export a Java function into a JavaScript context. If the JSFunction contains multiple functions, the method to export must by specified with an Exported annotation on the method. Anonymous classes are supported.

The underlying JavaScript function object will have an identity corresponding to that of the JSFunction object, which makes it suitable for use with a register/unregister style of JavaScript API.


Constructor Summary
JSFunction()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSFunction

public JSFunction()