Created
May 28, 2022 20:44
-
-
Save ennerf/bdb2696537762efd8054163a68c19967 to your computer and use it in GitHub Desktop.
UI Config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class UiConfig { | |
public boolean getDebugEnabled() { | |
return debugEnabled.get(); | |
} | |
public BooleanProperty debugEnabledProperty() { | |
return debugEnabled; | |
} | |
public void setDebugEnabled(boolean debugEnabled) { | |
this.debugEnabled.set(debugEnabled); | |
} | |
public String getUnitLabel() { | |
return unitLabel.get(); | |
} | |
public StringProperty unitLabelProperty() { | |
return unitLabel; | |
} | |
public void setUnitLabel(String unitLabel) { | |
this.unitLabel.set(unitLabel); | |
} | |
private final BooleanProperty debugEnabled = new SimpleBooleanProperty(true); | |
private final StringProperty unitLabel = new SimpleStringProperty("mm"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment