|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.awt.Component
|
+--java.awt.Container
|
+--java.awt.Window
|
+--java.awt.Dialog
|
+--javax.swing.JDialog
|
+--net.javaprog.ui.wizard.Wizard
The main component class.
| 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(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 HELP_LISTENER_PROPERTY
enableHelp(ActionListener),
Constant Field Valuesprotected ImageIcon icon
getImageIcon()protected WizardModel model
getModel()public static final String STEP_DESCRIPTION_RENDERER_PROPERTY
public static final String STEP_LIST_RENDERER_PROPERTY
protected StepDescriptionRenderer stepDescriptionRenderer
getStepDescriptionRenderer(),
setStepDescriptionRenderer(StepDescriptionRenderer)protected StepListRenderer stepListRenderer
getStepListRenderer(),
setStepListRenderer(StepListRenderer)| 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(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()| Method Detail |
public void enableHelp(ActionListener listener)
JavaHelpSupport.
listener - the ActionListener to notify on help requestspublic ImageIcon getImageIcon()
public WizardModel getModel()
public StepDescriptionRenderer getStepDescriptionRenderer()
public StepListRenderer getStepListRenderer()
public void setStepDescriptionRenderer(StepDescriptionRenderer renderer)
renderer - the new object to renderer the step descriptionpublic void setStepListRenderer(StepListRenderer renderer)
renderer - the new object to render to step list
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||