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

Method loaded

src/main/java/fieldcef/plugins/PadsBox.java:48–59  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46 }
47
48 public void loaded() {
49 this.properties.putToMap(Boxes.insideRunLoop, "main.__checkfordeletion__", this::checkForDeletion);
50 this.properties.putToMap(Boxes.insideRunLoop, "main.__updateframe__", this::updateFrameToMiddle);
51 this.properties.computeIfAbsent(frameDrawing, this::defaultdrawsLines);
52 this.properties.put(frame, head().properties.get(frame).union(tail().properties.get(frame)));
53 this.properties.put(FrameManipulation.lockHeight, true); // the dimensions of this box cannot be changed
54 this.properties.put(FrameManipulation.lockWidth, true);
55 this.properties.put(FrameManipulation.lockX, true); // nor can its position
56 this.properties.put(FrameManipulation.lockY, true);
57
58 this.properties.put(Box.name, head().properties.get(Box.name) + "->" + tail().properties.get(Box.name));
59 }
60
61
62 protected Map<String, Function<Box, FLine>> defaultdrawsLines(Dict.Prop<Map<String, Function<Box, FLine>>> k) {

Callers 1

PadsBoxMethod · 0.95

Calls 7

headMethod · 0.95
tailMethod · 0.95
putToMapMethod · 0.80
computeIfAbsentMethod · 0.80
getMethod · 0.65
putMethod · 0.45
unionMethod · 0.45

Tested by

no test coverage detected