Class TextRenderer
java.lang.Object
com.vaadin.featurepack.ui.FGrid.AbstractGridExtension
com.vaadin.featurepack.ui.FGrid.AbstractRenderer<String>
com.vaadin.featurepack.ui.renderers.TextRenderer
- All Implemented Interfaces:
ClientConnector,FAbstractClientConnector,Renderer<String>,Serializable
A renderer for presenting simple plain-text string values.
- Author:
- Vaadin Ltd
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.vaadin.featurepack.server.ClientConnector
ClientConnector.AttachEvent, ClientConnector.AttachListener, ClientConnector.DetachEvent, ClientConnector.DetachListenerNested classes/interfaces inherited from interface com.vaadin.featurepack.server.FAbstractClientConnector
FAbstractClientConnector.LegacyMethodEvent -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new text rendererTextRenderer(String nullRepresentation) Creates a new text renderer -
Method Summary
Modifier and TypeMethodDescriptionNull representation for the renderercom.vaadin.flow.data.renderer.Renderer<String> Returns the Flow Renderer that will be used to render the items of type T.Methods inherited from class com.vaadin.featurepack.ui.FGrid.AbstractRenderer
getPresentationType, getPropertyId, setPropertyIdMethods inherited from class com.vaadin.featurepack.ui.FGrid.AbstractGridExtension
getColumn, getFParent, getItemId, getItemId, getParentGrid, refreshRow, setParentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.featurepack.server.ClientConnector
getFParentMethods inherited from interface com.vaadin.featurepack.server.FAbstractClientConnector
addLegacyAttachListener, addLegacyDetachListener, addListener, addListener, attach, beforeClientResponse, detach, doConnectorOnAttach, doConnectorOnDetach, fireEvent, fireEvent, getAllChildrenIterable, getFListeners, getFlowComponent, getResource, hasListeners, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeListener, removeListener, setResource
-
Constructor Details
-
TextRenderer
public TextRenderer()Creates a new text renderer -
TextRenderer
Creates a new text renderer- Parameters:
nullRepresentation- the textual representation ofnullvalue
-
-
Method Details
-
getNullRepresentation
Description copied from class:FGrid.AbstractRendererNull representation for the renderer- Overrides:
getNullRepresentationin classFGrid.AbstractRenderer<String>- Returns:
- a textual representation of
null
-
getRenderer
Description copied from interface:RendererReturns the Flow Renderer that will be used to render the items of type T.- Returns:
- the Flow Renderer for type T
-