protected static abstract class

BidiFormatterBase.Factory

extends Object
java.lang.Object
   ↳ com.google.gwt.i18n.shared.BidiFormatterBase.Factory<T extends com.google.gwt.i18n.shared.BidiFormatterBase>

Class Overview

Abstract factory class for BidiFormatterBase. BidiFormatterBase subclasses will usually have a non-abstract inner Factory class subclassed from this one, and use a static member of that class in order to prevent the needless creation of objects. For example, see BidiFormatter.

Summary

Public Constructors
BidiFormatterBase.Factory()
Public Methods
abstract T createInstance(HasDirection.Direction contextDir, boolean alwaysSpan)
T getInstance(HasDirection.Direction contextDir, boolean alwaysSpan)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public BidiFormatterBase.Factory ()

Public Methods

public abstract T createInstance (HasDirection.Direction contextDir, boolean alwaysSpan)

public T getInstance (HasDirection.Direction contextDir, boolean alwaysSpan)