本文整理汇总了Java中jsinterop.annotations.JsOverlay类的典型用法代码示例。如果您正苦于以下问题:Java JsOverlay类的具体用法?Java JsOverlay怎么用?Java JsOverlay使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
JsOverlay类属于jsinterop.annotations包,在下文中一共展示了JsOverlay类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: asClass
import jsinterop.annotations.JsOverlay; //导入依赖的package包/类
/** Returns this constructor as a Class instance. */
@JsOverlay
default Class<T> asClass() {
Class<T> clazz = InternalJsUtil.toClass(this);
checkType(clazz != null);
return clazz;
}
示例2: of
import jsinterop.annotations.JsOverlay; //导入依赖的package包/类
/** Returns an object literal as {@code JsPropertyMap} that has provided key-value pairs. */
@JsOverlay
static JsPropertyMap<Object> of(
String k1, @DoNotAutobox Object v1, String k2, @DoNotAutobox Object v2) {
JsPropertyMap<Object> map = of();
map.set(k1, v1);
map.set(k2, v2);
return map;
}
示例3: getPath
import jsinterop.annotations.JsOverlay; //导入依赖的package包/类
@JsOverlay
public final String getPath()
{
return path;
}
示例4: consumeIObjectAndIArrayLike
import jsinterop.annotations.JsOverlay; //导入依赖的package包/类
@JsOverlay
public final void consumeIObjectAndIArrayLike(
JsPropertyMap<String> object, String[] arrayLike, String[][] doubleArrayLike) {
consumeIObjectAndIArrayLike(
object,
Js.<JsArrayLike<String>>uncheckedCast(arrayLike),
Js.<JsArrayLike<JsArrayLike<String>>>uncheckedCast(doubleArrayLike));
}
示例5: getLength
import jsinterop.annotations.JsOverlay; //导入依赖的package包/类
@JsOverlay
default int getLength() {
return InternalJsUtil.getLength(this);
}
示例6: onTouchCancel
import jsinterop.annotations.JsOverlay; //导入依赖的package包/类
@JsOverlay
public final FormProps onTouchCancel( @Nullable final TouchEventHandler handler )
{
setOnTouchCancel( handler );
return self();
}
示例7: getAt
import jsinterop.annotations.JsOverlay; //导入依赖的package包/类
@JsOverlay
@SuppressWarnings("unchecked")
default T getAt(int index) {
return (T) InternalJsUtil.getAt(this, index);
}
示例8: onDragExit
import jsinterop.annotations.JsOverlay; //导入依赖的package包/类
@JsOverlay
public final ImgProps onDragExit( @Nullable final DragEventHandler handler )
{
setOnDragExit( handler );
return self();
}
示例9: asChild
import jsinterop.annotations.JsOverlay; //导入依赖的package包/类
@JsOverlay
default Child asChild() {
return Js.cast(this);
}
示例10: formTarget
import jsinterop.annotations.JsOverlay; //导入依赖的package包/类
@JsOverlay
public final BtnProps formTarget( String s )
{
setFormTarget( s );
return self();
}
示例11: headers
import jsinterop.annotations.JsOverlay; //导入依赖的package包/类
@JsOverlay
public final TdProps headers( String s )
{
setHeaders( s );
return self();
}
示例12: form
import jsinterop.annotations.JsOverlay; //导入依赖的package包/类
@JsOverlay
public final TextAreaProps form( String s )
{
setForm( s );
return self();
}
示例13: of
import jsinterop.annotations.JsOverlay; //导入依赖的package包/类
@JsOverlay
static Bar.BarMethod5FooCallbackFn.P2UnionType of(Object o) {
return Js.cast(o);
}
示例14: onMouseUp
import jsinterop.annotations.JsOverlay; //导入依赖的package包/类
@JsOverlay
public final HtmlProps onMouseUp( @Nullable final MouseEventHandler handler )
{
setOnMouseUp( handler );
return self();
}
示例15: onDoubleClick
import jsinterop.annotations.JsOverlay; //导入依赖的package包/类
@JsOverlay
public final FormProps onDoubleClick( @Nullable final MouseEventHandler handler )
{
setOnDoubleClick( handler );
return self();
}