DateTime controls
Properties that can be defined for this element:
Background color
Background gradient for DateTime. Not applied to DateTime Calendar.
The border that is drawn around a DateTime.
The bottom side border for DateTime.
The left side border for DateTime.
Border radius. The border radius has no effect if an enhanced border, like "inset" or "outset" is used.
The right side border for DateTime.
The top side border for DateTime.
Inner or outer shadow around the bounds of a DateTime widget.
Text color for DateTime.
Text font for DateTime. Not applied to DateTime Calendar.
Padding for DateTime Date/Time.
Shadow for text.
SWT style flags that can be referred to in a selector for this element (as CSS attributes):
Style constant for bordered behavior.
Widget states that can be referred to in a selector for this element (as CSS pseudo-classes):
Applies to disbled DateTime controls.
Applies to focused DateTime controls.
Fields for date, month, year, hours, minutes, seconds
Properties that can be defined for this element:
Background color for DateTime fields
Text color for DateTime fields.
Padding for DateTime Date/Time field part.
Shadow for text.
none
Widget states that can be referred to in a selector for this element (as CSS pseudo-classes):
Applies to selected DateTime fields.
Day from the calendar
Properties that can be defined for this element:
Background color
The border that is drawn around calendar day box.
The bottom side border for calendar day box.
The left side border for calendar day box.
The right side border for calendar day box.
The top side border for calendar day box.
Text color
Shadow for text.
none
Widget states that can be referred to in a selector for this element (as CSS pseudo-classes):
Applies to the day outside min/max range.
Applies while the user hovers over the calendar day.
Applies to the day that belongs to other month.
Applies to selected day.
Applies to the current day.
Applies to the day on unfocused calendar.
The calendar navigation bar
Properties that can be defined for this element:
Background color
Calendar navigation bar background image or gradient
The border that is drawn around calendar navigation bar.
The bottom side border for calendar navigation bar.
The left side border for calendar navigation bar.
Border radius. The border radius has no effect if an enhanced border, like "inset" or "outset" is used.
The right side border for calendar navigation bar.
The top side border for calendar navigation bar.
Text color
Text font for the Calendar navigation bar.
Shadow for text.
none
Widget states that can be referred to in a selector for this element (as CSS pseudo-classes):
Applies to disbled DateTime controls.
The calendar previous month button
Properties that can be defined for this element:
Background image for the Calendar previous month button. The size of the image should be 16 x 16 pixels.
Calendar previous month button cursor.
SWT style flags that can be referred to in a selector for this element (as CSS attributes):
Indicates that the calendar is oriented right to left.
Widget states that can be referred to in a selector for this element (as CSS pseudo-classes):
Applies to disabled Calendar previous month button.
Applies while the user hovers over the button.
The calendar next month button
Properties that can be defined for this element:
Background image for the Calendar next month button. The size of the image should be 16 x 16 pixels.
Calendar next month button cursor.
SWT style flags that can be referred to in a selector for this element (as CSS attributes):
Indicates that the calendar is oriented right to left.
Widget states that can be referred to in a selector for this element (as CSS pseudo-classes):
Applies to disabled Calendar next month button.
Applies while the user hovers over the button.
The calendar previous year button
Properties that can be defined for this element:
Background image for the Calendar previous year button. The size of the image should be 16 x 16 pixels.
Calendar previous year button cursor.
SWT style flags that can be referred to in a selector for this element (as CSS attributes):
Indicates that the calendar is oriented right to left.
Widget states that can be referred to in a selector for this element (as CSS pseudo-classes):
Applies to disabled Calendar previous year button.
Applies while the user hovers over the button.
The calendar next year button
Properties that can be defined for this element:
Background image for the Calendar next year button. The size of the image should be 16 x 16 pixels.
Calendar next year button cursor.
SWT style flags that can be referred to in a selector for this element (as CSS attributes):
Indicates that the calendar is oriented right to left.
Widget states that can be referred to in a selector for this element (as CSS pseudo-classes):
Applies to disabled Calendar next year button.
Applies while the user hovers over the button.
The DateTime Date/Time up button
Properties that can be defined for this element:
The background color of the DateTime Date/Time up button.
Background image or gradient for DateTime up button.
The border that is drawn around DateTime Date/Time up button.
The bottom side border for DateTime Date/Time up button.
The left side border for DateTime Date/Time up button.
Border radius. The border radius has no effect if an enhanced border, like "inset" or "outset" is used.
The right side border for DateTime Date/Time up button.
The top side border for DateTime Date/Time up button.
DateTime Date/Time up button cursor.
The width of the DateTime Date/Time up button.
SWT style flags that can be referred to in a selector for this element (as CSS attributes):
Indicates that the DateTime is oriented right to left.
Widget states that can be referred to in a selector for this element (as CSS pseudo-classes):
Applies to disabled DateTime up button.
Applies while the user hovers over the button.
Applies while a button is pressed.
The DateTime up button icon
Properties that can be defined for this element:
The icon for DateTime up button.
none
Widget states that can be referred to in a selector for this element (as CSS pseudo-classes):
Applies to disabled DateTime up button.
Applies while the user hovers over the button.
Applies while a button is pressed.
The DateTime down button
Properties that can be defined for this element:
The background color of the DateTime Date/Time down button.
Background image or gradient for DateTime down button.
The border that is drawn around DateTime Date/Time down button.
The bottom side border for DateTime Date/Time down button.
The left side border for DateTime Date/Time down button.
Border radius. The border radius has no effect if an enhanced border, like "inset" or "outset" is used.
The right side border for DateTime Date/Time down button.
The top side border for DateTime Date/Time down button.
DateTime Date/Time down button cursor.
The width of the DateTime Date/Time down button.
SWT style flags that can be referred to in a selector for this element (as CSS attributes):
Indicates that the DateTime is oriented right to left.
Widget states that can be referred to in a selector for this element (as CSS pseudo-classes):
Applies to disabled DateTime down button.
Applies while the user hovers over the button.
Applies while a button is pressed.
The DateTime down button icon
Properties that can be defined for this element:
The icon for DateTime down button.
none
Widget states that can be referred to in a selector for this element (as CSS pseudo-classes):
Applies to disabled DateTime down button.
Applies while the user hovers over the button.
Applies while a button is pressed.
The DateTime drop-down button. Applies when the SWT.DROP_DOWN style is used.
Properties that can be defined for this element:
The background color of the DateTime Date drop-down button.
Background image or gradient for DateTime drop-down button.
The border that is drawn around DateTime Date drop-down button.
The bottom side border for DateTime Date drop-down button.
The left side border for DateTime Date drop-down button.
Border radius. The border radius has no effect if an enhanced border, like "inset" or "outset" is used.
The right side border for DateTime Date drop-down button.
The top side border for DateTime Date drop-down button.
DateTime Date drop-down button cursor.
The width of the DateTime Date drop-down button.
SWT style flags that can be referred to in a selector for this element (as CSS attributes):
Indicates that the DateTime is oriented right to left.
Widget states that can be referred to in a selector for this element (as CSS pseudo-classes):
Applies to disabled DateTime Date drop-down button.
Applies while the user hovers over the button.
Applies while a button is pressed.
The drop-down button icon.
Properties that can be defined for this element:
The icon for the DateTime drop-down button.
none
Widget states that can be referred to in a selector for this element (as CSS pseudo-classes):
Applies while the user hovers over the button.
Applies while a button is pressed.
The DateTime drop-down calendar. Applies when the SWT.DROP_DOWN style is used.
Properties that can be defined for this element:
The border that is drawn around drop-down calendar.
The bottom side border for drop-down calendar.
The left side border for drop-down calendar.
The right side border for drop-down calendar.
The top side border for drop-down calendar.
none
none