public class TextResultRenderer extends Object implements ResultRenderer<TextResult>
TextResult in the JavaFX GUI. This renderer uses a ListView for displaying the lines
of the TextResult for efficiency.| Modifier and Type | Method and Description |
|---|---|
static String[] |
getHeader(FileParameter.FileRepresentation rep)
Returns the header if one exists ((the first
row fails to convert to a number in all columns) the file in the
FileParameter.FileRepresentation,
or null if no such header exists. |
static void |
register()
Registers this
ResultRenderer for class TextResult. |
Node |
render(TextResult result,
Pane parent)
|
public static void register()
ResultRenderer for class TextResult.public static String[] getHeader(FileParameter.FileRepresentation rep)
FileParameter.FileRepresentation,
or null if no such header exists.rep - the filepublic Node render(TextResult result, Pane parent)
ResultRendererNode assuming that the returned node is later added to the given Pane.render in interface ResultRenderer<TextResult>result - the resultparent - the containing pane