|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Dialog
javax.swing.JDialog
net.javaprog.ui.wizard.Wizard
The main component class.
| Nested Class Summary |
| Nested classes inherited from class javax.swing.JDialog |
JDialog.AccessibleJDialog |
| Nested classes inherited from class java.awt.Dialog |
Dialog.AccessibleAWTDialog |
| Nested classes inherited from class java.awt.Window |
Window.AccessibleAWTWindow |
| Nested classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
| Nested classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary | |
static String |
HELP_LISTENER_PROPERTY
The property name for the help listener. |
protected ImageIcon |
icon
An icon representing the wizard. |
protected WizardModel |
model
The wizard's model. |
static String |
STEP_DESCRIPTION_RENDERER_PROPERTY
The property name for the step description renderer. |
static String |
STEP_LIST_RENDERER_PROPERTY
The property name for the step list renderer. |
protected StepDescriptionRenderer |
stepDescriptionRenderer
The renderer for the step description. |
protected StepListRenderer |
stepListRenderer
The renderer for the step list. |
| Fields inherited from class javax.swing.JDialog |
accessibleContext, rootPane, rootPaneCheckingEnabled |
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface javax.swing.WindowConstants |
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
Wizard(Frame parent,
WizardModel model,
String title)
Creates a new wizard from the given model with the given title. |
|
Wizard(Frame parent,
WizardModel model,
String title,
ImageIcon icon)
Creates a new wizard from the given model with the given title and image. |
|
Wizard(WizardModel model,
String title)
Creates a new wizard from the given model with the given title. |
|
Wizard(WizardModel model,
String title,
ImageIcon icon)
Creates a new wizard from the given model with the given title and image. |
|
| Method Summary | |
void |
enableHelp(ActionListener listener)
Enables help using the given action listener. |
ImageIcon |
getImageIcon()
Returns the image that is used to represent the wizard. |
WizardModel |
getModel()
Returns the wizard's model. |
StepDescriptionRenderer |
getStepDescriptionRenderer()
Returns the renderer for the step description. |
StepListRenderer |
getStepListRenderer()
Returns the renderer for the step list. |
void |
setStepDescriptionRenderer(StepDescriptionRenderer renderer)
Overrides the step description renderer property. |
void |
setStepListRenderer(StepListRenderer renderer)
Overrides the step list renderer property. |
| Methods inherited from class java.awt.Dialog |
addNotify, dispose, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setResizable, setTitle, setUndecorated, show |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final String STEP_LIST_RENDERER_PROPERTY
public static final String STEP_DESCRIPTION_RENDERER_PROPERTY
public static final String HELP_LISTENER_PROPERTY
enableHelp(ActionListener),
Constant Field Valuesprotected WizardModel model
getModel()protected ImageIcon icon
getImageIcon()protected StepListRenderer stepListRenderer
getStepListRenderer(),
setStepListRenderer(StepListRenderer)protected StepDescriptionRenderer stepDescriptionRenderer
getStepDescriptionRenderer(),
setStepDescriptionRenderer(StepDescriptionRenderer)| Constructor Detail |
public Wizard(WizardModel model,
String title)
model - the wizard's step modeltitle - the string displayed in the dialog's title bar
public Wizard(Frame parent,
WizardModel model,
String title)
parent - the wizard's parent frame.model - the wizard's step modeltitle - the string displayed in the dialog's title bar
public Wizard(WizardModel model,
String title,
ImageIcon icon)
model - the wizard's step modeltitle - the string displayed in the dialog's title baricon - the image representing the wizardgetModel(),
getImageIcon()
public Wizard(Frame parent,
WizardModel model,
String title,
ImageIcon icon)
parent - the wizard's parent frame.model - the wizard's step modeltitle - the string displayed in the dialog's title baricon - the image representing the wizardgetModel(),
getImageIcon()| Method Detail |
public WizardModel getModel()
public ImageIcon getImageIcon()
public StepListRenderer getStepListRenderer()
public void setStepListRenderer(StepListRenderer renderer)
renderer - the new object to render to step listpublic StepDescriptionRenderer getStepDescriptionRenderer()
public void setStepDescriptionRenderer(StepDescriptionRenderer renderer)
renderer - the new object to renderer the step descriptionpublic void enableHelp(ActionListener listener)
JavaHelpSupport.
listener - the ActionListener to notify on help requests
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||