RWT Buttons, including push-buttons, toggle-buttons, radio-buttons and check-boxes.
Properties that can be defined for this element:
Supports animations-types "hoverIn" and "hoverOut". Others are ignored.
Background color for buttons.
Background image for buttons.
Background image position for buttons.
Background image repetition for buttons.
The border that is drawn around buttons.
The bottom side border for buttons.
The left side border for buttons.
Border radius. The border radius has no effect if an enhanced border, like "inset" or "outset" is used.
The right side border for buttons.
The top side border for buttons.
A shadow effect for button.
Text color for buttons.
Control's cursor.
Font for button text.
The opacity of the button. A value between 0 and 1.
Padding (inner distance) for buttons.
Space between text and image.
Decoration for button text.
Shadow for text.
SWT style flags that can be referred to in a selector for this element (as CSS attributes):
Indicates that the button is a arrow button.
Indicates that the button should have a border.
Indicates that the button is a check box.
Indicates that the button should have a flat appearance.
Indicates that the button is a push button.
Indicates that the button is a radio button.
Indicates that the button is oriented right to left.
Indicates that the button is a toggle button.
Widget states that can be referred to in a selector for this element (as CSS pseudo-classes):
Applies for shell default button.
Applies for disabled buttons.
Applies to focused buttons.
Applies while the user hovers over a button.
Applies while a button is pressed.
Applies for selected TOGGLE, CHECK and RADIO buttons.
The icon to indicate the check and/or grayed state of a Button with style CHECK
Properties that can be defined for this element:
Icon image of the check box.
none
Widget states that can be referred to in a selector for this element (as CSS pseudo-classes):
Applies when the button is disabled.
Applies when the button is focused.
Applies when the check box is grayed.
Applies while the user hovers over the check box.
Applies for checked check boxes.
The icon to indicate the selected state of a Button with style RADIO
Properties that can be defined for this element:
Icon image of the radio button.
none
Widget states that can be referred to in a selector for this element (as CSS pseudo-classes):
Applies when the button is disabled.
Applies when the button is focused.
Applies while the user hovers over the radio button.
Applies for selected radio buttons.
The icon of a Button with style ARROW
Properties that can be defined for this element:
Icon image of the arrow button.
SWT style flags that can be referred to in a selector for this element (as CSS attributes):
Indicates that the arrow button points downwards.
Indicates that the arrow button points leftwards.
Indicates that the arrow button points rightwards.
Indicates that the arrow button points upwards.
Widget states that can be referred to in a selector for this element (as CSS pseudo-classes):
Applies when the button is disabled.
Applies while the user hovers over the arrow button.
The frame that is drawn when the button is focused.
Properties that can be defined for this element:
The fill-color of the frame.
The border of the frame. 3D-styles inset, outset, etc are not supported.
The bottom side border of the frame.
The left side border of the frame.
The right side border of the frame.
The top side border of the frame.
The margin between the buttons border and the frame. Only used if padding is set to "0px".
The opacity of the indicator. A value between 0 and 1.
The padding between the frame and the buttons text. If this is set to "0px", margin will be used to layout the FocusIndicator.
SWT style flags that can be referred to in a selector for this element (as CSS attributes):
Indicates that the button is a arrow button.
Indicates that the button should have a border.
Indicates that the button is a check box.
Indicates that the button should have a flat appearance.
Indicates that the button is a push button.
Indicates that the button is a radio button.
Indicates that the button is a toggle button.
none