Skip to content

Commit

Permalink
Fixed missing set and get functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
HanSolo committed Dec 10, 2016
1 parent c63f114 commit 3a80eb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/eu/hansolo/fx/regulators/ColorRegulator.java
Original file line number Diff line number Diff line change
Expand Up @@ -290,8 +290,8 @@ public void setGradientStops(final List<Stop> STOPS) {
barArc.setStroke(barGradient.getImagePattern(new Rectangle(0, 0, PREFERRED_WIDTH, PREFERRED_HEIGHT)));
}

public boolean isOn() { return currentColorCircle.isVisible(); }
public void setOn(final boolean IS_ON) { currentColorCircle.setVisible(IS_ON); }
public boolean isOn() { return on.get(); }
public void setOn(final boolean IS_ON) { on.set(IS_ON); }
public BooleanProperty onProperty() { return on; }

private List<Stop> reorderStops(final Stop... STOPS) { return reorderStops(Arrays.asList(STOPS)); }
Expand Down

0 comments on commit 3a80eb5

Please sign in to comment.