com.borland.primetime.ui
Interface DialogValidator


public interface DialogValidator

Implementations of the DialogValidator interface can accept or reject an attempt to dismiss a DefaultDialog instance using the "OK" button.


Method Summary
 boolean validateDialog()
          Checks the dialog for valid content before the current settings are accepted.
 

Method Detail

validateDialog

public boolean validateDialog()
Checks the dialog for valid content before the current settings are accepted. If the DialogValidator implementation determines that the contents are not valid it is also responsible for indicating the nature of the problem to the user.
Returns:
True if the dialog can be closed using the "OK" button, false otherwise.