Class JSIPoint
- java.lang.Object
-
- org.kie.workbench.common.dmn.webapp.kogito.marshaller.js.model.dc.JSIPoint
-
@JsType(namespace="<global>", name="JsInterop__ConstructorAPI__DC__org__kie__workbench__common__dmn__webapp__kogito__marshaller__js__model__dc__JSIPoint", isNative=true) public class JSIPoint extends ObjectJSInterop adapter forPoint
-
-
Constructor Summary
Constructors Constructor Description JSIPoint()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JSINamegetJSIName()Getter for specificJSINameStringgetTYPE_NAME()Native getter for TYPE_NAMEdoublegetX()Native getter for xdoublegetY()Native getter for ystatic booleaninstanceOf(Object instance)voidsetX(double xParam)Setter for xvoidsetY(double yParam)Setter for y
-
-
-
Field Detail
-
TYPE
@JsOverlay public static final String TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
instanceOf
@JsOverlay public static boolean instanceOf(Object instance)
-
getJSIName
@JsOverlay public static JSIName getJSIName()
Getter for specificJSIName- Returns:
- Getter for specific
JSIName
-
getTYPE_NAME
@JsProperty(name="TYPE_NAME") public String getTYPE_NAME()
Native getter for TYPE_NAME- Returns:
- The TYPE_NAME JSON property
-
getX
@JsProperty(name="x") public double getX()
Native getter for x- Returns:
- The x JSON property
-
setX
@JsProperty(name="x") public final void setX(double xParam)
Setter for x- Parameters:
xParam- x to set.
-
getY
@JsProperty(name="y") public double getY()
Native getter for y- Returns:
- The y JSON property
-
setY
@JsProperty(name="y") public final void setY(double yParam)
Setter for y- Parameters:
yParam- y to set.
-
-