net.javaprog.ui.wizard.plaf.windows
Class WindowsWizardContentPaneUI

java.lang.Object
  |
  +--javax.swing.plaf.ComponentUI
        |
        +--net.javaprog.ui.wizard.plaf.WizardContentPaneUI
              |
              +--net.javaprog.ui.wizard.plaf.basic.BasicWizardContentPaneUI
                    |
                    +--net.javaprog.ui.wizard.plaf.windows.WindowsWizardContentPaneUI

public class WindowsWizardContentPaneUI
extends BasicWizardContentPaneUI

Adapts the wizard's content pane to the Windows look and feel. This implementations creates a custom WizardNavigator component in order to reflect the windows wizards' button layout (the next button changes to the finish button at the last step). Furthermore this UI delegate provides its own layout manager that shows the StepListRenderer only for the first and the last step and the StepDescriptionRenderer only for the steps in between.


Nested Class Summary
protected  class WindowsWizardContentPaneUI.WindowsWizardLayout
           
 
Nested classes inherited from class net.javaprog.ui.wizard.plaf.basic.BasicWizardContentPaneUI
BasicWizardContentPaneUI.BasicPropertyChangeHandler, BasicWizardContentPaneUI.BasicWizardModelHandler
 
Field Summary
 
Fields inherited from class net.javaprog.ui.wizard.plaf.basic.BasicWizardContentPaneUI
actionListener, currentStep, propertyChangeListener, stepDescriptionRenderer, stepListRenderer, windowListener, wizard, wizardContentPane, wizardModelListener, wizardNavigator
 
Constructor Summary
WindowsWizardContentPaneUI()
           
 
Method Summary
protected  LayoutManager createLayoutManager()
           
static ComponentUI createUI(JComponent c)
           
protected  BasicWizardNavigator createWizardNavigator()
           
protected  void updateStepComponent()
           
 
Methods inherited from class net.javaprog.ui.wizard.plaf.basic.BasicWizardContentPaneUI
createActionListener, createPropertyChangeListener, createWindowListener, createWizardModelListener, getPropertyPrefix, installComponents, installDefaults, installListeners, installUI, uninstallComponents, uninstallDefaults, uninstallListeners, uninstallUI, updateStepDescriptionRendererComponent, updateStepListRendererComponent
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getMaximumSize, getMinimumSize, getPreferredSize, paint, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WindowsWizardContentPaneUI

public WindowsWizardContentPaneUI()
Method Detail

createLayoutManager

protected LayoutManager createLayoutManager()
Overrides:
createLayoutManager in class BasicWizardContentPaneUI

createUI

public static ComponentUI createUI(JComponent c)

createWizardNavigator

protected BasicWizardNavigator createWizardNavigator()
Overrides:
createWizardNavigator in class BasicWizardContentPaneUI

updateStepComponent

protected void updateStepComponent()
Overrides:
updateStepComponent in class BasicWizardContentPaneUI