|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--Settings
Represents all of the settings that are a part of the employee scheduler.
Field Summary | |
private boolean |
showTaskList
True if Show Task List is active, false otherwise |
private ListOfSkills |
skills
List of skills in the settings |
private int |
startDay
Day to start scheduling (i.e. |
private Times |
startTime
Time to start the scheduling day, from 0-23.5 |
Constructor Summary | |
Settings()
Constructs configuration based on an external file |
Method Summary | |
void |
AddSkill(Skills toAdd)
Adds a skill to the settings |
java.lang.String[] |
GetListOfSkills()
Gets the names of the list of skills defined in the settings |
boolean |
GetShowTasklist()
Gets whether or not the Show Task List is active |
int |
GetStartDay()
Gets the day to start the schedule |
Times |
GetStartTime()
Gets time to start the scheduling day, from 0-23.5 (ie. |
void |
RemoveSkills(ListOfSkills toRemove)
Removes skills from the settings |
void |
SetShowTasklist(boolean newShowTaskListValue)
Sets whether or not to show the task list |
void |
SetStartDay(int newStartDay)
Sets the start day of the schedule |
void |
SetStartTime(Times newStartTime)
Sets the start time for the schedule |
Methods inherited from class java.lang.Object |
|
Field Detail |
private ListOfSkills skills
private Times startTime
private int startDay
private boolean showTaskList
Constructor Detail |
public Settings()
Method Detail |
public void AddSkill(Skills toAdd)
toAdd
- new skill to add to settingspublic void RemoveSkills(ListOfSkills toRemove)
toRemove
- skills to be removed from the listpublic void SetStartTime(Times newStartTime)
newStartTime
- time to start the schedule days
(when a page is shown in the schedule, this determines
what hour is displayed at the very top of the schedule,
default is 8:00 in the morning)public void SetStartDay(int newStartDay)
newStartDay
- day to start schedule
(When the schedule is being printed, edited, and
viewed, the determines which day is used first,
default is Monday)public void SetShowTasklist(boolean newShowTaskListValue)
newShowTaskListValue
- determines whether or not to show the checkboxpublic Times GetStartTime()
public int GetStartDay()
public boolean GetShowTasklist()
public java.lang.String[] GetListOfSkills()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |