Class JSIDiagramElement
- java.lang.Object
-
- org.kie.workbench.common.dmn.webapp.kogito.marshaller.js.model.di.JSIDiagramElement
-
- Direct Known Subclasses:
JSIDiagram,JSIEdge,JSIShape
@JsType(namespace="<global>", name="JsInterop__ConstructorAPI__DI__org__kie__workbench__common__dmn__webapp__kogito__marshaller__js__model__di__JSIDiagramElement", isNative=true) public class JSIDiagramElement extends ObjectJSInterop adapter forDiagramElement
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJSIDiagramElement.JSIExtensionJSInterop adapter forExtension
-
Constructor Summary
Constructors Constructor Description JSIDiagramElement()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description JSIDiagramElement.JSIExtensiongetExtension()Native getter for extensionStringgetId()Native getter for idstatic JSINamegetJSIName()Getter for specificJSINameMap<QName,String>getOtherAttributes()Native getter for otherAttributesstatic Map<QName,String>getOtherAttributesMap(JSIDiagramElement instance)ObjectgetSharedStyle()Native getter for sharedStyleJSIStylegetStyle()Native getter for styleStringgetTYPE_NAME()Native getter for TYPE_NAMEstatic booleaninstanceOf(Object instance)voidsetExtension(JSIDiagramElement.JSIExtension extensionParam)Setter for extensionvoidsetId(String idParam)Setter for idvoidsetOtherAttributes(Map<QName,String> otherAttributesParam)Setter for otherAttributesvoidsetSharedStyle(Object sharedStyleParam)Setter for sharedStylevoidsetStyle(JSIStyle styleParam)Setter for style
-
-
-
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
-
getExtension
@JsProperty(name="extension") public JSIDiagramElement.JSIExtension getExtension()
Native getter for extension- Returns:
- The extension JSON property
-
setExtension
@JsProperty(name="extension") public final void setExtension(JSIDiagramElement.JSIExtension extensionParam)
Setter for extension- Parameters:
extensionParam- extension to set.
-
getStyle
@JsProperty(name="style") public JSIStyle getStyle()
Native getter for style- Returns:
- The style JSON property
-
setStyle
@JsProperty(name="style") public final void setStyle(JSIStyle styleParam)
Setter for style- Parameters:
styleParam- style to set.
-
getSharedStyle
@JsProperty(name="sharedStyle") public Object getSharedStyle()
Native getter for sharedStyle- Returns:
- The sharedStyle JSON property
-
setSharedStyle
@JsProperty(name="sharedStyle") public final void setSharedStyle(Object sharedStyleParam)
Setter for sharedStyle- Parameters:
sharedStyleParam- sharedStyle to set.
-
getId
@JsProperty(name="id") public String getId()
Native getter for id- Returns:
- The id JSON property
-
setId
@JsProperty(name="id") public final void setId(String idParam)
Setter for id- Parameters:
idParam- id to set.
-
getOtherAttributes
@JsProperty(name="otherAttributes") public Map<QName,String> getOtherAttributes()
Native getter for otherAttributes- Returns:
- The otherAttributes JSON property
-
setOtherAttributes
@JsProperty(name="otherAttributes") public final void setOtherAttributes(Map<QName,String> otherAttributesParam)
Setter for otherAttributes- Parameters:
otherAttributesParam- otherAttributes to set.
-
getOtherAttributesMap
@JsOverlay public static Map<QName,String> getOtherAttributesMap(JSIDiagramElement instance)
-
-