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

Method dirty

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

call this to request a redraw at the next available animation cycle

(Box b)

Source from the content-addressed store, hash-verified

135 * call this to request a redraw at the next available animation cycle
136 */
137 static public void dirty(Box b) {
138 // which layer needs updating?
139 String layerName = b.properties.getOr(FLineDrawing.layer, () -> "__main__");
140
141 dirty(b, layerName);
142 }
143
144 static public void dirty(Box b, String explicitLayerName) {
145

Callers 15

doOpenMethod · 0.95
newBoxMethod · 0.95
newBoxOfClassMethod · 0.95
button0Method · 0.95
setSelectionToMethod · 0.95
feedbackMethod · 0.95
showMethod · 0.95
hideMethod · 0.95
FLineDrawingClass · 0.95
FLineDrawingMethod · 0.95
expiresMethod · 0.95
DrawingMethod · 0.95

Calls 6

getOrMethod · 0.80
getLayerMethod · 0.80
getCompositorMethod · 0.80
putMethod · 0.45
containsMethod · 0.45
requestRepaintMethod · 0.45

Tested by

no test coverage detected