GWT 2.7.0

com.google.gwt.text.client
Class DoubleRenderer

java.lang.Object
  extended by com.google.gwt.text.shared.AbstractRenderer<java.lang.Double>
      extended by com.google.gwt.text.client.DoubleRenderer
All Implemented Interfaces:
Renderer<java.lang.Double>

public class DoubleRenderer
extends AbstractRenderer<java.lang.Double>

A localized renderer based on NumberFormat.getDecimalFormat().


Constructor Summary
protected DoubleRenderer()
           
 
Method Summary
static Renderer<java.lang.Double> instance()
          Returns the instance.
 java.lang.String render(java.lang.Double object)
          Renders object as plain text.
 
Methods inherited from class com.google.gwt.text.shared.AbstractRenderer
render
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DoubleRenderer

protected DoubleRenderer()
Method Detail

instance

public static Renderer<java.lang.Double> instance()
Returns the instance.


render

public java.lang.String render(java.lang.Double object)
Description copied from interface: Renderer
Renders object as plain text. Should never throw any exceptions!


GWT 2.7.0