| Modifier | Constructor and Description | 
|---|---|
protected  | 
IntegerConfigKey(ConfigMeta meta,
                int dflt)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static IntegerConfigKey | 
createSliderKey(ConfigMeta meta,
               int dflt,
               double lo,
               double hi,
               boolean log)
Returns a config key that uses a SliderSpecifier. 
 | 
static IntegerConfigKey | 
createSpinnerKey(ConfigMeta meta,
                int dflt,
                int lo,
                int hi)
Returns a config key that uses a JSpinner for the specifier. 
 | 
static IntegerConfigKey | 
createSpinnerPairKey(ConfigMeta meta,
                    int dflt,
                    int posLimit,
                    int negLimit,
                    String posLabel,
                    String negLabel,
                    ReportKey<Integer> posReportKey,
                    ReportKey<Integer> negReportKey)
Returns a config key that uses two JSpinners to specify either
 a positive or a negative value. 
 | 
Integer | 
stringToValue(String txt)
Decodes a string value to the value type of this key. 
 | 
String | 
valueToString(Integer value)
Reports a value as a string. 
 | 
cast, createSpecifier, getDefaultValue, getMeta, getValueClass, toStringprotected IntegerConfigKey(ConfigMeta meta, int dflt)
meta - metadatadflt - default valuepublic Integer stringToValue(String txt) throws ConfigException
ConfigKeystringToValue in class ConfigKey<Integer>txt - string representation of valueConfigExceptionpublic String valueToString(Integer value)
ConfigKeystringToValue(valueToString(v)).equals(v).
 A null value, if permitted, should be represented as an empty string.valueToString in class ConfigKey<Integer>value - possible value associated with this keypublic static IntegerConfigKey createSpinnerKey(ConfigMeta meta, int dflt, int lo, int hi)
meta - metadatadflt - default valuelo - minimum value offered by spinnerhi - maximum value offered by spinnerpublic static IntegerConfigKey createSpinnerPairKey(ConfigMeta meta, int dflt, int posLimit, int negLimit, String posLabel, String negLabel, ReportKey<Integer> posReportKey, ReportKey<Integer> negReportKey)
meta - metadatadflt - default valueposLimit - maximum value (positive)negLimit - minimum value (negative)posLabel - label for positive value spinnernegLabel - label for negative value spinnerposReportKey - key to report actual value used as positive;
         may be nullnegReportKey - key to report actual value used as negative;
         may be nullpublic static IntegerConfigKey createSliderKey(ConfigMeta meta, int dflt, double lo, double hi, boolean log)
meta - metadatadflt - default valuelo - minimum of slider rangehi - maximum of slider rangelog - true for logarithmic scale, false for linearCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.