org.gnu.gtk
public class CalendarDisplayOptions extends Flags
Deprecated: This class is part of the java-gnome 2.x family of libraries,
which, due to their inefficiency and complexity, are no longer
being maintained and have been abandoned by the java-gnome
project. This class may in the future have an equivalent in
java-gnome 4.0, try looking for
org.gnome.gtk.CalendarDisplayOptions
.
You should be aware that there is a considerably different API
in the new library: the architecture is completely different
and most notably internals are no longer exposed to public view.
SHOW_HEADING Specifies that the month and year should be displayed. SHOW_DAY_NAMES Specifies that three letter day descriptions should be displayed. NO_MONTH_CHANGE Prevents the user from switching months with the calendar SHOW_WEEK_NUMBERS Displays each week numbers of the current year down the left side of the calendar WEEK_START_MONDAY Starts the calendar week on Monday, instead of the default Sunday.
Field Summary | |
---|---|
static CalendarDisplayOptions | NO_MONTH_CHANGE |
static CalendarDisplayOptions | SHOW_DAY_NAMES |
static CalendarDisplayOptions | SHOW_HEADING |
static CalendarDisplayOptions | SHOW_WEEK_NUMBERS |
static CalendarDisplayOptions | WEEK_START_MONDAY
Currently the locale determines if the week begins on Monday. |
Method Summary | |
---|---|
CalendarDisplayOptions | and(CalendarDisplayOptions other) |
static CalendarDisplayOptions | intern(int value) |
CalendarDisplayOptions | or(CalendarDisplayOptions other) |
boolean | test(CalendarDisplayOptions other) |
CalendarDisplayOptions | xor(CalendarDisplayOptions other) |
Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Currently the locale determines if the week begins on Monday. This value should not be used.