net.luniks.swing
Interface TextValidatorCellEditor.Validator

Enclosing interface:
TextValidatorCellEditor

public static interface TextValidatorCellEditor.Validator

Interface for TextValidatorCellEditor


Method Summary
 boolean validate(java.lang.String text)
          This method is called when the user stops editing the cell, for example by pressing enter, with the text the user has entered as argument.
 

Method Detail

validate

public boolean validate(java.lang.String text)
This method is called when the user stops editing the cell, for example by pressing enter, with the text the user has entered as argument. If validation has failed, the method could show a JOptionPane to inform the user and then return false. If validation was OK, it returns true.



Copyright (c) 2004, 2005 Torsten Römer, dode@luniks.net