MCPcopy Create free account
hub / github.com/badvision/jace / pauseClicked

Method pauseClicked

src/main/java/jace/ui/MetacheatUI.java:201–212  ·  view source on GitHub ↗
(ActionEvent event)

Source from the content-addressed store, hash-verified

199 }
200
201 @FXML
202 void pauseClicked(ActionEvent event) {
203 Platform.runLater(() -> {
204 Emulator.withComputer(c->{
205 if (c.isRunning()) {
206 c.pause();
207 } else {
208 c.resume();
209 }
210 });
211 });
212 }
213
214 @FXML
215 void search(ActionEvent event) {

Callers

nothing calls this directly

Calls 4

withComputerMethod · 0.95
isRunningMethod · 0.45
pauseMethod · 0.45
resumeMethod · 0.45

Tested by

no test coverage detected