com.gridsystems.config.modules.jvm
Class MemSizeVerifier

java.lang.Object
  extended by javax.swing.InputVerifier
      extended by com.gridsystems.config.tools.TextVerifier
          extended by com.gridsystems.config.tools.PatternVerifier
              extended by com.gridsystems.config.modules.jvm.MemSizeVerifier

public class MemSizeVerifier
extends PatternVerifier

Verifies the correctness of a memory size value.

Version:
1.0
Author:
Rodrigo Ruiz Aguayo

Field Summary
 
Fields inherited from class com.gridsystems.config.tools.PatternVerifier
id, ID_ERROR
 
Fields inherited from class com.gridsystems.config.tools.TextVerifier
support
 
Constructor Summary
MemSizeVerifier(ErrorSupport support, java.lang.String id)
          Creates an instance of this verifier.
MemSizeVerifier(ErrorSupport support, java.lang.String id, boolean canBeEmpty)
          Creates an instance of this verifier.
 
Method Summary
 
Methods inherited from class com.gridsystems.config.tools.PatternVerifier
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
 

Constructor Detail

MemSizeVerifier

public MemSizeVerifier(ErrorSupport support,
                       java.lang.String id)
Creates an instance of this verifier.

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

MemSizeVerifier

public MemSizeVerifier(ErrorSupport support,
                       java.lang.String id,
                       boolean canBeEmpty)
Creates an instance of this verifier.

Parameters:
support - The ErrorSupport instance
id - The error identifier
canBeEmpty - Say us if this field can be empty.


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