Class TextAnnotation
- java.lang.Object
-
- org.kie.workbench.common.dmn.api.definition.model.DMNModelInstrumentedBase
-
- org.kie.workbench.common.dmn.api.definition.model.DMNElement
-
- org.kie.workbench.common.dmn.api.definition.model.Artifact
-
- org.kie.workbench.common.dmn.api.definition.model.TextAnnotation
-
- All Implemented Interfaces:
DMNDefinition,DMNViewDefinition<GeneralRectangleDimensionsSet>,HasText,HasValue<Text>,org.kie.workbench.common.forms.adf.definitions.DynamicReadOnly,org.kie.workbench.common.stunner.core.graph.content.HasContentDefinitionId
@Portable public class TextAnnotation extends Artifact implements DMNViewDefinition<GeneralRectangleDimensionsSet>, HasText, org.kie.workbench.common.stunner.core.graph.content.HasContentDefinitionId, org.kie.workbench.common.forms.adf.definitions.DynamicReadOnly
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.kie.workbench.common.dmn.api.definition.model.DMNElement
DMNElement.ExtensionElements
-
Nested classes/interfaces inherited from class org.kie.workbench.common.dmn.api.definition.model.DMNModelInstrumentedBase
DMNModelInstrumentedBase.BaseNodeBuilder<T extends DMNModelInstrumentedBase>, DMNModelInstrumentedBase.Namespace
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanallowOnlyVisualChangeprotected BackgroundSetbackgroundSetprotected GeneralRectangleDimensionsSetdimensionsSetprotected FontSetfontSetprotected Texttextprotected TextFormattextFormat-
Fields inherited from class org.kie.workbench.common.dmn.api.definition.model.DMNElement
description, id
-
-
Constructor Summary
Constructors Constructor Description TextAnnotation()TextAnnotation(Id id, Description description, Text text, TextFormat textFormat, BackgroundSet backgroundSet, FontSet fontSet, GeneralRectangleDimensionsSet dimensionsSet)
-
Method Summary
-
Methods inherited from class org.kie.workbench.common.dmn.api.definition.model.DMNElement
getDescription, getExtensionElements, getId, setDescription, setExtensionElements, setId
-
Methods inherited from class org.kie.workbench.common.dmn.api.definition.model.DMNModelInstrumentedBase
getAdditionalAttributes, getDefaultNamespace, getNsContext, getParent, getPrefixForNamespaceURI, setAdditionalAttributes, setParent
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.kie.workbench.common.dmn.api.definition.DMNDefinition
getNsContext
-
-
-
-
Field Detail
-
allowOnlyVisualChange
protected boolean allowOnlyVisualChange
-
text
protected Text text
-
textFormat
protected TextFormat textFormat
-
backgroundSet
protected BackgroundSet backgroundSet
-
fontSet
protected FontSet fontSet
-
dimensionsSet
protected GeneralRectangleDimensionsSet dimensionsSet
-
-
Constructor Detail
-
TextAnnotation
public TextAnnotation()
-
TextAnnotation
public TextAnnotation(Id id, Description description, Text text, TextFormat textFormat, BackgroundSet backgroundSet, FontSet fontSet, GeneralRectangleDimensionsSet dimensionsSet)
-
-
Method Detail
-
getStunnerCategory
public String getStunnerCategory()
-
getBackgroundSet
public BackgroundSet getBackgroundSet()
- Specified by:
getBackgroundSetin interfaceDMNViewDefinition<GeneralRectangleDimensionsSet>
-
setBackgroundSet
public void setBackgroundSet(BackgroundSet backgroundSet)
-
getFontSet
public FontSet getFontSet()
- Specified by:
getFontSetin interfaceDMNViewDefinition<GeneralRectangleDimensionsSet>
-
setFontSet
public void setFontSet(FontSet fontSet)
-
getDimensionsSet
public GeneralRectangleDimensionsSet getDimensionsSet()
- Specified by:
getDimensionsSetin interfaceDMNViewDefinition<GeneralRectangleDimensionsSet>
-
setDimensionsSet
public void setDimensionsSet(GeneralRectangleDimensionsSet dimensionsSet)
-
getText
public Text getText()
Description copied from interface:HasTextReturns theTextConvenience method replicatingHasValue.getValue()to honour DMN model semantics.
-
setText
public void setText(Text text)
Description copied from interface:HasTextSets theTextConvenience method replicatingHasValue.setValue(Object)to honour DMN model semantics.
-
getTextFormat
public TextFormat getTextFormat()
-
setTextFormat
public void setTextFormat(TextFormat textFormat)
-
getContentDefinitionId
public String getContentDefinitionId()
- Specified by:
getContentDefinitionIdin interfaceorg.kie.workbench.common.stunner.core.graph.content.HasContentDefinitionId
-
getDiagramId
public String getDiagramId()
- Specified by:
getDiagramIdin interfaceorg.kie.workbench.common.stunner.core.graph.content.HasContentDefinitionId
-
setContentDefinitionId
public void setContentDefinitionId(String contentDefinitionId)
- Specified by:
setContentDefinitionIdin interfaceorg.kie.workbench.common.stunner.core.graph.content.HasContentDefinitionId
-
setDiagramId
public void setDiagramId(String dmnDiagramId)
- Specified by:
setDiagramIdin interfaceorg.kie.workbench.common.stunner.core.graph.content.HasContentDefinitionId
-
setAllowOnlyVisualChange
public void setAllowOnlyVisualChange(boolean allowOnlyVisualChange)
- Specified by:
setAllowOnlyVisualChangein interfaceorg.kie.workbench.common.forms.adf.definitions.DynamicReadOnly
-
isAllowOnlyVisualChange
public boolean isAllowOnlyVisualChange()
- Specified by:
isAllowOnlyVisualChangein interfaceorg.kie.workbench.common.forms.adf.definitions.DynamicReadOnly
-
getReadOnly
public org.kie.workbench.common.forms.adf.definitions.DynamicReadOnly.ReadOnly getReadOnly(String fieldName)
- Specified by:
getReadOnlyin interfaceorg.kie.workbench.common.forms.adf.definitions.DynamicReadOnly
-
isReadonlyField
protected boolean isReadonlyField(String fieldName)
-
-