Properties that can be defined for this element:
Background color for trees.
The border that is drawn around the tree including header.
The bottom side border for trees.
The left side border for trees.
The right side border for trees.
The top side border for trees.
Text color for trees.
Font for trees.
SWT style flags that can be referred to in a selector for this element (as CSS attributes):
Indicates that the tree should have a border.
Widget states that can be referred to in a selector for this element (as CSS pseudo-classes):
Applies to disabled trees.
Applies to trees with gridlines.
Applies to a tree with a row template.
Item elements of tree controls
Properties that can be defined for this element:
Tree item background color
Tree item background image/gradient
Tree item text color
Decoration for item text.
Specifies what should happen when text overflows the containing element.
Shadow for item text.
none
Widget states that can be referred to in a selector for this element (as CSS pseudo-classes):
Applies to the items of a disabled tree.
Applies when the tree item has an even visible index
Mouse over state.
Applies to items of a tree with gridlines.
Applies to the items of a tree with a row template.
When the tree item is selected
When the focus is not on the tree
Item overlay that can be used to overwrite the items own colors
Properties that can be defined for this element:
Tree item background color. Supports rgba values
Tree item background image/gradient
Tree item text color
none
Widget states that can be referred to in a selector for this element (as CSS pseudo-classes):
Applies to the items of a disabled tree.
Applies when the tree item has an even index
Applies while the user hovers over the tree item.
Applies to the items of a tree with gridlines.
Applies to the items of a tree with a row template.
Applies when tree item is selected.
Applies to items on unfocused tree.
Column header of Tree controls
Properties that can be defined for this element:
Background color for tree column headers
Background image or gradient for tree column headers.
Border for the bottom line of tree columns headers.
Text color for tree column headers
Font for tree column headers
Padding for the content of tree columns headers.
Specifies what should happen when text overflows the containing element.
Shadow for item text.
none
Widget states that can be referred to in a selector for this element (as CSS pseudo-classes):
Applies to column headers of a disabled tree.
Mouse over state
Sort indicators in Tree column headers
Properties that can be defined for this element:
Indicator image for tree sorting (up/down)
none
Widget states that can be referred to in a selector for this element (as CSS pseudo-classes):
Applies when the tree is disabled.
On sorting down
On sorting up
A single cell in a multi-column Tree
Properties that can be defined for this element:
Defines the padding (i.e. the inner distance between border and content) for a tree cell.
Defines the spacing between image and text within a tree cell.
none
none
Grid lines in Tree controls
Properties that can be defined for this element:
Grid line color when linesVisible is true
none
Widget states that can be referred to in a selector for this element (as CSS pseudo-classes):
Applies for grid lines in header.
Applies for horizontal grid lines.
Applies for grid lines in a tree with a row template
Applies for vertical grid lines.
Checkboxes in Tree controls
Properties that can be defined for this element:
Background image for the tree checkbox. The size of the image should be 13 x 13 pixels.
Space around the check boxes
none
Widget states that can be referred to in a selector for this element (as CSS pseudo-classes):
When tree checkbox is checked
When tree checkbox is not checkable (used by Nebula Grid).
When tree checkbox is grayed
Applies while the user hovers over a tree check box.
The area freed by indenting an item for one level.
Properties that can be defined for this element:
Background image for the indention. It is centered within the available area, defined by the "width"-property and the height of the item. The overflow is not visible.
The indention-width of one level. This property can not be influenced by the states of the element.
SWT style flags that can be referred to in a selector for this element (as CSS attributes):
Indicates that the tree is oriented right to left.
Widget states that can be referred to in a selector for this element (as CSS pseudo-classes):
Used for the final level if the item has children.
Used for the final level if the item is expanded
Used for the final level if the item has no previous sibling.
Mouse over state. Can not be used together with line.
Used for the final level if the item has no next sibling.
Indicates that the level continues after this item. Never used for the final level and therefore never combined with the other states.