List of usage examples for com.google.gwt.dom.builder.shared HtmlElementBuilderBase title
@Override
public R title(String title)
From source file:cc.alcina.framework.gwt.client.cell.FunctionalCell.java
License:Apache License
@Override public void render(Context context, FunctionalTuple value, SafeHtmlBuilder sb) { HtmlBuilderFactory factory = HtmlBuilderFactory.get(); HtmlElementBuilderBase builderBase = null; if (value.href != null) { HtmlAnchorBuilder builder = factory.createAnchorBuilder(); builderBase = builder;// ww w . j a v a 2 s. c o m builder.href(value.href); } else if (value.place != null) { HtmlAnchorBuilder builder = factory.createAnchorBuilder(); builderBase = builder; builder.href("#" + RegistryHistoryMapper.get().getToken(value.place)); } else { HtmlSpanBuilder builder = factory.createSpanBuilder(); builderBase = builder; } if (value.title != null) { builderBase.title(value.title); } builderBase.text(value.text); sb.append(builderBase.asSafeHtml()); }