Interface IntParameter
- All Superinterfaces:
ConfigParameter, Parameter, ParameterWithSuffix
- All Known Implementing Classes:
IntParameterImpl
- See Also:
-
Field Summary
Fields inherited from interface Parameter
MODE_ADVANCED, MODE_BEGINNER, MODE_INTERMEDIATE -
Method Summary
Modifier and TypeMethodDescriptionvoidaddIntegerValidator(ParameterValidator<Integer> validator) Same asParameter.addValidator(ParameterValidator), but casts the "toValue" to Integer.intintintgetValue()booleanvoidsetMaxValue(int max_value) voidsetMinValue(int min_value) voidsetValue(int v) Methods inherited from interface ConfigParameter
addConfigParameterListener, removeConfigParameterListenerMethods inherited from interface Parameter
addAndFireListener, addListener, addValidator, getConfigKeyName, getGenerateIntermediateEvents, getLabelKey, getLabelText, getMinimumRequiredUserMode, getValueObject, hasBeenSet, isEnabled, isForUIType, isVisible, removeListener, resetToDefault, setAllowedUiTypes, setEnabled, setGenerateIntermediateEvents, setIndent, setLabelKey, setLabelText, setMinimumRequiredUserMode, setVisibleMethods inherited from interface ParameterWithSuffix
getSuffixLabelKey, setSuffixLabelKey, setSuffixLabelText
-
Method Details
-
getValue
int getValue()- Since:
- BiglyBT 1.0.0.0
-
setValue
void setValue(int v) - Since:
- BiglyBT 1.0.0.0
-
isLimited
boolean isLimited()- Returns:
- Whether the parameter has a min and max value set
- Since:
- BiglyBT 1.9.0.1
-
getMinValue
int getMinValue()- Since:
- BiglyBT 1.9.0.1
-
getMaxValue
int getMaxValue()- Since:
- BiglyBT 1.9.0.1
-
setMinValue
void setMinValue(int min_value) - Since:
- BiglyBT 1.9.0.1
-
setMaxValue
void setMaxValue(int max_value) - Since:
- BiglyBT 1.9.0.1
-
addIntegerValidator
Same asParameter.addValidator(ParameterValidator), but casts the "toValue" to Integer.- Since:
- BiglyBT 1.9.0.1
-