public class ListResultRenderer extends Object implements ResultRenderer<ListResult>
ListResult
in the JavaFX GUI. The contents are rendered by a TableView
using the column names provided by AnnotatedEntity.getName()
of the ListResult
entries.
An additional column with row numbers is added to the table as a first column.Modifier and Type | Method and Description |
---|---|
static void |
register()
Registers this
ResultRenderer for class ListResult . |
Node |
render(ListResult result,
Pane parent)
|
public static void register()
ResultRenderer
for class ListResult
.public Node render(ListResult result, Pane parent)
ResultRenderer
Node
assuming that the returned node is later added to the given Pane
.render
in interface ResultRenderer<ListResult>
result
- the resultparent
- the containing pane