public class TextFeedbackWidget extends FeedbackWidget
FeedbackWidget.WidgetArray<O>
TYPE_CONTENT, TYPE_LIST, TYPE_MEDIA, TYPE_TEXT, TYPE_WEB, WIDGET_EXTRA, WIDGET_IMAGEURL, WIDGET_LABEL, WIDGET_LINKURL, WIDGET_SUBTITLE, WIDGET_TEXT, WIDGET_TITLE, WIDGET_URL
Constructor and Description |
---|
TextFeedbackWidget()
TextWidget构造方法
|
Modifier and Type | Method and Description |
---|---|
TextFeedbackWidget |
addExtra(java.lang.String key,
java.lang.String value)
增加自定义参数的k,v对
|
TextFeedbackWidget |
setText(java.lang.String text)
设置输出文本
|
addContent, addExtra, addWidget, setType, toString
public TextFeedbackWidget setText(java.lang.String text)
text
- 输出文本public TextFeedbackWidget addExtra(java.lang.String key, java.lang.String value)
addExtra
in class FeedbackWidget
key
- 键value
- 值