Determines whether or not the root node from the TreeModel is visible. This is a bound property. @param rootVisible true if the root node of the tree is to be displayed @see #rootVisible @beaninfo bound: true description: Whether or not the root node from the
(boolean rootVisible)
| 914 | * from the TreeModel is visible. |
| 915 | */ |
| 916 | public void setRootVisible(boolean rootVisible) { |
| 917 | boolean oldValue = this.rootVisible; |
| 918 | |
| 919 | this.rootVisible = rootVisible; |
| 920 | firePropertyChange(ROOT_VISIBLE_PROPERTY, oldValue, this.rootVisible); |
| 921 | if (accessibleContext != null) { |
| 922 | ((AccessibleJTree)accessibleContext).fireVisibleDataPropertyChange(); |
| 923 | } |
| 924 | } |
| 925 | |
| 926 | /** |
| 927 | * Sets the value of the <code>showsRootHandles</code> property, |
no test coverage detected