站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc 5.0.0

WizardDescriptor.ValidatingPanel (NetBeans Dialogs API) - NetBeans API Javadoc 5.0.0

 

org.openide
Interface WizardDescriptor.ValidatingPanel

All Superinterfaces:
WizardDescriptor.Panel
All Known Subinterfaces:
WizardDescriptor.AsynchronousValidatingPanel
Enclosing interface:
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

public 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

 

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