Skip to content

Commit fe6ff0d

Browse files
committed
expand all tree nodes
1 parent 02f1ddb commit fe6ff0d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/java/com/esri/samples/geometry/spatial_relationships/SpatialRelationshipsSample.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,11 @@ public void start(Stage stage) {
121121
rootItem.setExpanded(true);
122122
relationships.setRoot(rootItem);
123123
TreeItem<String> pointRelationships = new TreeItem<>("Point");
124+
pointRelationships.setExpanded(true);
124125
TreeItem<String> polylineRelationships = new TreeItem<>("Polyline");
126+
polylineRelationships.setExpanded(true);
125127
TreeItem<String> polygonRelationships = new TreeItem<>("Polygon");
128+
polygonRelationships.setExpanded(true);
126129
rootItem.getChildren().addAll(Arrays.asList(pointRelationships, polylineRelationships, polygonRelationships));
127130

128131
// and a mouse click listener to identify the selected graphic

0 commit comments

Comments
 (0)