Search in sources :

Example 1 with KeySerializerDetailSerializer

use of com.revolsys.ui.html.serializer.KeySerializerDetailSerializer in project com.revolsys.open by revolsys.

the class HtmlUiBuilder method newDetailView.

public ElementContainer newDetailView(final Object object, final List<KeySerializer> serializers) {
    final KeySerializerDetailSerializer model = new KeySerializerDetailSerializer(serializers);
    model.setObject(object);
    final DetailView detailView = new DetailView(model, this.typeName);
    return new ElementContainer(detailView);
}
Also used : ElementContainer(com.revolsys.ui.html.view.ElementContainer) TabElementContainer(com.revolsys.ui.html.view.TabElementContainer) KeySerializerDetailSerializer(com.revolsys.ui.html.serializer.KeySerializerDetailSerializer) DetailView(com.revolsys.ui.html.view.DetailView)

Aggregations

KeySerializerDetailSerializer (com.revolsys.ui.html.serializer.KeySerializerDetailSerializer)1 DetailView (com.revolsys.ui.html.view.DetailView)1 ElementContainer (com.revolsys.ui.html.view.ElementContainer)1 TabElementContainer (com.revolsys.ui.html.view.TabElementContainer)1