org.cruxframework.crux.widgets.client.maskedtextbox
Class MaskedTextBoxBaseFormatter

java.lang.Object
  extended by org.cruxframework.crux.widgets.client.maskedtextbox.MaskedTextBoxBaseFormatter
All Implemented Interfaces:
org.cruxframework.crux.core.client.formatter.Formatter, org.cruxframework.crux.core.client.formatter.MaskedFormatter
Direct Known Subclasses:
FormatToFormatterConverter

public abstract class MaskedTextBoxBaseFormatter
extends Object
implements org.cruxframework.crux.core.client.formatter.MaskedFormatter

Base class for MaskedTextBox Formatters

Author:
Thiago da Rosa de Bustamante

Constructor Summary
MaskedTextBoxBaseFormatter()
           
MaskedTextBoxBaseFormatter(org.cruxframework.crux.core.client.collection.FastMap<String> definitions)
           
 
Method Summary
 void applyMask(com.google.gwt.user.client.ui.Widget widget)
           
 void applyMask(com.google.gwt.user.client.ui.Widget widget, boolean clearIfNotValid)
           
protected  char getPlaceHolder()
           
 void removeMask(com.google.gwt.user.client.ui.Widget widget)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.cruxframework.crux.core.client.formatter.MaskedFormatter
getMask
 
Methods inherited from interface org.cruxframework.crux.core.client.formatter.Formatter
format, unformat
 

Constructor Detail

MaskedTextBoxBaseFormatter

public MaskedTextBoxBaseFormatter()

MaskedTextBoxBaseFormatter

public MaskedTextBoxBaseFormatter(org.cruxframework.crux.core.client.collection.FastMap<String> definitions)
Method Detail

applyMask

public void applyMask(com.google.gwt.user.client.ui.Widget widget)
Specified by:
applyMask in interface org.cruxframework.crux.core.client.formatter.MaskedFormatter

applyMask

public void applyMask(com.google.gwt.user.client.ui.Widget widget,
                      boolean clearIfNotValid)
Specified by:
applyMask in interface org.cruxframework.crux.core.client.formatter.MaskedFormatter

removeMask

public void removeMask(com.google.gwt.user.client.ui.Widget widget)
Specified by:
removeMask in interface org.cruxframework.crux.core.client.formatter.MaskedFormatter

getPlaceHolder

protected char getPlaceHolder()


Copyright © 2015. All rights reserved.