| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.tridas.io.defaults.AbstractDefaultValue<Double>
org.tridas.io.defaults.values.DoubleDefaultValue
public class DoubleDefaultValue
| Constructor Summary | |
|---|---|
| DoubleDefaultValue() | |
| DoubleDefaultValue(Double argDouble) | |
| DoubleDefaultValue(Double argMin,
                   Double argMax) | |
| DoubleDefaultValue(Double argDouble,
                   Double argMin,
                   Double argMax) | |
| DoubleDefaultValue(Double argDouble,
                   Double argMin,
                   Double argMax,
                   int argMinLength,
                   int argMaxLength)Constructor for a default field of type double | |
| Method Summary | |
|---|---|
|  double | getMax()Maximum the double can be | 
|  double | getMin()Minimum the double can be | 
|  Double | getValue()Gets the value. | 
|  boolean | isFriendlyRangeValidation()if true, it will move the value into the range instead of disregarding the modification. | 
|  void | setFriendlyRangeValidation(boolean changeToRange)if true, it will move the value into the range instead of disregarding the modification. | 
|  void | setMax(double max)Maximum the double can be | 
|  void | setMin(double min)Minimum the double can be | 
| protected  boolean | validateAndSetValue(Double argValue)Validate and set the value. | 
| Methods inherited from class org.tridas.io.defaults.AbstractDefaultValue | 
|---|
| clone, getKey, getMaxLength, getMinLength, getParent, getStringValue, isOverriding, isPadRight, setKey, setMaxLength, setMinLength, setOverriding, setOverridingValue, setPadRight, setParent, setValue | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public DoubleDefaultValue()
public DoubleDefaultValue(Double argDouble)
public DoubleDefaultValue(Double argDouble,
                          Double argMin,
                          Double argMax)
public DoubleDefaultValue(Double argMin,
                          Double argMax)
public DoubleDefaultValue(Double argDouble,
                          Double argMin,
                          Double argMax,
                          int argMinLength,
                          int argMaxLength)
argDouble - argMin - argMax - argMinLength - argMaxLength - | Method Detail | 
|---|
public Double getValue()
AbstractDefaultValue
getValue in class AbstractDefaultValue<Double>org.tridas.io.defaults.IDefaultValue#getValue()protected boolean validateAndSetValue(Double argValue)
AbstractDefaultValue
validateAndSetValue in class AbstractDefaultValue<Double>argValue - the value, can be null.
org.tridas.io.defaults.IDefaultValue#setValue(java.lang.Object)public void setMax(double max)
max - the max to setpublic double getMax()
public void setMin(double min)
min - the min to setpublic double getMin()
public void setFriendlyRangeValidation(boolean changeToRange)
changeToRange - the changeToRange to setpublic boolean isFriendlyRangeValidation()
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||