Class TextSettingsViewModel
java.lang.Object
de.xima.fc.workflow.designer.bpmn.model.settings.TextSettingsViewModel
- All Implemented Interfaces:
Serializable
View model for the text settings in a BPMN diagram.
- Since:
- 8.4.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidstatic TextSettingsViewModelstatic TextSettingsViewModelstatic TextSettingsViewModelstatic TextSettingsViewModelstatic TextSettingsViewModelstatic TextSettingsViewModelstatic TextSettingsViewModeldoubledoubledoubledoubledoubleSets the minimum width for the text bounding box.static TextSettingsViewModelstatic TextSettingsViewModelstatic TextSettingsViewModelbooleanbooleanbooleanbooleanbooleanstatic TextSettingsViewModelstatic TextSettingsViewModelstatic TextSettingsViewModelstatic TextSettingsViewModelvoidsetCoalesceSpaces(boolean coalesceSpaces) voidsetExplicitBounds(boolean explicitBounds) voidsetFontSize(double fontSize) voidsetFontSizeUnit(EBpmnTextSettingsUnit fontSizeUnit) voidsetLimitHeight(boolean limitHeight) voidsetLimitWidth(boolean limitWidth) voidsetLineBreakMode(EWorkflowBpmnTextLayoutLineBreakMode lineBreakMode) voidsetLineHeight(double lineHeight) voidsetMaxHeight(double maxHeight) voidsetMaxHeightType(EWorkflowBpmnTextLayoutSettingsMaxHeightType maxHeightType) voidsetMaxWidth(double maxWidth) voidsetMinWidth(double minWidth) Sets the minimum width for the text bounding box.voidsetTrimSpaces(boolean trimSpaces) static TextSettingsViewModelstatic TextSettingsViewModelstatic TextSettingsViewModelstatic TextSettingsViewModel
-
Constructor Details
-
TextSettingsViewModel
public TextSettingsViewModel()
-
-
Method Details
-
applyFromSettings
-
applyFromSettings
-
applyToBuilder
-
applyToBuilder
-
getFontSize
public double getFontSize() -
setFontSize
public void setFontSize(double fontSize) -
getFontSizeUnit
-
setFontSizeUnit
-
getLineBreakMode
-
setLineBreakMode
-
getLineHeight
public double getLineHeight() -
setLineHeight
public void setLineHeight(double lineHeight) -
getMaxHeight
public double getMaxHeight() -
setMaxHeight
public void setMaxHeight(double maxHeight) -
getMaxHeightType
-
setMaxHeightType
-
getMaxWidth
public double getMaxWidth() -
setMaxWidth
public void setMaxWidth(double maxWidth) -
getMinWidth
public double getMinWidth()Sets the minimum width for the text bounding box. By default, the bounding box is as wide as computed by the text layout engine. If this value is non-zero, the text will have a minimum width of this value. May be useful for tools that require a certain minimum width.- Returns:
- The minimum width to set for the text bounding box.
-
setMinWidth
public void setMinWidth(double minWidth) Sets the minimum width for the text bounding box. By default, the bounding box is as wide as computed by the text layout engine. If this value is non-zero, the text will have a minimum width of this value. May be useful for tools that require a certain minimum width.- Parameters:
minWidth- The minimum width to set for the text bounding box.
-
isCoalesceSpaces
public boolean isCoalesceSpaces() -
setCoalesceSpaces
public void setCoalesceSpaces(boolean coalesceSpaces) -
isExplicitBounds
public boolean isExplicitBounds() -
setExplicitBounds
public void setExplicitBounds(boolean explicitBounds) -
isLimitHeight
public boolean isLimitHeight() -
setLimitHeight
public void setLimitHeight(boolean limitHeight) -
isLimitWidth
public boolean isLimitWidth() -
setLimitWidth
public void setLimitWidth(boolean limitWidth) -
isTrimSpaces
public boolean isTrimSpaces() -
setTrimSpaces
public void setTrimSpaces(boolean trimSpaces) -
boundaryEventDefaults
-
complexGatewayDefaults
-
dataObjectDefaults
-
dataStoreDefaults
-
endEventDefaults
-
eventBasedGatewayDefaults
-
exclusiveGatewayDefaults
-
inclusiveGatewayDefaults
-
intermediateCatchEventDefaults
-
intermediateThrowEventDefaults
-
laneDefaults
-
parallelGatewayDefaults
-
participantDefaults
-
sequenceFlowDefaults
-
startEventDefaults
-
subProcessDefaults
-
taskDefaults
-
textAnnotationDefaults
-