Class FontImpl
- java.lang.Object
-
- org.camunda.bpm.model.xml.impl.instance.ModelElementInstanceImpl
-
- org.camunda.bpm.model.bpmn.impl.instance.BpmnModelElementInstanceImpl
-
- org.camunda.bpm.model.bpmn.impl.instance.dc.FontImpl
-
- All Implemented Interfaces:
BpmnModelElementInstance,Font,ModelElementInstance
public class FontImpl extends BpmnModelElementInstanceImpl implements Font
The DC font element- Author:
- Sebastian Menski
-
-
Field Summary
Fields Modifier and Type Field Description protected static Attribute<java.lang.Boolean>isBoldAttributeprotected static Attribute<java.lang.Boolean>isItalicAttributeprotected static Attribute<java.lang.Boolean>isStrikeTroughAttributeprotected static Attribute<java.lang.Boolean>isUnderlineAttributeprotected static Attribute<java.lang.String>nameAttributeprotected static Attribute<java.lang.Double>sizeAttribute-
Fields inherited from class org.camunda.bpm.model.xml.impl.instance.ModelElementInstanceImpl
modelInstance
-
-
Constructor Summary
Constructors Constructor Description FontImpl(ModelTypeInstanceContext instanceContext)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetName()java.lang.DoublegetSize()java.lang.BooleanisBold()java.lang.BooleanisItalic()java.lang.BooleanisStrikeThrough()java.lang.BooleanisUnderline()static voidregisterType(ModelBuilder modelBuilder)voidsetBold(boolean isBold)voidsetItalic(boolean isItalic)voidsetName(java.lang.String name)voidsetSize(java.lang.Double size)voidsetStrikeTrough(boolean isStrikeTrough)voidSetUnderline(boolean isUnderline)-
Methods inherited from class org.camunda.bpm.model.bpmn.impl.instance.BpmnModelElementInstanceImpl
builder, getScope, isScope
-
Methods inherited from class org.camunda.bpm.model.xml.impl.instance.ModelElementInstanceImpl
addChildElement, asSet, equals, getAttributeValue, getAttributeValueNs, getChildElementsByType, getChildElementsByType, getDomElement, getElementType, getModelInstance, getParentElement, getRawTextContent, getTextContent, getUniqueChildElementByNameNs, getUniqueChildElementByType, hashCode, insertElementAfter, removeAttribute, removeAttributeNs, removeChildElement, replaceChildElement, replaceWithElement, setAttributeValue, setAttributeValue, setAttributeValue, setAttributeValueNs, setAttributeValueNs, setAttributeValueNs, setTextContent, setUniqueChildElementByNameNs, updateAfterReplacement
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.camunda.bpm.model.bpmn.instance.BpmnModelElementInstance
builder, getScope, isScope
-
Methods inherited from interface org.camunda.bpm.model.xml.instance.ModelElementInstance
addChildElement, getAttributeValue, getAttributeValueNs, getChildElementsByType, getChildElementsByType, getDomElement, getElementType, getModelInstance, getParentElement, getRawTextContent, getTextContent, getUniqueChildElementByNameNs, getUniqueChildElementByType, insertElementAfter, removeAttribute, removeAttributeNs, removeChildElement, replaceChildElement, replaceWithElement, setAttributeValue, setAttributeValue, setAttributeValue, setAttributeValueNs, setAttributeValueNs, setAttributeValueNs, setTextContent, setUniqueChildElementByNameNs, updateAfterReplacement
-
-
-
-
Field Detail
-
nameAttribute
protected static Attribute<java.lang.String> nameAttribute
-
sizeAttribute
protected static Attribute<java.lang.Double> sizeAttribute
-
isBoldAttribute
protected static Attribute<java.lang.Boolean> isBoldAttribute
-
isItalicAttribute
protected static Attribute<java.lang.Boolean> isItalicAttribute
-
isUnderlineAttribute
protected static Attribute<java.lang.Boolean> isUnderlineAttribute
-
isStrikeTroughAttribute
protected static Attribute<java.lang.Boolean> isStrikeTroughAttribute
-
-
Constructor Detail
-
FontImpl
public FontImpl(ModelTypeInstanceContext instanceContext)
-
-
Method Detail
-
registerType
public static void registerType(ModelBuilder modelBuilder)
-
isUnderline
public java.lang.Boolean isUnderline()
- Specified by:
isUnderlinein interfaceFont
-
SetUnderline
public void SetUnderline(boolean isUnderline)
- Specified by:
SetUnderlinein interfaceFont
-
isStrikeThrough
public java.lang.Boolean isStrikeThrough()
- Specified by:
isStrikeThroughin interfaceFont
-
setStrikeTrough
public void setStrikeTrough(boolean isStrikeTrough)
- Specified by:
setStrikeTroughin interfaceFont
-
-