public class PlotGeneratorResultRenderer extends Object implements ResultRenderer<PlotGeneratorResult>
PlotGeneratorResult
s in the JavaFX GUI.
The image from the PlotGeneratorResult
is created using the RasterizedAdaptor
and may be scaled using button controls (+,-,Fit). If the image does not fit the pane,
scroll bars are added to the pane.Modifier and Type | Method and Description |
---|---|
static void |
register()
Registers this
ResultRenderer for class PlotGeneratorResult . |
Node |
render(PlotGeneratorResult result,
Pane parent)
|
public static void register()
ResultRenderer
for class PlotGeneratorResult
.public Node render(PlotGeneratorResult result, Pane parent)
ResultRenderer
Node
assuming that the returned node is later added to the given Pane
.render
in interface ResultRenderer<PlotGeneratorResult>
result
- the resultparent
- the containing pane