public class IntParameter extends VoidParameter
| Modifier and Type | Field and Description |
|---|---|
protected int |
defValue |
protected int |
maxValue |
protected int |
minValue |
protected int |
value |
_hasBeenSet, _next, description, immutable, name| Constructor and Description |
|---|
IntParameter(String name_,
String desc_,
int v) |
IntParameter(String name_,
String desc_,
int v,
int minValue_,
int maxValue_,
Configuration.ConfigurationObject co) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDefaultStr() |
int |
getValue() |
String |
getValueStr() |
boolean |
setParam(int v) |
boolean |
setParam(String v) |
getDescription, getName, hasBeenSet, isBool, setHasBeenSet, setImmutable, setParamprotected int value
protected int defValue
protected int minValue
protected int maxValue
public IntParameter(String name_, String desc_, int v, int minValue_, int maxValue_, Configuration.ConfigurationObject co)
public boolean setParam(String v)
setParam in class VoidParameterpublic boolean setParam(int v)
public String getDefaultStr()
getDefaultStr in class VoidParameterpublic String getValueStr()
getValueStr in class VoidParameterpublic int getValue()
Copyright © 2019. All rights reserved.