RWT Theming Reference > Menu
Menu
Menus
Available CSS Properties
Properties that can be defined for this element:
Applicable SWT Styles
none
Applicable States
Widget states that can be referred to in a selector for this element
(as CSS pseudo-classes):
MenuItem
Menu items
Available CSS Properties
Properties that can be defined for this element:
-
background-color : color definition
Background color
-
color : color definition
Menu item text color
Applicable SWT Styles
SWT style flags that can be referred to in a selector for this element
(as CSS attributes):
-
[CASCADE]
Style constant for cascade menu item behavior.
-
[CHECK]
Style constant for check box menu item behavior.
-
[PUSH]
Style constant for push menu item behavior.
-
[RADIO]
Style constant for radio button menu item behavior.
-
[SEPARATOR]
Style constant for separator menu item behavior.
Applicable States
Widget states that can be referred to in a selector for this element
(as CSS pseudo-classes):
MenuItem-CheckIcon
Icon of the checkbox.
Applies when the MenuItem has a SWT.CHECK style flag.
Available CSS Properties
Properties that can be defined for this element:
Applicable SWT Styles
none
Applicable States
Widget states that can be referred to in a selector for this element
(as CSS pseudo-classes):
MenuItem-RadioIcon
Icon of the radio-button.
Applies when the MenuItem has a SWT.RADIO style flag.
Available CSS Properties
Properties that can be defined for this element:
Applicable SWT Styles
none
Applicable States
Widget states that can be referred to in a selector for this element
(as CSS pseudo-classes):
MenuItem-CascadeIcon
The cascade icon.
Applies when the MenuItem has a SWT.CASCADE style flag.
Available CSS Properties
Properties that can be defined for this element:
Applicable SWT Styles
none
Applicable States
Widget states that can be referred to in a selector for this element
(as CSS pseudo-classes):