@Portable public class TextAnnotation extends Artifact implements DMNViewDefinition<GeneralRectangleDimensionsSet>, DynamicReadOnly
DMNElement.ExtensionElements
DMNModelInstrumentedBase.BaseNodeBuilder<T extends DMNModelInstrumentedBase>, DMNModelInstrumentedBase.Namespace
DynamicReadOnly.ReadOnly
Modifier and Type | Field and Description |
---|---|
protected boolean |
allowOnlyVisualChange |
protected BackgroundSet |
backgroundSet |
protected GeneralRectangleDimensionsSet |
dimensionsSet |
protected FontSet |
fontSet |
protected Text |
text |
protected TextFormat |
textFormat |
description, id
Constructor and Description |
---|
TextAnnotation() |
TextAnnotation(Id id,
Description description,
Text text,
TextFormat textFormat,
BackgroundSet backgroundSet,
FontSet fontSet,
GeneralRectangleDimensionsSet dimensionsSet) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
BackgroundSet |
getBackgroundSet() |
GeneralRectangleDimensionsSet |
getDimensionsSet() |
FontSet |
getFontSet() |
DynamicReadOnly.ReadOnly |
getReadOnly(String fieldName) |
String |
getStunnerCategory() |
Set<String> |
getStunnerLabels() |
Text |
getText() |
TextFormat |
getTextFormat() |
int |
hashCode() |
boolean |
isAllowOnlyVisualChange() |
protected boolean |
isReadonlyField(String fieldName) |
void |
setAllowOnlyVisualChange(boolean allowOnlyVisualChange) |
void |
setBackgroundSet(BackgroundSet backgroundSet) |
void |
setDimensionsSet(GeneralRectangleDimensionsSet dimensionsSet) |
void |
setFontSet(FontSet fontSet) |
void |
setText(Text text) |
void |
setTextFormat(TextFormat textFormat) |
getDescription, getExtensionElements, getId, setDescription, setExtensionElements, setId
getAdditionalAttributes, getDefaultNamespace, getNsContext, getParent, getPrefixForNamespaceURI, setAdditionalAttributes, setParent
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getNsContext
protected boolean allowOnlyVisualChange
protected Text text
protected TextFormat textFormat
protected BackgroundSet backgroundSet
protected FontSet fontSet
protected GeneralRectangleDimensionsSet dimensionsSet
public TextAnnotation()
public TextAnnotation(Id id, Description description, Text text, TextFormat textFormat, BackgroundSet backgroundSet, FontSet fontSet, GeneralRectangleDimensionsSet dimensionsSet)
public String getStunnerCategory()
public BackgroundSet getBackgroundSet()
getBackgroundSet
in interface DMNViewDefinition<GeneralRectangleDimensionsSet>
public void setBackgroundSet(BackgroundSet backgroundSet)
public FontSet getFontSet()
getFontSet
in interface DMNViewDefinition<GeneralRectangleDimensionsSet>
public void setFontSet(FontSet fontSet)
public GeneralRectangleDimensionsSet getDimensionsSet()
getDimensionsSet
in interface DMNViewDefinition<GeneralRectangleDimensionsSet>
public void setDimensionsSet(GeneralRectangleDimensionsSet dimensionsSet)
public Text getText()
public void setText(Text text)
public TextFormat getTextFormat()
public void setTextFormat(TextFormat textFormat)
public void setAllowOnlyVisualChange(boolean allowOnlyVisualChange)
setAllowOnlyVisualChange
in interface DynamicReadOnly
public boolean isAllowOnlyVisualChange()
isAllowOnlyVisualChange
in interface DynamicReadOnly
public DynamicReadOnly.ReadOnly getReadOnly(String fieldName)
getReadOnly
in interface DynamicReadOnly
protected boolean isReadonlyField(String fieldName)
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.