@JsType(isNative=true, name="Object", namespace="<global>") public class JsDragRestrictions extends Object
Modifier and Type | Field and Description |
---|---|
JsDragElementRect |
elementRect |
boolean |
endOnly |
Object |
restriction |
Constructor and Description |
---|
JsDragRestrictions() |
Modifier and Type | Method and Description |
---|---|
static JsDragRestrictions |
create() |
static JsDragRestrictions |
create(boolean endOnly) |
static JsDragRestrictions |
create(JsDragElementRect elementRect) |
static JsDragRestrictions |
create(String restriction) |
static JsDragRestrictions |
create(String restriction,
boolean endOnly,
JsDragElementRect elementRect) |
@JsProperty public Object restriction
@JsProperty public boolean endOnly
@JsProperty public JsDragElementRect elementRect
public JsDragRestrictions()
@JsOverlay public static JsDragRestrictions create()
@JsOverlay public static JsDragRestrictions create(String restriction)
@JsOverlay public static JsDragRestrictions create(boolean endOnly)
@JsOverlay public static JsDragRestrictions create(JsDragElementRect elementRect)
@JsOverlay public static JsDragRestrictions create(String restriction, boolean endOnly, JsDragElementRect elementRect)
Copyright © 2018. All rights reserved.