Class RenderOptions.Builder<L extends Label>
java.lang.Object
org.variantsync.diffdetective.variation.diff.render.RenderOptions.Builder<L>
- Enclosing class:
RenderOptions<L extends Label>
Builder for
RenderOptions
.-
Field Summary
Modifier and TypeFieldDescriptionprivate int
private boolean
private int
private EdgeLabelFormat<? super L>
private double
private int
private GraphFormat
private DiffNodeLabelFormat<? super L>
private int
private VariationDiffLabelFormat
private boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddExtraArguments
(String... args) Adds further arguments to the already set extra arguments.build()
Complete the creation ofRenderOptions
.setArrowsize
(int arrowsize) setCleanUpTemporaryFiles
(boolean cleanUpTemporaryFiles) setDpi
(int dpi) setEdgeFormat
(EdgeLabelFormat<? super L> edgeFormat) setEdgesize
(double edgesize) setExtraArguments
(List<String> extraArguments) Resets the extra arguments to the given list.setFontsize
(int fontsize) setGraphFormat
(GraphFormat format) setNodeFormat
(DiffNodeLabelFormat<? super L> nodeFormat) setNodesize
(int nodesize) setTreeFormat
(VariationDiffLabelFormat treeFormat) setWithlabels
(boolean withlabels)
-
Field Details
-
format
-
treeParser
-
nodeParser
-
edgeParser
-
cleanUpTemporaryFiles
private boolean cleanUpTemporaryFiles -
dpi
private int dpi -
nodesize
private int nodesize -
edgesize
private double edgesize -
arrowsize
private int arrowsize -
fontsize
private int fontsize -
withlabels
private boolean withlabels -
extraArguments
-
-
Constructor Details
-
Builder
public Builder()Creates a new builder with the default options forRenderOptions
.
-
-
Method Details
-
build
Complete the creation ofRenderOptions
.- Returns:
RenderOptions
with this builder's configured settings.
-
setGraphFormat
- See Also:
-
setTreeFormat
- See Also:
-
setNodeFormat
- See Also:
-
setEdgeFormat
- See Also:
-
setCleanUpTemporaryFiles
- See Also:
-
setDpi
- See Also:
-
setNodesize
- See Also:
-
setEdgesize
- See Also:
-
setArrowsize
- See Also:
-
setFontsize
- See Also:
-
setWithlabels
- See Also:
-
setExtraArguments
Resets the extra arguments to the given list.- See Also:
-
addExtraArguments
Adds further arguments to the already set extra arguments.- See Also:
-