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

Method disconnect

src/main/java/fieldbox/boxes/Box.java:142–150  ·  view source on GitHub ↗

Disconnect box 'b' to this box. b is now no longer child of this box, this box is now no longer parent of 'b'

(Box b)

Source from the content-addressed store, hash-verified

140
141 /**
142 * Disconnect box 'b' to this box. b is now no longer child of this box, this box is now no longer parent of 'b'
143 */
144 public Box disconnect(Box b) {
145 children.remove(b);
146 b.parents.remove(this);
147
148 all.remove(b);
149 b.all.remove(this);
150
151 return this;
152 }
153

Callers 6

disconnectFromAllMethod · 0.95
isolateContentsMethod · 0.95
integrateContentsMethod · 0.95
disconnectFromEditorMethod · 0.45
setKeyframeBoxMethod · 0.45
padFactoryMethod · 0.45

Calls 1

removeMethod · 0.45

Tested by

no test coverage detected