Rogue Wave Views 5.6 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Inspector class. More...
#include <ivstudio/inspectors/inspvali.h>
Public Member Functions | |
IlvStIRangeValidator (const ILV_TM_PREF tm *minVal, const ILV_TM_PREF tm *maxVal, const char *msg=0, IlBoolean validateOnApp=IlTrue) | |
Initializes an instance of IlvStIRangeValidator . | |
IlvStIRangeValidator (IlDouble minVal, IlDouble maxVal, const char *msg=0, IlBoolean validateOnApp=IlTrue) | |
Initializes an instance of IlvStIRangeValidator . | |
IlvStIRangeValidator (IlFloat minVal, IlFloat maxVal, const char *msg=0, IlBoolean validateOnApp=IlTrue) | |
Initializes an instance of IlvStIRangeValidator . | |
IlvStIRangeValidator (IlUInt minVal, IlUInt maxVal, const char *msg=0, IlBoolean validateOnApp=IlTrue) | |
Initializes an instance of IlvStIRangeValidator . | |
IlvStIRangeValidator (IlInt minVal=0, IlInt maxVal=0, const char *msg=0, IlBoolean validateOnApp=IlTrue) | |
Initializes an instance of IlvStIRangeValidator . | |
virtual IlvStIError * | check (const IlvStIProperty *) const |
Returns an error if the value of the property is not valid. |
Inspector class.
Library: ivstudio
This class defines a validator that tests whether a value is contained between two given values.
IlvStIRangeValidator::IlvStIRangeValidator | ( | IlInt | minVal = 0 , |
|
IlInt | maxVal = 0 , |
|||
const char * | msg = 0 , |
|||
IlBoolean | validateOnApp = IlTrue | |||
) |
Initializes an instance of IlvStIRangeValidator
.
minVal | The minimum value of the range. | |
maxVal | The maximum value of the range. | |
msg | The error message that is returned when the tested value is out of the specified limits. This error message can contain one or more 1 , 2 , and 3 substrings, which are replaced by the minimum value, the maximum value, and the tested value, respectively. | |
validateOnApp | If IlTrue , the test must be run when the user clicks on Apply. Otherwise, it should be run immediately after the changes have been made. This parameter is not directly used by the validator, but by the accessor that holds it. |
IlvStIRangeValidator::IlvStIRangeValidator | ( | IlUInt | minVal, | |
IlUInt | maxVal, | |||
const char * | msg = 0 , |
|||
IlBoolean | validateOnApp = IlTrue | |||
) |
Initializes an instance of IlvStIRangeValidator
.
minVal | The minimum value of the range. | |
maxVal | The maximum value of the range. | |
msg | The error message that is returned when the tested value is out of the specified limits. This error message can contain one or more 1 , 2 , and 3 substrings, which are replaced by the minimum value, the maximum value, and the tested value, respectively. | |
validateOnApp | If IlTrue , the test must be run when the user clicks on Apply. Otherwise, it should be run immediately after the changes have been made. This parameter is not directly used by the validator, but by the accessor that holds it. |
IlvStIRangeValidator::IlvStIRangeValidator | ( | IlFloat | minVal, | |
IlFloat | maxVal, | |||
const char * | msg = 0 , |
|||
IlBoolean | validateOnApp = IlTrue | |||
) |
Initializes an instance of IlvStIRangeValidator
.
minVal | The minimum value of the range. | |
maxVal | The maximum value of the range. | |
msg | The error message that is returned when the tested value is out of the specified limits. This error message can contain one or more 1 , 2 , and 3 substrings, which are replaced by the minimum value, the maximum value, and the tested value, respectively. | |
validateOnApp | If IlTrue , the test must be run when the user clicks on Apply. Otherwise, it should be run immediately after the changes have been made. This parameter is not directly used by the validator, but by the accessor that holds it. |
IlvStIRangeValidator::IlvStIRangeValidator | ( | IlDouble | minVal, | |
IlDouble | maxVal, | |||
const char * | msg = 0 , |
|||
IlBoolean | validateOnApp = IlTrue | |||
) |
Initializes an instance of IlvStIRangeValidator
.
minVal | The minimum value of the range. | |
maxVal | The maximum value of the range. | |
msg | The error message that is returned when the tested value is out of the specified limits. This error message can contain one or more 1 , 2 , and 3 substrings, which are replaced by the minimum value, the maximum value, and the tested value, respectively. | |
validateOnApp | If IlTrue , the test must be run when the user clicks on Apply. Otherwise, it should be run immediately after the changes have been made. This parameter is not directly used by the validator, but by the accessor that holds it. |
IlvStIRangeValidator::IlvStIRangeValidator | ( | const ILV_TM_PREF tm * | minVal, | |
const ILV_TM_PREF tm * | maxVal, | |||
const char * | msg = 0 , |
|||
IlBoolean | validateOnApp = IlTrue | |||
) |
Initializes an instance of IlvStIRangeValidator
.
minVal | The minimum value of the range. | |
maxVal | The maximum value of the range. | |
msg | The error message that is returned when the tested value is out of the specified limits. This error message can contain one or more 1 , 2 , and 3 substrings, which are replaced by the minimum value, the maximum value, and the tested value, respectively. | |
validateOnApp | If IlTrue , the test must be run when the user clicks on Apply. Otherwise, it should be run immediately after the changes have been made. This parameter is not directly used by the validator, but by the accessor that holds it. |
virtual IlvStIError* IlvStIRangeValidator::check | ( | const IlvStIProperty * | prop | ) | const [virtual] |
Returns an error if the value of the property is not valid.
prop | The property. |
Implements IlvStIValidator.
© Copyright 2012, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.