@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
Edge
JSIDiagramElement.JSIExtension
Constructor and Description |
---|
JSIEdge() |
Modifier and Type | Method and Description |
---|---|
<D extends JSIPoint> |
addAllWaypoint(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> |
addWaypoint(D element)
Appends the specified element to the end of waypoint
|
static JSIName |
getJSIName()
Getter for specific
JSIName |
jsinterop.base.JsArrayLike<JSIPoint> |
getNativeWaypoint()
Native getter for waypoint
|
String |
getTYPE_NAME()
Native getter for TYPE_NAME
|
List<JSIPoint> |
getWaypoint()
READ-ONLY getter for waypoint as a
List |
static boolean |
instanceOf(Object instance) |
void |
removeWaypoint(int index)
Removes the element at the specified position in the waypoint
|
void |
setNativeWaypoint(jsinterop.base.JsArrayLike<JSIPoint> waypointParam)
Setter for waypoint
|
void |
setWaypoint(List<JSIPoint> waypointParam)
Setter for waypoint as a
List |
getExtension, getId, getOtherAttributes, getOtherAttributesMap, getSharedStyle, getStyle, setExtension, setId, setOtherAttributes, setSharedStyle, setStyle
@JsOverlay public static final String TYPE
@JsOverlay public static boolean instanceOf(Object instance)
@JsOverlay public static JSIName getJSIName()
JSIName
JSIName
@JsProperty(name="TYPE_NAME") public String getTYPE_NAME()
getTYPE_NAME
in class JSIDiagramElement
@JsOverlay public final List<JSIPoint> getWaypoint()
List
List
@JsOverlay public final <D extends JSIPoint> void addWaypoint(D element)
element
- to be appended to waypoint@JsOverlay public final <D extends JSIPoint> void addAllWaypoint(D... elements)
elements
- to be appended to waypoint@JsOverlay public final void removeWaypoint(int index)
index
- of the element to be removed@JsProperty(name="waypoint") public jsinterop.base.JsArrayLike<JSIPoint> getNativeWaypoint()
@JsOverlay public final void setWaypoint(List<JSIPoint> waypointParam)
List
waypointParam
- The waypoint mapped as a List
@JsProperty(name="waypoint") public final void setNativeWaypoint(jsinterop.base.JsArrayLike<JSIPoint> waypointParam)
waypointParam
- waypoint to set.Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.