Sets the scrollsOnExpand property, which determines whether the tree might scroll to show previously hidden children. If this property is true (the default), when a node expands the tree can use scrolling to make the maximum possible number of the node's descendants visible
(boolean newValue)
| 1100 | * description: Indicates if a node descendant should be scrolled when expanded. |
| 1101 | */ |
| 1102 | public void setScrollsOnExpand(boolean newValue) { |
| 1103 | boolean oldValue = scrollsOnExpand; |
| 1104 | |
| 1105 | scrollsOnExpand = newValue; |
| 1106 | scrollsOnExpandSet = true; |
| 1107 | firePropertyChange(SCROLLS_ON_EXPAND_PROPERTY, oldValue, |
| 1108 | newValue); |
| 1109 | } |
| 1110 | |
| 1111 | /** |
| 1112 | * Returns the value of the <code>scrollsOnExpand</code> property. |
no test coverage detected