Package com.google.gwt.text.shared
Class ToStringRenderer
A simple renderer that uses
Object.toString()
of the object.-
Constructor Summary
ConstructorDescriptionToStringRenderer
(String textForNull) Constructs aToStringRenderer
that uses customtextForNull
fornull
objects. -
Method Summary
Modifier and TypeMethodDescriptionstatic ToStringRenderer
instance()
Returns aToStringRenderer
that uses empty string fornull
objects.Rendersobject
as plain text.Methods inherited from class com.google.gwt.text.shared.AbstractRenderer
render
-
Constructor Details
-
ToStringRenderer
Constructs aToStringRenderer
that uses customtextForNull
fornull
objects.
-
-
Method Details
-
instance
Returns aToStringRenderer
that uses empty string fornull
objects. -
render
Description copied from interface:Renderer
Rendersobject
as plain text. Should never throw any exceptions!
-