Package com.solibri.smc.api.settings
Class DoubleSetting
- java.lang.Object
-
- com.solibri.smc.api.settings.DoubleSetting
-
-
Constructor Summary
Constructors Constructor Description DoubleSetting()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Double
getValue()
Returns the current value of the setting.Optional<String>
invalidReason(Double value)
The default is that any possible double is valid.void
setValue(Double value)
Sets the value of the setting.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.solibri.smc.api.settings.Setting
getDefaultValue, getDescription, getName, getUniqueId
-
-
-
-
Method Detail
-
getValue
public Double getValue()
Description copied from interface:Setting
Returns the current value of the setting. This returns the new value of the setting immediately after it has been changed, but note that it is up to the users of settings to decide if the new value takes effect immediately or after a restart.
-
setValue
public void setValue(Double value)
Description copied from interface:Setting
Sets the value of the setting.
-
-