com.google.gwt.i18n.shared
Interface HasDirectionEstimator

All Known Implementing Classes:
AutoDirectionHandler, DoubleBox, IntegerBox, LongBox, PasswordTextBox, TextArea, TextBox, TextBoxBase, ValueBox, ValueBoxBase

public interface HasDirectionEstimator

Interface for objects that have a direction estimator.


Method Summary
 DirectionEstimator getDirectionEstimator()
           
 void setDirectionEstimator(boolean enabled)
          Toggles on / off direction estimation.
 void setDirectionEstimator(DirectionEstimator directionEstimator)
          Sets the DirectionEstimator object.
 

Method Detail

getDirectionEstimator

DirectionEstimator getDirectionEstimator()
Returns:
the DirectionEstimator object.

setDirectionEstimator

void setDirectionEstimator(boolean enabled)
Toggles on / off direction estimation.

Parameters:
enabled - Whether to enable direction estimation. If , sets the DirectionEstimator object to a default .

setDirectionEstimator

void setDirectionEstimator(DirectionEstimator directionEstimator)
Sets the DirectionEstimator object.

Parameters:
directionEstimator - The directionEstimator to be set. null means turning off direction estimation.