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

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

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 March 26 2007.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.