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

Method setShowsRootHandles

unused/javax/swing/JTree.java:945–957  ·  view source on GitHub ↗

Sets the value of the showsRootHandles property, which specifies whether the node handles should be displayed. The default value of this property depends on the constructor used to create the JTree . Some look and feels might not support handles; they will ignore this proper

(boolean newValue)

Source from the content-addressed store, hash-verified

943 * displayed.
944 */
945 public void setShowsRootHandles(boolean newValue) {
946 boolean oldValue = showsRootHandles;
947 TreeModel model = getModel();
948
949 showsRootHandles = newValue;
950 showsRootHandlesSet = true;
951 firePropertyChange(SHOWS_ROOT_HANDLES_PROPERTY, oldValue,
952 showsRootHandles);
953 if (accessibleContext != null) {
954 ((AccessibleJTree)accessibleContext).fireVisibleDataPropertyChange();
955 }
956 invalidate();
957 }
958
959 /**
960 * Returns the value of the <code>showsRootHandles</code> property.

Callers 3

JTreeMethod · 0.95
setUIPropertyMethod · 0.95
createTreeMethod · 0.80

Calls 4

getModelMethod · 0.95
invalidateMethod · 0.80
firePropertyChangeMethod · 0.45

Tested by

no test coverage detected