|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.struts.action.ActionForm | +--openfuture.util.forms.QueryAnswerForm
Form bean for yes/no questions.
Created: Mon Mar 05 07:21:43 2001
Fields inherited from class org.apache.struts.action.ActionForm |
multipartRequestHandler, servlet |
Constructor Summary | |
QueryAnswerForm(java.lang.String title,
java.lang.String question,
java.util.LinkedList messages,
java.lang.String yesText,
java.lang.String noText,
java.lang.String yesUrl,
java.lang.String noUrl)
Creates a new form instance. |
Method Summary | |
java.util.LinkedList |
getMessages()
Returns the messages to be displayed. |
java.lang.String |
getNoText()
Get the value of noText. |
java.lang.String |
getNoUrl()
Get the value of noUrl. |
java.lang.String |
getQuestion()
Get the value of question. |
java.lang.String |
getTitle()
Returns the title to be displayed. |
java.lang.String |
getYesText()
Get the value of yesText. |
java.lang.String |
getYesUrl()
Get the value of yesUrl. |
void |
setMessages(java.util.LinkedList v)
Set the messages to be displayed. |
void |
setNoText(java.lang.String v)
Set the value of noText. |
void |
setNoUrl(java.lang.String v)
Set the value of noUrl. |
void |
setQuestion(java.lang.String v)
Set the value of question. |
void |
setTitle(java.lang.String v)
Set the title to be displayed. |
void |
setYesText(java.lang.String v)
Set the value of yesText. |
void |
setYesUrl(java.lang.String v)
Set the value of yesUrl. |
Methods inherited from class org.apache.struts.action.ActionForm |
getMultipartRequestHandler, getServlet, getServletWrapper, reset, reset, setMultipartRequestHandler, setServlet, validate, validate, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public QueryAnswerForm(java.lang.String title, java.lang.String question, java.util.LinkedList messages, java.lang.String yesText, java.lang.String noText, java.lang.String yesUrl, java.lang.String noUrl)
title
- page titlequestion
- question to be posedmessages
- messages to be displayedyesText
- Text of the YES linknoText
- Text of the no linkyesUrl
- URL of the YES linknoUrl
- URL of the NO linkMethod Detail |
public java.lang.String getTitle()
public void setTitle(java.lang.String v)
v
- the title.public java.util.LinkedList getMessages()
public void setMessages(java.util.LinkedList v)
v
- the list of messages.public java.lang.String getYesText()
public void setYesText(java.lang.String v)
v
- Value to assign to yesText.public java.lang.String getNoText()
public void setNoText(java.lang.String v)
v
- Value to assign to noText.public java.lang.String getYesUrl()
public void setYesUrl(java.lang.String v)
v
- Value to assign to yesUrl.public java.lang.String getNoUrl()
public void setNoUrl(java.lang.String v)
v
- Value to assign to noUrl.public java.lang.String getQuestion()
public void setQuestion(java.lang.String v)
v
- Value to assign to question.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |