MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / expand

Method expand

src/main/java/fieldbox/boxes/plugins/BoxGroup.java:212–224  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

210 }
211
212 private void expand() {
213 this.properties.put(_collapsed, false);
214 collapsed = false;
215// this.breadthFirst(this.downwards())
216 this.children().stream()
217 .filter(x -> x != this)
218 .forEach(x -> {
219 Boolean m = collapsedState.get(x.properties.getOrConstruct(IO.id));
220 x.disconnected = m != null ? m.booleanValue() : false;
221 });
222
223 Drawing.dirty(this, 2);
224 }
225
226 boolean collapsed = false;
227 Rect collapsedAt = null;

Callers 3

BoxGroupMethod · 0.95
WbFunction · 0.80
runMethod · 0.80

Calls 7

dirtyMethod · 0.95
childrenMethod · 0.80
getMethod · 0.65
putMethod · 0.45
forEachMethod · 0.45
streamMethod · 0.45
getOrConstructMethod · 0.45

Tested by

no test coverage detected