DateTime controls
Properties that can be defined for this element:
Background color
Background gradient for DateTime. Not applied to DateTime Calendar.
DateTime border
Border radius. The border radius has no effect if an enhanced border, like "inset" or "outset" is used.
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
Text color
Shadow for text.
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 calendar day.
Applies to the day that belongs to other month.
Applies to selected 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
Calendar navigation bar border
Border radius. The border radius has no effect if an enhanced border, like "inset" or "outset" is used.
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.
none
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.
none
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.
none
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.
none
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 of the DateTime Date/Time up button.
The left side border of the DateTime Date/Time up button.
Border radius. The border radius has no effect if an enhanced border, like "inset" or "outset" is used.
DateTime Date/Time up button cursor.
The width of the DateTime Date/Time 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 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 of the DateTime Date/Time down button.
The left side border of the DateTime Date/Time down button.
Border radius. The border radius has no effect if an enhanced border, like "inset" or "outset" is used.
DateTime Date/Time down button cursor.
The width of the DateTime Date/Time 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 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 of the DateTime Date drop-down button.
The left side border of the DateTime Date drop-down button.
Border radius. The border radius has no effect if an enhanced border, like "inset" or "outset" is used.
DateTime Date drop-down button cursor.
The width of the DateTime Date drop-down button.
none
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 of the drop-down calendar.
none
none