cmu.survey.objects.renderers.html
Class ButtonHTMLRenderer

java.lang.Object
  extended by cmu.survey.objects.renderers.html.ButtonHTMLRenderer

public class ButtonHTMLRenderer
extends java.lang.Object


Field Summary
static java.lang.String SubmitButtonName
           
 
Constructor Summary
ButtonHTMLRenderer()
           
 
Method Summary
 java.lang.String getDeleteInJavaScript(boolean timeResponses)
           
 java.lang.String getDeleteInJavaScript(Survey survey)
           
 java.lang.String getSubmitInJavaScript(Survey survey)
           
 java.lang.String renderButton(ButtonObject button, boolean timeResponses)
           
 java.lang.String renderButton(ButtonObject button, Survey survey)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SubmitButtonName

public static final java.lang.String SubmitButtonName
See Also:
Constant Field Values
Constructor Detail

ButtonHTMLRenderer

public ButtonHTMLRenderer()
Method Detail

getSubmitInJavaScript

public java.lang.String getSubmitInJavaScript(Survey survey)

getDeleteInJavaScript

public java.lang.String getDeleteInJavaScript(Survey survey)

getDeleteInJavaScript

public java.lang.String getDeleteInJavaScript(boolean timeResponses)

renderButton

public java.lang.String renderButton(ButtonObject button,
                                     Survey survey)

renderButton

public java.lang.String renderButton(ButtonObject button,
                                     boolean timeResponses)