Exemplo n.º 1
0
// NativeJsProxy for vjo.dsf.utils.HexToDecimal.js
@org.eclipse.vjet.dsf.resource.utils.CodeGen("NativeJsProxyGenerator")
@AJsProxy
public class HexToDecimal extends NativeJsProxy {

  /** for framework use only */
  @AExclude
  public HexToDecimal(Scriptable nativeObj) {
    super(nativeObj);
  }

  /** internal use only */
  protected HexToDecimal(Object... args) {
    super(args);
  }

  public HexToDecimal() {
    super();
  }

  public static int hex2Dec(String source) {
    return callStaticWithName("vjo.dsf.utils.HexToDecimal", "hex2Dec", Integer.class, source);
  }

  @AJavaOnly
  public static final NativeJsTypeRef<HexToDecimal> prototype =
      NativeJsTypeRef.get(HexToDecimal.class);

  public static final INativeJsFuncProxy<NativeJsTypeRef<HexToDecimal>> hex2Dec =
      NativeJsFuncProxy.create(prototype, "hex2Dec");
}
Exemplo n.º 2
0
// NativeJsProxy for vjo.dsf.utils.Css.js
@org.eclipse.vjet.dsf.resource.utils.CodeGen("NativeJsProxyGenerator")
@AJsProxy
public class Css extends NativeJsProxy {

  /** for framework use only */
  @AExclude
  public Css(Scriptable nativeObj) {
    super(nativeObj);
  }

  /** internal use only */
  protected Css(Object... args) {
    super(args);
  }

  public Css() {
    super();
  }

  public static Object apply(String psElementId, String psCssText) {
    return callStaticWithName("vjo.dsf.utils.Css", "apply", Object.class, psElementId, psCssText);
  }

  public static Object createStyle(String psCssText) {
    return callStaticWithName("vjo.dsf.utils.Css", "createStyle", Object.class, psCssText);
  }

  @AJavaOnly public static final NativeJsTypeRef<Css> prototype = NativeJsTypeRef.get(Css.class);

  public static final INativeJsFuncProxy<NativeJsTypeRef<Css>> apply =
      NativeJsFuncProxy.create(prototype, "apply");

  public static final INativeJsFuncProxy<NativeJsTypeRef<Css>> createStyle =
      NativeJsFuncProxy.create(prototype, "createStyle");
}
Exemplo n.º 3
0
// NativeJsProxy for vjo.dsf.utils.URL.js
@org.eclipse.vjet.dsf.resource.utils.CodeGen("NativeJsProxyGenerator")
@AJsProxy
public class URL extends NativeJsProxy {

  /** for framework use only */
  @AExclude
  public URL(Scriptable nativeObj) {
    super(nativeObj);
  }

  /** internal use only */
  protected URL(Object... args) {
    super(args);
  }

  public URL() {
    super();
  }

  public static String addArg(String psUrl, String psArgName, String psArgValue) {
    return callStaticWithName(
        "vjo.dsf.utils.URL", "addArg", String.class, psUrl, psArgName, psArgValue);
  }

  public static String getArg(String psUrl, String psArgName) {
    return callStaticWithName("vjo.dsf.utils.URL", "getArg", String.class, psUrl, psArgName);
  }

  @AJavaOnly public static final NativeJsTypeRef<URL> prototype = NativeJsTypeRef.get(URL.class);

  public static final INativeJsFuncProxy<NativeJsTypeRef<URL>> addArg =
      NativeJsFuncProxy.create(prototype, "addArg");

  public static final INativeJsFuncProxy<NativeJsTypeRef<URL>> getArg =
      NativeJsFuncProxy.create(prototype, "getArg");
}