本文整理汇总了Java中jsinterop.annotations.JsPackage.GLOBAL属性的典型用法代码示例。如果您正苦于以下问题:Java JsPackage.GLOBAL属性的具体用法?Java JsPackage.GLOBAL怎么用?Java JsPackage.GLOBAL使用的例子?那么, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在类jsinterop.annotations.JsPackage
的用法示例。
在下文中一共展示了JsPackage.GLOBAL属性的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: setTimeout
@JsMethod(namespace = JsPackage.GLOBAL)
private static native int setTimeout(TimerCallback callback, int time);
示例2: hello
@JsMethod(namespace = JsPackage.GLOBAL)
public native static Hello hello();
示例3: isInitialized
@JsProperty(namespace = JsPackage.GLOBAL, name = "Cesium")
public static native boolean isInitialized();
示例4: path
@JsProperty(namespace = JsPackage.GLOBAL, name = "CesiumPath")
public static native String path();
示例5: setTimeout
@JsMethod(name = "setTimeout", namespace = JsPackage.GLOBAL)
public static native void setTimeout(TimeoutListener listener, int milliseconds);
示例6:
@JsMethod(name = "$", namespace = JsPackage.GLOBAL)
public static native JsTableElement $(JQueryElement element);
示例7:
@JsMethod(namespace = JsPackage.GLOBAL)
public static native JQueryExtElement $(JQueryElement element);
示例8:
@JsMethod(name = "$", namespace = JsPackage.GLOBAL)
public static native JsMaterialElement $(JQueryElement element);
示例9: showGrid
@JsMethod(namespace = JsPackage.GLOBAL)
public static native void showGrid(Object selector);
示例10: moment
@JsMethod(namespace = JsPackage.GLOBAL)
public static native Moment moment();
示例11:
@JsMethod(name = "proj4", namespace = JsPackage.GLOBAL)
public static native Proj4 proj4(String firstProjection);
示例12: get
@JsProperty( namespace = JsPackage.GLOBAL, name = "document" )
public static native Document get();
示例13: get
@JsProperty( namespace = JsPackage.GLOBAL, name = "tardigrade" )
public static native Tardigrade get();
示例14: get
@JsProperty(namespace = JsPackage.GLOBAL, name = "window")
public static native Window get();
示例15:
/**
* Wraps the given element into a jQuery object
*
* @param element A DOM element to wrap in a jQuery object.
* @return jQuery object of the given element
*/
@JsMethod(namespace = JsPackage.GLOBAL, name = "$")
public static native JQuery $(HtmlElement element);