net.javaprog.ui.wizard
Interface StepDescriptionRenderer

All Known Implementing Classes:
MetalStepDescriptionRenderer, MetalStepDescriptionRenderer.UIResource, WindowsStepDescriptionRenderer, WindowsStepDescriptionRenderer.UIResource

public interface StepDescriptionRenderer

Provides an interface for rendering step meta information. Implementing classes should subclass an appropriate java.awt.Component subclass and return a reference to themselves:

 public class MyStepDescriptionRenderer
     extends JPanel implements StepDescriptionRenderer {

     public Component getStepDescriptionRendererComponent(Wizard w) {
         return this;
     }
     ...
 }
 

Author:
Michael Rudolf

Method Summary
 Component getStepDescriptionRendererComponent(Wizard wizard)
          Returns a component capable of rendering step meta information.
 void updateStepDescription(Step step)
          Called to update the display for the given step.
 

Method Detail

getStepDescriptionRendererComponent

Component getStepDescriptionRendererComponent(Wizard wizard)
Returns a component capable of rendering step meta information.


updateStepDescription

void updateStepDescription(Step step)
Called to update the display for the given step.