org.gudy.azureus2.ui.swt.wizard
Class Wizard
java.lang.Object
org.gudy.azureus2.ui.swt.wizard.Wizard
- Direct Known Subclasses:
- BetaWizard, ConfigureWizard, ExportTorrentWizard, ImportTorrentWizard, InstallPluginWizard, IpCheckerWizard, NewTorrentWizard, SpeedTestWizard, UnInstallPluginWizard
public class Wizard
- extends java.lang.Object
- Author:
- Olivier
Field Summary |
protected org.eclipse.swt.widgets.Button |
cancel
|
protected org.eclipse.swt.widgets.Button |
finish
|
protected org.eclipse.swt.widgets.Button |
next
|
protected org.eclipse.swt.widgets.Button |
previous
|
Constructor Summary |
Wizard(boolean modal)
|
Wizard(boolean modal,
int width)
|
Wizard(java.lang.String keyTitle)
|
Wizard(java.lang.String keyTitle,
boolean modal)
|
Wizard(java.lang.String keyTitle,
boolean modal,
int width)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
previous
protected org.eclipse.swt.widgets.Button previous
next
protected org.eclipse.swt.widgets.Button next
finish
protected org.eclipse.swt.widgets.Button finish
cancel
protected org.eclipse.swt.widgets.Button cancel
Wizard
public Wizard(java.lang.String keyTitle)
Wizard
public Wizard(java.lang.String keyTitle,
boolean modal)
Wizard
public Wizard(java.lang.String keyTitle,
boolean modal,
int width)
Wizard
public Wizard(boolean modal)
Wizard
public Wizard(boolean modal,
int width)
getPanel
public org.eclipse.swt.widgets.Composite getPanel()
setTitle
public void setTitle(java.lang.String title)
setTitleAsResourceID
public void setTitleAsResourceID(java.lang.String id)
setCurrentInfo
public void setCurrentInfo(java.lang.String currentInfo)
setErrorMessage
public void setErrorMessage(java.lang.String errorMessage)
setTitleKey
public void setTitleKey(java.lang.String key)
setNextEnabled
public void setNextEnabled(boolean enabled)
setPreviousEnabled
public void setPreviousEnabled(boolean enabled)
setFinishEnabled
public void setFinishEnabled(boolean enabled)
setFirstPanel
public void setFirstPanel(IWizardPanel<?> panel)
getWizardWindow
public org.eclipse.swt.widgets.Shell getWizardWindow()
getErrorMessage
public java.lang.String getErrorMessage()
getDisplay
public org.eclipse.swt.widgets.Display getDisplay()
switchToClose
public void switchToClose()
switchToClose
public void switchToClose(java.lang.Runnable do_it)
close
public void close()
onClose
public void onClose()
getCurrentPanel
public IWizardPanel<?> getCurrentPanel()
- Returns:
- Returns the currentPanel.
addListener
public void addListener(WizardListener l)
removeListener
public void removeListener(WizardListener l)