public class ReportsWorker extends javafx.concurrent.Task<Integer>
exceptionProperty, messageProperty, onCancelledProperty, onFailedProperty, onRunningProperty, onScheduledProperty, onSucceededProperty, progressProperty, runningProperty, stateProperty, titleProperty, totalWorkProperty, valueProperty, workDoneProperty
Constructor and Description |
---|
ReportsWorker(String reportType,
String selectedYear,
String scoutName,
String scoutStAddr,
String addrFormat,
String scoutRank,
String scoutPhone,
String logoLoc,
String category,
String user,
ArrayList<Customer> customers,
String repTitle,
String splitting,
Boolean includeHeader,
String pdfLoc1)
Creates an instance of the worker
|
Modifier and Type | Method and Description |
---|---|
protected Integer |
call() |
addEventFilter, addEventHandler, buildEventDispatchChain, cancel, cancel, cancelled, exceptionProperty, failed, fireEvent, getException, getMessage, getOnCancelled, getOnFailed, getOnRunning, getOnScheduled, getOnSucceeded, getProgress, getState, getTitle, getTotalWork, getValue, getWorkDone, isRunning, messageProperty, onCancelledProperty, onFailedProperty, onRunningProperty, onScheduledProperty, onSucceededProperty, progressProperty, removeEventFilter, removeEventHandler, running, runningProperty, scheduled, setEventHandler, setOnCancelled, setOnFailed, setOnRunning, setOnScheduled, setOnSucceeded, stateProperty, succeeded, titleProperty, totalWorkProperty, updateMessage, updateProgress, updateProgress, updateTitle, updateValue, valueProperty, workDoneProperty
done, get, get, isCancelled, isDone, run, runAndReset, set, setException
public ReportsWorker(String reportType, String selectedYear, String scoutName, String scoutStAddr, String addrFormat, String scoutRank, String scoutPhone, String logoLoc, String category, String user, ArrayList<Customer> customers, String repTitle, String splitting, Boolean includeHeader, String pdfLoc1)
reportType
- the type of reportselectedYear
- the selected yearscoutName
- name of the scout to put in headerscoutStAddr
- address of the scout to put in headeraddrFormat
- formatted addressscoutRank
- rank of the scout to put in headerscoutPhone
- phone # of the scout to put in headerlogoLoc
- Location on disk of the logocategory
- Category to generate report foruser
- Utilities.User to create Report ascustomers
- Name of the customerrepTitle
- Title of the reportsplitting
- Split the report in any way?includeHeader
- Include a header?pdfLoc1
- Location to save the pdfCopyright © 2014–2018. All rights reserved.