|
org.eclipse.rse.ui.validators
Class ValidatorPortInput
java.lang.Object
org.eclipse.rse.ui.validators.ValidatorIntegerInput
org.eclipse.rse.ui.validators.ValidatorPortInput
-
All Implemented Interfaces:
-
IInputValidator,
ICellEditorValidator,
ISystemValidator
-
Direct Known Subclasses:
-
ValidatorServerPortInput
-
public class ValidatorPortInput
- extends
ValidatorIntegerInput
For editable port number properties.
Ensures only digits are entered, and they appear to be a valid port.
TODO: what appears to be a valid port??
Methods inherited from class java.lang.
Object
|
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
|
MAXIMUM_PORT_NUMBER
public static final int MAXIMUM_PORT_NUMBER
-
See Also:
-
Constant Field Values
ValidatorPortInput
public ValidatorPortInput()
isValid
public
String isValid(
Object input)
-
-
Specified by:
-
isValid
in interface
ICellEditorValidator
-
Overrides:
-
isValid
in class
ValidatorIntegerInput
-
-
See Also:
-
ICellEditorValidator.isValid(java.lang.Object)
isValid
public
String isValid(
String input)
-
-
Specified by:
-
isValid
in interface
IInputValidator
-
Overrides:
-
isValid
in class
ValidatorIntegerInput
-
-
See Also:
-
ValidatorIntegerInput.isValid(java.lang.String)
Copyright (c) IBM Corporation and others 2000, 2008. All Rights Reserved.
|
|