- java.lang.Object
-
- ca.ubc.ece.flowable.reports.pages.Page<TeachingAssistant>
-
- ca.ubc.ece.flowable.teaching.assistants.pages.TeachingAssistantPage
-
- ca.ubc.ece.flowable.teaching.assistants.pages.Page3
-
public class Page3 extends TeachingAssistantPage
Class for creating page 3.
-
-
Field Summary
-
Fields inherited from class ca.ubc.ece.flowable.teaching.assistants.pages.TeachingAssistantPage
NUMBER_OF_PAGES, numberReturnByDays, summer
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Page3(TeachingAssistant teachingAssistant, int pageNumber, boolean summer, int numberReturnByDays)
Constructor for this class.
-
Method Summary
Modifier and Type Method Description ca.ubc.ece.flowable.reports.pages.Content[]
getContents()
Returns the contents of the page.void
writeFormFields(com.itextpdf.text.pdf.PdfWriter writer)
Writes the form fields on the page (if any).
-
-
-
Constructor Detail
-
Page3
protected Page3(TeachingAssistant teachingAssistant, int pageNumber, boolean summer, int numberReturnByDays)
Constructor for this class.- Parameters:
teachingAssistant
- the teaching assistant which provides dynamic data for the pagepageNumber
- the page numbersummer
- true if the form is for the summer semester; false otherwisenumberReturnByDays
- the number of days before the completed form is due
-
-
Method Detail
-
getContents
public ca.ubc.ece.flowable.reports.pages.Content[] getContents()
Returns the contents of the page.- Specified by:
getContents
in classca.ubc.ece.flowable.reports.pages.Page<TeachingAssistant>
- Returns:
- the contents
-
writeFormFields
public void writeFormFields(com.itextpdf.text.pdf.PdfWriter writer)
Writes the form fields on the page (if any).- Specified by:
writeFormFields
in classca.ubc.ece.flowable.reports.pages.Page<TeachingAssistant>
- Parameters:
writer
- the writer for the form fields
-
-