(RAMEvent e)
| 45 | } |
| 46 | |
| 47 | @Override |
| 48 | protected void doEvent(RAMEvent e) { |
| 49 | if (active.get() && expressionCallback != null) { |
| 50 | Integer newVal = expressionCallback.call(e); |
| 51 | if (newVal != null) { |
| 52 | e.setNewValue(newVal); |
| 53 | } else { |
| 54 | active.set(false); |
| 55 | expressionCallback = null; |
| 56 | } |
| 57 | } |
| 58 | } |
| 59 | |
| 60 | public BooleanProperty activeProperty() { |
| 61 | return active; |
nothing calls this directly
no test coverage detected