| 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) { |