org.openide.dialogs 6.5.31

org.openide
Interface WizardDescriptor.ValidatingPanel

All Superinterfaces:
WizardDescriptor.Panel
All Known Subinterfaces:
WizardDescriptor.AsynchronousValidatingPanel
Enclosing class:
WizardDescriptor

public static interface WizardDescriptor.ValidatingPanel
extends WizardDescriptor.Panel

A special interface for panels that need to do additional validation when Next or Finish button is clicked.

Since:
4.28

Method Summary
 void validate()
          Is called when Next of Finish buttons are clicked and allows deeper check to find out that panel is in valid state and it is ok to leave it.
 
Methods inherited from interface org.openide.WizardDescriptor.Panel
addChangeListener, getComponent, getHelp, isValid, readSettings, removeChangeListener, storeSettings
 

Method Detail

validate

void validate()
              throws WizardValidationException
Is called when Next of Finish buttons are clicked and allows deeper check to find out that panel is in valid state and it is ok to leave it.

Throws:
WizardValidationException - when validation fails
Since:
4.28

org.openide.dialogs 6.5.31

Built on July 11 2007.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.