Class JSIEdge
- java.lang.Object
-
- org.kie.workbench.common.dmn.webapp.kogito.marshaller.js.model.di.JSIDiagramElement
-
- org.kie.workbench.common.dmn.webapp.kogito.marshaller.js.model.di.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 JSIDiagramElementJSInterop adapter forEdge
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.kie.workbench.common.dmn.webapp.kogito.marshaller.js.model.di.JSIDiagramElement
JSIDiagramElement.JSIExtension
-
-
Constructor Summary
Constructors Constructor Description JSIEdge()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <D extends JSIPoint>
voidaddAllWaypoint(D... elements)Iterates over the specified collection of elements, and adds each element returned by the iterator to the end of waypoint<D extends JSIPoint>
voidaddWaypoint(D element)Appends the specified element to the end of waypointstatic JSINamegetJSIName()Getter for specificJSINamejsinterop.base.JsArrayLike<JSIPoint>getNativeWaypoint()Native getter for waypointStringgetTYPE_NAME()Native getter for TYPE_NAMEList<JSIPoint>getWaypoint()READ-ONLY getter for waypoint as aListstatic booleaninstanceOf(Object instance)voidremoveWaypoint(int index)Removes the element at the specified position in the waypointvoidsetNativeWaypoint(jsinterop.base.JsArrayLike<JSIPoint> waypointParam)Setter for waypointvoidsetWaypoint(List<JSIPoint> waypointParam)Setter for waypoint as aList-
Methods inherited from class org.kie.workbench.common.dmn.webapp.kogito.marshaller.js.model.di.JSIDiagramElement
getExtension, getId, getOtherAttributes, getOtherAttributesMap, getSharedStyle, getStyle, setExtension, setId, setOtherAttributes, setSharedStyle, setStyle
-
-
-
-
Field Detail
-
TYPE
@JsOverlay public static final String TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
instanceOf
@JsOverlay public static boolean instanceOf(Object instance)
-
getJSIName
@JsOverlay public static JSIName getJSIName()
Getter for specificJSIName- Returns:
- Getter for specific
JSIName
-
getTYPE_NAME
@JsProperty(name="TYPE_NAME") public String getTYPE_NAME()
Native getter for TYPE_NAME- Overrides:
getTYPE_NAMEin classJSIDiagramElement- Returns:
- The TYPE_NAME JSON property
-
getWaypoint
@JsOverlay public final List<JSIPoint> getWaypoint()
READ-ONLY getter for waypoint as aList- 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 aList- Parameters:
waypointParam- The waypoint mapped as aList
-
setNativeWaypoint
@JsProperty(name="waypoint") public final void setNativeWaypoint(jsinterop.base.JsArrayLike<JSIPoint> waypointParam)
Setter for waypoint- Parameters:
waypointParam- waypoint to set.
-
-