Java 类com.vaadin.ui.renderers.TextRenderer 实例源码

项目:holon-vaadin    文件:ExampleListing.java   
public void listing5() {
    // tag::listing5[]
    PropertyListing listing = Components.listing.properties(PROPERTIES) //
            .render(ID, new NumberRenderer(Locale.US)) // <1>
            .render(ID, value -> String.valueOf(value), new TextRenderer()) // <2>
            .build();
    // end::listing5[]
}
项目:bean-grid    文件:BeanGridDefaultValueProvider.java   
@Override
public TextRenderer getRenderer(ColumnDefinition definition) {
    return new TextRenderer();
}
项目:cuba    文件:WebTextRenderer.java   
@Override
public TextRenderer getImplementation() {
    return (TextRenderer) super.getImplementation();
}
项目:cuba    文件:WebTextRenderer.java   
@Override
protected TextRenderer createImplementation() {
    return new TextRenderer(getNullRepresentation());
}