Is there a way to extend a @JsType interface such that the new Java object has new properties and methods? I know that it is planned in future but is there also a posibility of doing it right now?
@JsType(prototype = "$wnd.Kinetic.Node")
public interface Node {
public static abstract class Statics {
public static native Node create() /*-{
return new $wnd.Kinetic.Node();
}-*/;
public static native void isLocked(Node node, boolean value) /*-{
node.isLocked = value;
}-*/;
public static native boolean isLocked(Node node) /*-{
return !!node.isLocked;
}-*/;
}