Class JSITComponentWidths
- java.lang.Object
-
- org.kie.workbench.common.dmn.webapp.kogito.marshaller.js.model.kie.JSITComponentWidths
-
@JsType(namespace="<global>", name="JsInterop__ConstructorAPI__KIE__org__kie__workbench__common__dmn__webapp__kogito__marshaller__js__model__kie__JSITComponentWidths", isNative=true) public class JSITComponentWidths extends ObjectJSInterop adapter forTComponentWidths
-
-
Constructor Summary
Constructors Constructor Description JSITComponentWidths()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAllWidth(float... elements)Iterates over the specified collection of elements, and adds each element returned by the iterator to the end of widthvoidaddWidth(float element)Appends the specified element to the end of widthStringgetDmnElementRef()Native getter for dmnElementRefstatic JSINamegetJSIName()Getter for specificJSINamefloat[]getNativeWidth()Native getter for widthStringgetTYPE_NAME()Native getter for TYPE_NAMEList<Float>getWidth()READ-ONLY getter for width as aListstatic booleaninstanceOf(Object instance)voidremoveWidth(int index)Removes the element at the specified position in the widthvoidsetDmnElementRef(String dmnElementRefParam)Setter for dmnElementRefvoidsetNativeWidth(float[] widthParam)Setter for widthvoidsetWidth(List<Float> widthParam)Setter for width as aList
-
-
-
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- Returns:
- The TYPE_NAME JSON property
-
getWidth
@JsOverlay public final List<Float> getWidth()
READ-ONLY getter for width as aList- Returns:
- The width mapped as a
List
-
addWidth
@JsOverlay public final void addWidth(float element)
Appends the specified element to the end of width- Parameters:
element- to be appended to width
-
addAllWidth
@JsOverlay public final void addAllWidth(float... elements)
Iterates over the specified collection of elements, and adds each element returned by the iterator to the end of width- Parameters:
elements- to be appended to width
-
removeWidth
@JsOverlay public final void removeWidth(int index)
Removes the element at the specified position in the width- Parameters:
index- of the element to be removed
-
getNativeWidth
@JsProperty(name="width") public float[] getNativeWidth()
Native getter for width- Returns:
- The width JSON property
-
setWidth
@JsOverlay public final void setWidth(List<Float> widthParam)
Setter for width as aList- Parameters:
widthParam- The width mapped as aList
-
setNativeWidth
@JsProperty(name="width") public final void setNativeWidth(float[] widthParam)
Setter for width- Parameters:
widthParam- width to set.
-
getDmnElementRef
@JsProperty(name="dmnElementRef") public String getDmnElementRef()
Native getter for dmnElementRef- Returns:
- The dmnElementRef JSON property
-
setDmnElementRef
@JsProperty(name="dmnElementRef") public final void setDmnElementRef(String dmnElementRefParam)
Setter for dmnElementRef- Parameters:
dmnElementRefParam- dmnElementRef to set.
-
-