MCPcopy Create free account
hub / github.com/OpenSourcePhysics/osp / setRootVisible

Method setRootVisible

unused/javax/swing/JTree.java:916–924  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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,

Callers 3

JTreeMethod · 0.95
refreshGUIMethod · 0.80
createTreeMethod · 0.80

Calls 2

firePropertyChangeMethod · 0.45

Tested by

no test coverage detected