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

Method setUIProperty

unused/javax/swing/JTree.java:4025–4044  ·  view source on GitHub ↗
(String propertyName, Object value)

Source from the content-addressed store, hash-verified

4023 }
4024
4025 void setUIProperty(String propertyName, Object value) {
4026 if (propertyName == "rowHeight") {
4027 if (!rowHeightSet) {
4028 setRowHeight(((Number)value).intValue());
4029 rowHeightSet = false;
4030 }
4031 } else if (propertyName == "scrollsOnExpand") {
4032 if (!scrollsOnExpandSet) {
4033 setScrollsOnExpand(((Boolean)value).booleanValue());
4034 scrollsOnExpandSet = false;
4035 }
4036 } else if (propertyName == "showsRootHandles") {
4037 if (!showsRootHandlesSet) {
4038 setShowsRootHandles(((Boolean)value).booleanValue());
4039 showsRootHandlesSet = false;
4040 }
4041 } else {
4042 super.setUIProperty(propertyName, value);
4043 }
4044 }
4045
4046
4047 /**

Callers

nothing calls this directly

Calls 5

setRowHeightMethod · 0.95
setScrollsOnExpandMethod · 0.95
setShowsRootHandlesMethod · 0.95
intValueMethod · 0.80
booleanValueMethod · 0.80

Tested by

no test coverage detected