Class JSIEdge

  • Direct Known Subclasses:
    JSIDMNDecisionServiceDividerLine, JSIDMNEdge

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

      • JSIEdge

        public JSIEdge()
    • 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 JSIDiagramElement
        Returns:
        The TYPE_NAME JSON property
      • getWaypoint

        @JsOverlay
        public final List<JSIPoint> getWaypoint()
        READ-ONLY getter for waypoint as a List
        Returns:
        The waypoint mapped as a List
      • addWaypoint

        @JsOverlay
        public final <D extends JSIPoint> void addWaypoint​(D element)
        Appends the specified element to the end of waypoint
        Parameters:
        element - to be appended to waypoint
      • addAllWaypoint

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

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

        @JsProperty(name="waypoint")
        public jsinterop.base.JsArrayLike<JSIPoint> getNativeWaypoint()
        Native getter for waypoint
        Returns:
        The waypoint JSON property
      • setWaypoint

        @JsOverlay
        public final void setWaypoint​(List<JSIPoint> waypointParam)
        Setter for waypoint as a List
        Parameters:
        waypointParam - The waypoint mapped as a List
      • setNativeWaypoint

        @JsProperty(name="waypoint")
        public final void setNativeWaypoint​(jsinterop.base.JsArrayLike<JSIPoint> waypointParam)
        Setter for waypoint
        Parameters:
        waypointParam - waypoint to set.