Class JSIDiagramElement

  • Direct Known Subclasses:
    JSIDiagram, JSIEdge, JSIShape

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

      • JSIDiagramElement

        public JSIDiagramElement()
    • 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
      • getExtension

        @JsProperty(name="extension")
        public JSIDiagramElement.JSIExtension getExtension()
        Native getter for extension
        Returns:
        The extension JSON property
      • setExtension

        @JsProperty(name="extension")
        public final void setExtension​(JSIDiagramElement.JSIExtension extensionParam)
        Setter for extension
        Parameters:
        extensionParam - extension to set.
      • getStyle

        @JsProperty(name="style")
        public JSIStyle getStyle()
        Native getter for style
        Returns:
        The style JSON property
      • setStyle

        @JsProperty(name="style")
        public final void setStyle​(JSIStyle styleParam)
        Setter for style
        Parameters:
        styleParam - style to set.
      • getSharedStyle

        @JsProperty(name="sharedStyle")
        public Object getSharedStyle()
        Native getter for sharedStyle
        Returns:
        The sharedStyle JSON property
      • setSharedStyle

        @JsProperty(name="sharedStyle")
        public final void setSharedStyle​(Object sharedStyleParam)
        Setter for sharedStyle
        Parameters:
        sharedStyleParam - sharedStyle to set.
      • getId

        @JsProperty(name="id")
        public String getId()
        Native getter for id
        Returns:
        The id JSON property
      • setId

        @JsProperty(name="id")
        public final void setId​(String idParam)
        Setter for id
        Parameters:
        idParam - id to set.
      • getOtherAttributes

        @JsProperty(name="otherAttributes")
        public Map<QName,​String> getOtherAttributes()
        Native getter for otherAttributes
        Returns:
        The otherAttributes JSON property
      • setOtherAttributes

        @JsProperty(name="otherAttributes")
        public final void setOtherAttributes​(Map<QName,​String> otherAttributesParam)
        Setter for otherAttributes
        Parameters:
        otherAttributesParam - otherAttributes to set.