org.jsurveylib.gui.swing.renderer
Class QuestionToRenderer

java.lang.Object
  extended by org.jsurveylib.gui.swing.renderer.QuestionToRenderer
All Implemented Interfaces:
Visitor

public class QuestionToRenderer
extends java.lang.Object
implements Visitor

FOR INTERNAL USE ONLY.

Copyright (c)2007, Daniel Kaplan

Since:
7.10.30
Author:
Daniel Kaplan

Constructor Summary
QuestionToRenderer(java.lang.String browseString)
           
 
Method Summary
 SurveyElementRenderer getRenderer()
           
 void visit(CheckboxQuestion type)
           
 void visit(DropdownQuestion type)
           
 void visit(FileChooserQuestion type)
           
 void visit(Label type)
           
 void visit(Page page)
           
 void visit(RadioButtonsQuestion type)
           
 void visit(Survey survey)
           
 void visit(TextAreaQuestion type)
           
 void visit(TextFieldQuestion type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuestionToRenderer

public QuestionToRenderer(java.lang.String browseString)
Method Detail

visit

public void visit(Survey survey)
Specified by:
visit in interface Visitor

visit

public void visit(Page page)
Specified by:
visit in interface Visitor

visit

public void visit(CheckboxQuestion type)
Specified by:
visit in interface Visitor

visit

public void visit(DropdownQuestion type)
Specified by:
visit in interface Visitor

visit

public void visit(FileChooserQuestion type)
Specified by:
visit in interface Visitor

visit

public void visit(RadioButtonsQuestion type)
Specified by:
visit in interface Visitor

visit

public void visit(TextFieldQuestion type)
Specified by:
visit in interface Visitor

visit

public void visit(TextAreaQuestion type)
Specified by:
visit in interface Visitor

visit

public void visit(Label type)
Specified by:
visit in interface Visitor

getRenderer

public SurveyElementRenderer getRenderer()