Class JSIDimension
- java.lang.Object
-
- org.kie.workbench.common.dmn.webapp.kogito.marshaller.js.model.dc.JSIDimension
-
@JsType(namespace="<global>", name="JsInterop__ConstructorAPI__DC__org__kie__workbench__common__dmn__webapp__kogito__marshaller__js__model__dc__JSIDimension", isNative=true) public class JSIDimension extends ObjectJSInterop adapter forDimension
-
-
Constructor Summary
Constructors Constructor Description JSIDimension()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetHeight()Native getter for heightstatic JSINamegetJSIName()Getter for specificJSINameStringgetTYPE_NAME()Native getter for TYPE_NAMEdoublegetWidth()Native getter for widthstatic booleaninstanceOf(Object instance)voidsetHeight(double heightParam)Setter for heightvoidsetWidth(double widthParam)Setter for width
-
-
-
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
-
getWidth
@JsProperty(name="width") public double getWidth()
Native getter for width- Returns:
- The width JSON property
-
setWidth
@JsProperty(name="width") public final void setWidth(double widthParam)
Setter for width- Parameters:
widthParam- width to set.
-
getHeight
@JsProperty(name="height") public double getHeight()
Native getter for height- Returns:
- The height JSON property
-
setHeight
@JsProperty(name="height") public final void setHeight(double heightParam)
Setter for height- Parameters:
heightParam- height to set.
-
-