diff --git a/reactfx/src/main/java/org/reactfx/Indicator.java b/reactfx/src/main/java/org/reactfx/Indicator.java index e01340e..e4a345c 100644 --- a/reactfx/src/main/java/org/reactfx/Indicator.java +++ b/reactfx/src/main/java/org/reactfx/Indicator.java @@ -67,6 +67,10 @@ public boolean isOn() { return on; } + public boolean isOff() { + return !on; + } + @Override public boolean get() { return on;