com.gridsystems.config.tools
Class PortVerifier

java.lang.Object
  extended by javax.swing.InputVerifier
      extended by com.gridsystems.config.tools.TextVerifier
          extended by com.gridsystems.config.tools.NumberVerifier
              extended by com.gridsystems.config.tools.PortVerifier

public class PortVerifier
extends NumberVerifier

Verifies TCP/IP port numbers.

Version:
1.0
Author:
Rodrigo Ruiz Aguayo

Field Summary
static int MAX_PORT_NUMBER
          Maximum allowed port number.
 
Fields inherited from class com.gridsystems.config.tools.NumberVerifier
id, ID_EMPTY, ID_INVALID, ID_OUTOFRANGE
 
Fields inherited from class com.gridsystems.config.tools.TextVerifier
support
 
Constructor Summary
PortVerifier(ErrorSupport support)
          Creates a new instance with an error message.
PortVerifier(ErrorSupport support, java.lang.String id)
          Creates a new instance with an error message.
 
Method Summary
 
Methods inherited from class com.gridsystems.config.tools.NumberVerifier
cleanErrors, verify
 
Methods inherited from class com.gridsystems.config.tools.TextVerifier
updateError, verify
 
Methods inherited from class javax.swing.InputVerifier
shouldYieldFocus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_PORT_NUMBER

public static final int MAX_PORT_NUMBER
Maximum allowed port number.

See Also:
Constant Field Values
Constructor Detail

PortVerifier

public PortVerifier(ErrorSupport support)
Creates a new instance with an error message.

Parameters:
support - The ErrorSupport instance

PortVerifier

public PortVerifier(ErrorSupport support,
                    java.lang.String id)
Creates a new instance with an error message.

Parameters:
support - The ErrorSupport instance
id - The error identifier


Copyright © 2007-2008 Grid Systems, S.A.. All Rights Reserved.