A panel that displays the two reservation tables.
TablePanelA
private Panel tablePanelA
The graphical representation of reservation table A.
TablePanelB
private Panel tablePanelB
The graphical representation of reservation table B.
inputPanel
private Panel inputPanel
A panel that allows the user to enter information about the number of resources and time slots there are.
singleTaskMode
private Checkbox singleTaskMode
When this Checkbox object is chosen then the application is in single task mode.
twoTaskMode
private Checkbox twoTaskMode
When this Checkbox object is chosen then the application is in two task mode.
group
private Checkbox group
The Checkboxes singleTaskMode and twoTaskMode are place into this group.
resourceLabel
private Label resourceLabel
A label displaying the text: "Number of Resources"
timeLabel
private Label timeLabel
A label displaying the text: "Number of time slots"
resourceTextField
private TextField resourceTextField
A TextField object that is used to enter the number of resources in the reservation table.
timeTextField
private TextField timeTextField
A TextField object that is used to enter the number of time slots in the reservatio table.
build
private Button build
When this button is pressed a reservation table is built with the specified number of resources and time slots.
scrollerA
private ScrollPane scrollerA
A scroll bar for reservation table A.
scrollerB
private ScrollPane scrollerB
A scroll bar for reservation table B.
rta
private RTA rta
A reference to a RTA object.
Creates an instance of TableInputPanel.
Creates the table panels.
createInputPanel
public void createInputPanel()
Setup the inputPanel.
createTable
public void createTable(String resources, String
timeSlots)
Builds a reservation table with the specified resources and time slots.