Class FGrid.AbstractRenderer<T>

java.lang.Object
com.vaadin.featurepack.ui.FGrid.AbstractGridExtension
com.vaadin.featurepack.ui.FGrid.AbstractRenderer<T>
Type Parameters:
T - the type this renderer knows how to present
All Implemented Interfaces:
ClientConnector, FAbstractClientConnector, Renderer<T>, Serializable
Direct Known Subclasses:
ClickableRenderer, DateRenderer, FComponentRenderer, HtmlRenderer, TextRenderer
Enclosing class:
FGrid

public abstract static class FGrid.AbstractRenderer<T> extends FGrid.AbstractGridExtension implements Renderer<T>
An abstract base class for server-side Grid renderers. Feature-pack AbstractRenderer needs to implement Renderer.getRenderer() to return Flow renderer.
See Also:
  • Constructor Details

    • AbstractRenderer

      protected AbstractRenderer(Class<T> presentationType, String nullRepresentation)
  • Method Details

    • getPresentationType

      public Class<T> getPresentationType()
      Description copied from interface: Renderer
      Returns the class literal corresponding to the presentation type T.
      Specified by:
      getPresentationType in interface Renderer<T>
      Returns:
      the class literal of T
    • getNullRepresentation

      protected String getNullRepresentation()
      Null representation for the renderer
      Returns:
      a textual representation of null
    • setPropertyId

      public void setPropertyId(Object propertyId)
    • getPropertyId

      public Object getPropertyId()