org.gnu.gtk

Class CalendarDisplayOptions

public class CalendarDisplayOptions extends Flags

Defines the appearance of a Calendar object.
  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 CalendarDisplayOptionsNO_MONTH_CHANGE
static CalendarDisplayOptionsSHOW_DAY_NAMES
static CalendarDisplayOptionsSHOW_HEADING
static CalendarDisplayOptionsSHOW_WEEK_NUMBERS
static CalendarDisplayOptionsWEEK_START_MONDAY
Currently the locale determines if the week begins on Monday.
Method Summary
CalendarDisplayOptionsand(CalendarDisplayOptions other)
static CalendarDisplayOptionsintern(int value)
CalendarDisplayOptionsor(CalendarDisplayOptions other)
booleantest(CalendarDisplayOptions other)
CalendarDisplayOptionsxor(CalendarDisplayOptions other)

Field Detail

NO_MONTH_CHANGE

public static final CalendarDisplayOptions NO_MONTH_CHANGE

SHOW_DAY_NAMES

public static final CalendarDisplayOptions SHOW_DAY_NAMES

SHOW_HEADING

public static final CalendarDisplayOptions SHOW_HEADING

SHOW_WEEK_NUMBERS

public static final CalendarDisplayOptions SHOW_WEEK_NUMBERS

WEEK_START_MONDAY

public static final CalendarDisplayOptions WEEK_START_MONDAY

Deprecated:

Currently the locale determines if the week begins on Monday. This value should not be used.

Method Detail

and

public CalendarDisplayOptions and(CalendarDisplayOptions other)

intern

public static CalendarDisplayOptions intern(int value)

or

public CalendarDisplayOptions or(CalendarDisplayOptions other)

test

public boolean test(CalendarDisplayOptions other)

xor

public CalendarDisplayOptions xor(CalendarDisplayOptions other)