Constructor and Description |
---|
PollChatlet() |
Modifier and Type | Method and Description |
---|---|
Chatlet |
alias(java.lang.String type)
After calling this method, replies to this chatlet
will go to the method annotated with @OnAlias
|
Reply |
createReply()
Creates a new reply that will go as a reply to this chatlet.
|
java.lang.String[] |
getAlias()
Get alias assigned to the chatlet.
|
java.lang.String |
getFormId() |
java.lang.String |
raw() |
PollChatlet |
setDetailsLabel(java.lang.String detailsLabel) |
void |
setFormId(java.lang.String formid)
Assign a form id to the chatlet
|
PollChatlet |
setQuestion(java.lang.String question) |
PollChatlet |
setQuestionHtml(java.lang.String question) |
void |
setXSLTForChatlet(java.lang.String xslt)
This method allows to set the xslt to be used for rendering the chatlet.
|
PollChatlet |
showDetails(boolean show) |
public PollChatlet setQuestion(java.lang.String question)
public PollChatlet setQuestionHtml(java.lang.String question)
public PollChatlet setDetailsLabel(java.lang.String detailsLabel)
public PollChatlet showDetails(boolean show)
public Reply createReply()
Chatlet
createReply
in interface Chatlet
public Chatlet alias(java.lang.String type)
Chatlet
public java.lang.String[] getAlias()
Chatlet
public java.lang.String raw()
public void setFormId(java.lang.String formid)
Message
public java.lang.String getFormId()
public void setXSLTForChatlet(java.lang.String xslt)
Chatlet
setXSLTForChatlet
in interface Chatlet