|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.gudy.azureus2.ui.swt.shells.AbstractWizardPage
public abstract class AbstractWizardPage
Field Summary | |
---|---|
static String |
BUTTON_BACK
|
static String |
BUTTON_CANCEL
|
static String |
BUTTON_NEXT
|
static String |
BUTTON_OK
|
protected org.eclipse.swt.events.SelectionListener |
defaultButtonListener
|
Constructor Summary | |
---|---|
AbstractWizardPage(MultipageWizard wizard)
|
Method Summary | |
---|---|
protected org.eclipse.swt.widgets.Button |
createButton(String buttonID,
String buttonText,
org.eclipse.swt.events.SelectionListener listener)
|
protected void |
createButtons(org.eclipse.swt.widgets.Composite buttonPanel)
Default buttons include Cancel, OK, Next, and Back Subclasses may override to add more buttons or create a custom set of buttons |
org.eclipse.swt.widgets.Composite |
createControls(org.eclipse.swt.widgets.Composite parent)
Returns the main Composite where subclasses can create controls |
protected void |
enableButton(String buttonID,
boolean value)
Enable/Disable the button with the given id |
void |
fullScreen(boolean isFullScreen)
|
protected org.eclipse.swt.widgets.Button |
getButton(String buttonID)
Return the Button with the given id; returns null if button is not found |
org.eclipse.swt.widgets.Control |
getControl()
|
String |
getDesciption()
|
String |
getTitle()
|
String |
getWindowTitle()
|
MultipageWizard |
getWizard()
|
boolean |
isComplete()
|
boolean |
isInitOnStartup()
|
void |
performAboutToBeHidden()
|
void |
performAboutToBeShown()
|
void |
performBack()
Called when the default Back button is pressed |
void |
performCancel()
Called when the default Cancel button is pressed |
void |
performDispose()
|
void |
performFinish()
|
void |
performNext()
Called when the default Next button is pressed |
void |
performOK()
called when the default OK button is pressed |
boolean |
setComplete()
|
protected void |
showButton(String buttonID,
boolean value)
Show or hide the button with the given id |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.gudy.azureus2.ui.swt.shells.IWizardPage |
---|
getPageID |
Field Detail |
---|
public static final String BUTTON_OK
public static final String BUTTON_CANCEL
public static final String BUTTON_NEXT
public static final String BUTTON_BACK
protected org.eclipse.swt.events.SelectionListener defaultButtonListener
Constructor Detail |
---|
public AbstractWizardPage(MultipageWizard wizard)
Method Detail |
---|
public org.eclipse.swt.widgets.Composite createControls(org.eclipse.swt.widgets.Composite parent)
createControls
in interface IWizardPage
public void fullScreen(boolean isFullScreen)
protected void createButtons(org.eclipse.swt.widgets.Composite buttonPanel)
buttonPanel
- protected org.eclipse.swt.widgets.Button createButton(String buttonID, String buttonText, org.eclipse.swt.events.SelectionListener listener)
protected void enableButton(String buttonID, boolean value)
buttonID
- value
- protected void showButton(String buttonID, boolean value)
buttonID
- value
- protected org.eclipse.swt.widgets.Button getButton(String buttonID)
Button
with the given id; returns null
if button is not found
buttonID
-
public void performOK()
public void performCancel()
public void performNext()
public void performBack()
public org.eclipse.swt.widgets.Control getControl()
getControl
in interface IWizardPage
public MultipageWizard getWizard()
getWizard
in interface IWizardPage
public String getDesciption()
getDesciption
in interface IWizardPage
public String getTitle()
getTitle
in interface IWizardPage
public String getWindowTitle()
getWindowTitle
in interface IWizardPage
public boolean isComplete()
isComplete
in interface IWizardPage
public void performDispose()
performDispose
in interface IWizardPage
public void performFinish()
performFinish
in interface IWizardPage
public boolean setComplete()
setComplete
in interface IWizardPage
public void performAboutToBeHidden()
performAboutToBeHidden
in interface IWizardPage
public void performAboutToBeShown()
performAboutToBeShown
in interface IWizardPage
public boolean isInitOnStartup()
isInitOnStartup
in interface IWizardPage
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |