Class TablePrinter

  • All Implemented Interfaces:
    org.tentackle.fx.FxController, org.tentackle.validate.ScopeConfigurator

    @FxControllerService(binding=NO)
    public class TablePrinter
    extends org.tentackle.fx.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 void print​(org.tentackle.fx.component.FxTableView<?> table, java.lang.String title, javafx.print.PrinterJob job)
      Prints a table.
      • Methods inherited from class org.tentackle.fx.AbstractFxController

        configure, createBinder, getBinder, getContainer, getDefaultScopes, getFXMLFields, getFXMLMethods, getStage, getView, setView, validateInjections
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TablePrinter

        public TablePrinter()
    • Method Detail

      • print

        public static void print​(org.tentackle.fx.component.FxTableView<?> table,
                                 java.lang.String title,
                                 javafx.print.PrinterJob job)
        Prints a table.
        Parameters:
        table - the table to be printed
        title - the job title
        job - the printer job