Package com.nt.udc.ndk.gui
Class ConfigRange
java.lang.Object
com.nt.udc.ndk.gui.ConfigRange
- All Implemented Interfaces:
ConfigRangeIfc
Used by DCNodeConfigGUI to validate numeric values for
Node Configuration items.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the maximum value for this configuration range.long
Returns the minimum value for this configuration range.void
setMaxValue
(long val) Sets the maximum value for this configuration range.void
setMinValue
(long val) Sets the minimum value for this configuration range.
-
Constructor Details
-
ConfigRange
public ConfigRange() -
ConfigRange
public ConfigRange(long minValue, long maxValue)
-
-
Method Details
-
getMinValue
public long getMinValue()Description copied from interface:ConfigRangeIfc
Returns the minimum value for this configuration range.- Specified by:
getMinValue
in interfaceConfigRangeIfc
-
setMinValue
public void setMinValue(long val) Description copied from interface:ConfigRangeIfc
Sets the minimum value for this configuration range.- Specified by:
setMinValue
in interfaceConfigRangeIfc
-
getMaxValue
public long getMaxValue()Description copied from interface:ConfigRangeIfc
Returns the maximum value for this configuration range.- Specified by:
getMaxValue
in interfaceConfigRangeIfc
-
setMaxValue
public void setMaxValue(long val) Description copied from interface:ConfigRangeIfc
Sets the maximum value for this configuration range.- Specified by:
setMaxValue
in interfaceConfigRangeIfc
-