Class JSIColor


  • @JsType(namespace="<global>",
            name="JsInterop__ConstructorAPI__DC__org__kie__workbench__common__dmn__webapp__kogito__marshaller__js__model__dc__JSIColor",
            isNative=true)
    public class JSIColor
    extends Object
    JSInterop adapter for Color
    • Constructor Detail

      • JSIColor

        public JSIColor()
    • 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
      • getRed

        @JsProperty(name="red")
        public int getRed()
        Native getter for red
        Returns:
        The red JSON property
      • setRed

        @JsProperty(name="red")
        public final void setRed​(int redParam)
        Setter for red
        Parameters:
        redParam - red to set.
      • getGreen

        @JsProperty(name="green")
        public int getGreen()
        Native getter for green
        Returns:
        The green JSON property
      • setGreen

        @JsProperty(name="green")
        public final void setGreen​(int greenParam)
        Setter for green
        Parameters:
        greenParam - green to set.
      • getBlue

        @JsProperty(name="blue")
        public int getBlue()
        Native getter for blue
        Returns:
        The blue JSON property
      • setBlue

        @JsProperty(name="blue")
        public final void setBlue​(int blueParam)
        Setter for blue
        Parameters:
        blueParam - blue to set.