本文整理汇总了Java中com.google.gwt.safehtml.client.SafeHtmlTemplates类的典型用法代码示例。如果您正苦于以下问题:Java SafeHtmlTemplates类的具体用法?Java SafeHtmlTemplates怎么用?Java SafeHtmlTemplates使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
SafeHtmlTemplates类属于com.google.gwt.safehtml.client包,在下文中一共展示了SafeHtmlTemplates类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: image
import com.google.gwt.safehtml.client.SafeHtmlTemplates; //导入依赖的package包/类
@com.google.gwt.safehtml.client.SafeHtmlTemplates.Template("<img src=\'{0}\' alt='{1}' title='{1}' border=\'0\' width=\'{2}\' height=\'{3}\'>")
SafeHtml image(SafeUri var1, String tooltip, int var2, int var3);
示例2: logLine
import com.google.gwt.safehtml.client.SafeHtmlTemplates; //导入依赖的package包/类
@com.google.gwt.safehtml.client.SafeHtmlTemplates.Template("<p style=\"color: {1}; line-height: {2};\">{0}</p><br>")
SafeHtml logLine(String line, String color, String lineHeight);
示例3: img
import com.google.gwt.safehtml.client.SafeHtmlTemplates; //导入依赖的package包/类
@com.google.gwt.safehtml.client.SafeHtmlTemplates.Template("<div style=\"float: left\" title=\"{3}\"><img style=\"display: block; background:url({0}) no-repeat 0px 0px ; background-size: {1} {2}; width: {1}; height: {2};\"/></div>")
SafeHtml img(String url, String w, String h, String title);
示例4: cellNode
import com.google.gwt.safehtml.client.SafeHtmlTemplates; //导入依赖的package包/类
@SafeHtmlTemplates.Template("<div name=\"{0}\" style=\"{1}\"> {2}</div>")
SafeHtml cellNode(String name, SafeStyles styles, SafeHtml value);
示例5: outerDiv
import com.google.gwt.safehtml.client.SafeHtmlTemplates; //导入依赖的package包/类
@SafeHtmlTemplates.Template("<div class=\"{0}\" style=\"padding-left: {1}px; position:relative;zoom:1;\"><div>{2}</div></div>")
SafeHtml outerDiv(String aClasses, int padding, SafeHtml cellContents);
示例6: outerDiv
import com.google.gwt.safehtml.client.SafeHtmlTemplates; //导入依赖的package包/类
@SafeHtmlTemplates.Template("<div class='{0}' style='{1}'><div style='height:100%'>{2}</div></div>")
SafeHtml outerDiv(String aClasses, SafeStyles aStyle, SafeHtml cellContents);
示例7: content
import com.google.gwt.safehtml.client.SafeHtmlTemplates; //导入依赖的package包/类
@SafeHtmlTemplates.Template("<div class=\"{0}\">{1}</div>")
SafeHtml content(String classes, String cellContents);
示例8: cell
import com.google.gwt.safehtml.client.SafeHtmlTemplates; //导入依赖的package包/类
@SafeHtmlTemplates.Template("<a href=\"{0}\" target=\"{1}\">{2}</a>")
SafeHtml cell(String href, String target, String text);
示例9: content
import com.google.gwt.safehtml.client.SafeHtmlTemplates; //导入依赖的package包/类
@SafeHtmlTemplates.Template("<div role=\"button\" tabindex=0 class=\"{0}\"><div><div>{1}</div><div>{2}</div><div>{3}</div></div><div><span class=\"{4}\">{5}</span></div></div>")
SafeHtml content(String class1, String cellTitle, String cellDistanceAverageTime, String lastUpdated, String textColor, String currentTime);
示例10: content
import com.google.gwt.safehtml.client.SafeHtmlTemplates; //导入依赖的package包/类
@SafeHtmlTemplates.Template("<div class=\"{0}\"><div><video width=\"320\" height=\"240\" poster=\"{1}\" controls><source src=\"{2}\" type=\"video/mp4\"></video><div></div>")
SafeHtml content(String class1, String posterUrl, String videoUrl);
示例11: content
import com.google.gwt.safehtml.client.SafeHtmlTemplates; //导入依赖的package包/类
@SafeHtmlTemplates.Template("<div class=\"{0}\"><div><img class=\"{1}\" src=\"{2}\" onload=\"refreshPanel();\"></div></div>")
SafeHtml content(String class1, String class2, String cellContents);
示例12: content
import com.google.gwt.safehtml.client.SafeHtmlTemplates; //导入依赖的package包/类
@SafeHtmlTemplates.Template("<div role=\"button\" tabindex=\"0\"> <div class=\"{0}\"> <div><img class=\"{1}\" src=\"{2}\" onload=\"refreshPanel();\"></div></div> <div class=\"{3}\"><div class=\"{4}\"></div><div class=\"{5}\"><div>{6}</div><div>{7}</div><div>{8}</div></div></div></div>")
SafeHtml content(String class1, String class2, String mediaImage, String class3, String cellImage, String class4, String cellContents, SafeHtml description, String lastUpdated);
示例13: content
import com.google.gwt.safehtml.client.SafeHtmlTemplates; //导入依赖的package包/类
@SafeHtmlTemplates.Template("<div role=\"button\" tabindex=\"0\" class=\"{0}\"><div class=\"{1}\"></div><div class=\"{2}\"><div>{3}</div><div>{4}</div><div>{5}</div></div></div>")
SafeHtml content(String class1, String cellImage, String class2, String cellContents, String description, String lastUpdated);
示例14: content
import com.google.gwt.safehtml.client.SafeHtmlTemplates; //导入依赖的package包/类
@SafeHtmlTemplates.Template("<div role=\"button\" tabindex=0 class=\"{0}\"><div>{1}</div><div></div><div>{2}</div></div>")
SafeHtml content(String class1, SafeHtml description, String lastUpdated);
示例15: content
import com.google.gwt.safehtml.client.SafeHtmlTemplates; //导入依赖的package包/类
@SafeHtmlTemplates.Template("<div role=\"button\" tabindex=0 class=\"{0}\"><div></div><div>{1}</div><div>{2}</div></div>")
SafeHtml content(String class1, SafeHtml description, String lastUpdated);