Package xal.app.scanner
Class SimpleOption
- java.lang.Object
-
- xal.app.scanner.SimpleOption
-
public class SimpleOption extends Object
A simple (stupid you say?) class which holds a string and a boolean to turn a setting on/off- Author:
- yngvelevinsen
-
-
Constructor Summary
Constructors Constructor Description SimpleOption(String descr, boolean initialSetting)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()javafx.beans.property.SimpleBooleanPropertyisSelectedProperty()
-
-
-
Constructor Detail
-
SimpleOption
public SimpleOption(String descr, boolean initialSetting)
-
-
Method Detail
-
isSelectedProperty
public javafx.beans.property.SimpleBooleanProperty isSelectedProperty()
- Returns:
- True if the setting is active/selected, false if deactivated
-
getDescription
public String getDescription()
- Returns:
- The description for this option
-
-