- java.lang.Object
-
- org.tentackle.fx.AbstractFxController
-
- org.tentackle.fx.rdc.table.TablePrinter
-
- All Implemented Interfaces:
FxController,org.tentackle.validate.ScopeConfigurator
@FxControllerService(binding=NO) public class TablePrinter extends AbstractFxController
A controller to print a table.- Author:
- harald
-
-
Constructor Summary
Constructors Constructor Description TablePrinter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidprint(FxTableView<?> table, String title, javafx.print.PrinterJob job)Prints a table.static voidprint(FxTreeTableView<?> treeTable, String title, javafx.print.PrinterJob job)Prints a treetable.-
Methods inherited from class org.tentackle.fx.AbstractFxController
configure, createBinder, getBinder, getContainer, getDefaultScopes, getFXMLFields, getFXMLMethods, getStage, getView, setView, validateInjections
-
-
-
-
Method Detail
-
print
public static void print(FxTableView<?> table, String title, javafx.print.PrinterJob job)
Prints a table.- Parameters:
table- the table to be printedtitle- the job titlejob- the printer job
-
print
public static void print(FxTreeTableView<?> treeTable, String title, javafx.print.PrinterJob job)
Prints a treetable.- Parameters:
treeTable- the table to be printedtitle- the job titlejob- the printer job
-
-