Java Reference
In-Depth Information
Figure 17-4. JTree under different look and feel types
The available set of UIResource -related properties for a JTree is shown in Table 17-2. For
the JTree component, there are 43 different properties.
Table 17-2. JTree UIResource Elements
Property String
Object Type
Tree.actionMap
ActionMap
Tree.ancestorInputMap
InputMap
Tree.background
Color
Tree.changeSelectionWithFocus
Boolean
Tree.closedIcon
Icon
Tree.collapsedIcon
Icon
Tree.drawDashedFocusIndicator
Boolean
Tree.drawHorizontalLines
Boolean
Tree.drawsFocusBorderAroundIcon
Boolean
Tree.drawVerticalLines
Boolean
Tree.editorBorder
Border
Tree.editorBorderSelectionColor
Color
Tree.expandedIcon
Icon
Tree.expanderSize
Integer
Search WWH ::




Custom Search