public class RGIntegerValueRange extends RGIntegerValue
Modifier and Type | Field and Description |
---|---|
(package private) String[] |
choices |
(package private) int |
max |
(package private) int |
min |
intvalue
Constructor and Description |
---|
RGIntegerValueRange() |
RGIntegerValueRange(int n) |
Modifier and Type | Method and Description |
---|---|
RGValue |
copy() |
String |
explainMe()
An explanatory string to describe what the values mean.
|
TableCellEditor |
getEditor()
Returns the editor that should be used in a JTable (or others) for this
kind of value.
|
boolean |
queryCellValue(String s)
Ask an interactive user what value to assign.
|
void |
setup() |
void |
setValue(Integer n) |
getValue, getValueClass, toString
public RGIntegerValueRange()
public RGIntegerValueRange(int n)
public void setup()
public void setValue(Integer n) throws RGValueException
setValue
in class RGIntegerValue
RGValueException
public boolean queryCellValue(String s)
RGValue
queryCellValue
in class RGIntegerValue
s
- An explanatory string for the user.public String explainMe()
RGValue
explainMe
in class RGIntegerValue