net.sf.fmj.ui.objeditor
Class ComponentValidator

java.lang.Object
  extended by net.sf.fmj.ui.objeditor.ComponentValidator

public class ComponentValidator
extends java.lang.Object

Author:
Ken Larson

Constructor Summary
ComponentValidator()
           
 
Method Summary
 void validateInteger(javax.swing.JComboBox c, javax.swing.JLabel label)
           
 void validateInteger(javax.swing.JTextField f, javax.swing.JLabel label)
           
 void validateNotEmpty(javax.swing.JComboBox c, javax.swing.JLabel label)
           
 void validateNotEmpty(javax.swing.JTextField f, javax.swing.JLabel label)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentValidator

public ComponentValidator()
Method Detail

validateNotEmpty

public void validateNotEmpty(javax.swing.JTextField f,
                             javax.swing.JLabel label)
                      throws ComponentValidationException
Throws:
ComponentValidationException

validateNotEmpty

public void validateNotEmpty(javax.swing.JComboBox c,
                             javax.swing.JLabel label)
                      throws ComponentValidationException
Throws:
ComponentValidationException

validateInteger

public void validateInteger(javax.swing.JComboBox c,
                            javax.swing.JLabel label)
                     throws ComponentValidationException
Throws:
ComponentValidationException

validateInteger

public void validateInteger(javax.swing.JTextField f,
                            javax.swing.JLabel label)
                     throws ComponentValidationException
Throws:
ComponentValidationException