Class JSIDMNDiagram
- 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.JSIDiagram
-
- org.kie.workbench.common.dmn.webapp.kogito.marshaller.js.model.dmndi12.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 JSIDiagramJSInterop adapter forDMNDiagram
-
-
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 JSIDMNDiagram()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <D extends JSIDiagramElement>
voidaddAllDMNDiagramElement(D... elements)Iterates over the specified collection of elements, and adds each element returned by the iterator to the end of dmnDiagramElement<D extends JSIDiagramElement>
voidaddDMNDiagramElement(D element)Appends the specified element to the end of dmnDiagramElementList<JSIDiagramElement>getDMNDiagramElement()READ-ONLY getter for dmnDiagramElement as aListstatic JSINamegetJSIName()Getter for specificJSINamejsinterop.base.JsArrayLike<JSIDiagramElement>getNativeDMNDiagramElement()Native getter for dmnDiagramElementJSIDimensiongetSize()Native getter for sizeStringgetTYPE_NAME()Native getter for TYPE_NAMEstatic booleaninstanceOf(Object instance)voidremoveDMNDiagramElement(int index)Removes the element at the specified position in the dmnDiagramElementvoidsetDMNDiagramElement(List<JSIDiagramElement> dmnDiagramElementParam)Setter for dmnDiagramElement as aListvoidsetNativeDMNDiagramElement(jsinterop.base.JsArrayLike<JSIDiagramElement> dmnDiagramElementParam)Setter for dmnDiagramElementvoidsetSize(JSIDimension sizeParam)Setter for size-
Methods inherited from class org.kie.workbench.common.dmn.webapp.kogito.marshaller.js.model.di.JSIDiagram
getDocumentation, getName, getResolution, setDocumentation, setName, setResolution
-
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 classJSIDiagram- 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 aList- 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 aList- Parameters:
dmnDiagramElementParam- The dmnDiagramElement mapped as aList
-
setNativeDMNDiagramElement
@JsProperty(name="dmnDiagramElement") public final void setNativeDMNDiagramElement(jsinterop.base.JsArrayLike<JSIDiagramElement> dmnDiagramElementParam)
Setter for dmnDiagramElement- Parameters:
dmnDiagramElementParam- dmnDiagramElement to set.
-
-