public class RangedAttribute extends BaseAttribute
| Constructor and Description |
|---|
RangedAttribute(IAttribute parentIn,
java.lang.String unlocalizedNameIn,
double defaultValue,
double minimumValueIn,
double maximumValueIn) |
| Modifier and Type | Method and Description |
|---|---|
double |
clampValue(double value) |
java.lang.String |
getDescription() |
RangedAttribute |
setDescription(java.lang.String descriptionIn) |
equals, getDefaultValue, getName, getParent, getShouldWatch, hashCode, setShouldWatchpublic RangedAttribute(IAttribute parentIn, java.lang.String unlocalizedNameIn, double defaultValue, double minimumValueIn, double maximumValueIn)
public RangedAttribute setDescription(java.lang.String descriptionIn)
public java.lang.String getDescription()
public double clampValue(double value)