Class JSIDMNDiagram


  • @JsType(namespace="<global>",
            name="JsInterop__ConstructorAPI__DMNDI12__org__kie__workbench__common__dmn__webapp__kogito__marshaller__js__model__dmndi12__JSIDMNDiagram",
            isNative=true)
    public class JSIDMNDiagram
    extends JSIDiagram
    JSInterop adapter for DMNDiagram
    • Constructor Detail

      • JSIDMNDiagram

        public JSIDMNDiagram()
    • 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
        Overrides:
        getTYPE_NAME in class JSIDiagram
        Returns:
        The TYPE_NAME JSON property
      • getSize

        @JsProperty(name="size")
        public JSIDimension getSize()
        Native getter for size
        Returns:
        The size JSON property
      • setSize

        @JsProperty(name="size")
        public final void setSize​(JSIDimension sizeParam)
        Setter for size
        Parameters:
        sizeParam - size to set.
      • getDMNDiagramElement

        @JsOverlay
        public final List<JSIDiagramElement> getDMNDiagramElement()
        READ-ONLY getter for dmnDiagramElement as a List
        Returns:
        The dmnDiagramElement mapped as a List
      • addDMNDiagramElement

        @JsOverlay
        public final <D extends JSIDiagramElement> void addDMNDiagramElement​(D element)
        Appends the specified element to the end of dmnDiagramElement
        Parameters:
        element - to be appended to dmnDiagramElement
      • addAllDMNDiagramElement

        @JsOverlay
        public final <D extends JSIDiagramElement> void addAllDMNDiagramElement​(D... elements)
        Iterates over the specified collection of elements, and adds each element returned by the iterator to the end of dmnDiagramElement
        Parameters:
        elements - to be appended to dmnDiagramElement
      • removeDMNDiagramElement

        @JsOverlay
        public final void removeDMNDiagramElement​(int index)
        Removes the element at the specified position in the dmnDiagramElement
        Parameters:
        index - of the element to be removed
      • getNativeDMNDiagramElement

        @JsProperty(name="dmnDiagramElement")
        public jsinterop.base.JsArrayLike<JSIDiagramElement> getNativeDMNDiagramElement()
        Native getter for dmnDiagramElement
        Returns:
        The dmnDiagramElement JSON property
      • setDMNDiagramElement

        @JsOverlay
        public final void setDMNDiagramElement​(List<JSIDiagramElement> dmnDiagramElementParam)
        Setter for dmnDiagramElement as a List
        Parameters:
        dmnDiagramElementParam - The dmnDiagramElement mapped as a List
      • setNativeDMNDiagramElement

        @JsProperty(name="dmnDiagramElement")
        public final void setNativeDMNDiagramElement​(jsinterop.base.JsArrayLike<JSIDiagramElement> dmnDiagramElementParam)
        Setter for dmnDiagramElement
        Parameters:
        dmnDiagramElementParam - dmnDiagramElement to set.