01: /*--------------------------------------------------------------------------*
02: | Copyright (C) 2006 Christopher Kohlhaas |
03: | |
04: | This program is free software; you can redistribute it and/or modify |
05: | it under the terms of the GNU General Public License as published by the |
06: | Free Software Foundation. A copy of the license has been included with |
07: | these distribution in the COPYING file, if not go to www.fsf.org |
08: | |
09: | As a special exception, you are granted the permissions to link this |
10: | program with every library, which license fulfills the Open Source |
11: | Definition as published by the Open Source Initiative (OSI). |
12: *--------------------------------------------------------------------------*/
13: package org.rapla.gui;
14:
15: import java.util.Set;
16:
17: /** This class contains the.
18: * Worktimes and dates (Useful for the week-view)
19: Configuration is done in the calendar option menu.
20:
21: Hours belonging to the worktime get a different color in the
22: weekview. This is also the minimum interval that will be used for
23: printing.<br>
24:
25: Excluded Days are only visible, when there is an appointment to
26: display.<br>
27: */
28:
29: public interface CalendarOptions {
30: public static final String ROLE = CalendarOptions.class.getName();
31:
32: int getWorktimeStart();
33:
34: int getRowsPerHour();
35:
36: int getWorktimeEnd();
37:
38: Set getExcludeDays();
39:
40: boolean isExceptionsVisible();
41:
42: boolean isCompactColumns();
43:
44: boolean isResourceColoring();
45:
46: boolean isEventColoring();
47:
48: }
|