Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
DeferredTask |
|
| 0.0;0 | ||||
DeferredTask$1 |
|
| 0.0;0 | ||||
DeferredTask$Intf |
|
| 0.0;0 |
1 | package javafx.lang; | |
2 | import com.sun.javafx.runtime.Entry; | |
3 | ||
4 | 0 | public class DeferredTask { |
5 | 0 | /* required */ public attribute action: function() : Void; |
6 | ||
7 | 0 | /* controlled */ public attribute done : Boolean; |
8 | ||
9 | 0 | postinit { |
10 | 0 | Entry.deferTask(function() : Void { try { action(); } finally { done = true } }); |
11 | } | |
12 | } |