Skip to content

Commit

Permalink
Add Indicator.isOff() method.
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasMikula committed Apr 1, 2014
1 parent ad97cc6 commit a1dfc55
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions reactfx/src/main/java/org/reactfx/Indicator.java
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ public boolean isOn() {
return on;
}

public boolean isOff() {
return !on;
}

@Override
public boolean get() {
return on;
Expand Down

0 comments on commit a1dfc55

Please sign in to comment.