Class 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 Object
    JSInterop adapter for Dimension
    • Constructor Detail

      • JSIDimension

        public JSIDimension()
    • Method Detail

      • instanceOf

        @JsOverlay
        public static boolean instanceOf​(Object instance)
      • getJSIName

        @JsOverlay
        public static JSIName getJSIName()
        Getter for specific JSIName
        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.