com.ibm.etools.iseries.core.ui.validators
Class ValidatorEditorColumnInput
java.lang.Object
com.ibm.etools.systems.core.ui.validators.ValidatorIntegerInput
com.ibm.etools.iseries.core.ui.validators.ValidatorEditorColumnInput
- All Implemented Interfaces:
- ICellEditorValidator, IInputValidator, com.ibm.etools.systems.core.ui.validators.ISystemValidator
- public class ValidatorEditorColumnInput
- extends com.ibm.etools.systems.core.ui.validators.ValidatorIntegerInput
For editable column number properties.
Ensures only digits are entered, and they appear to be a valid.
Checks range of 1-IISeriesEditorConstantsRPGILE.PREF_COLUMN_CFIXED_MAX
Allows fields to be specified which represent columns, e.g. FACTOR1
Fields inherited from class com.ibm.etools.systems.core.ui.validators.ValidatorIntegerInput |
allowBlank, currentMessage, emptyMsg, invalidMsg, number |
Fields inherited from interface com.ibm.etools.systems.core.ui.validators.ISystemValidator |
Copyright |
Method Summary |
String |
isValid(String input)
Check if input is one of the specified field names or a column number |
Methods inherited from class com.ibm.etools.systems.core.ui.validators.ValidatorIntegerInput |
getMaximumNameLength, getNumber, getSystemMessage, isValid, setBlankAllowed, setErrorMessages, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
copyright
public static final String copyright
- See Also:
- Constant Field Values
ValidatorEditorColumnInput
public ValidatorEditorColumnInput(String[] fieldNames)
isValid
public String isValid(String input)
- Check if input is one of the specified field names or a column number
- See Also:
IInputValidator#isValid(java.lang.String)
Copyright © 2005 IBM Corp. All Rights Reserved.
Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.