org.cruxframework.crux.widgets.client.datebox
Class FormatToFormatterConverter
java.lang.Object
org.cruxframework.crux.widgets.client.maskedtextbox.MaskedTextBoxBaseFormatter
org.cruxframework.crux.widgets.client.datebox.FormatToFormatterConverter
- All Implemented Interfaces:
- org.cruxframework.crux.core.client.formatter.Formatter, org.cruxframework.crux.core.client.formatter.MaskedFormatter, IFormatToFormatterConverter
public class FormatToFormatterConverter
- extends MaskedTextBoxBaseFormatter
- implements IFormatToFormatterConverter
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FormatToFormatterConverter
public FormatToFormatterConverter()
getFormat
public DateBox.CruxFormat getFormat()
- Specified by:
getFormat in interface IFormatToFormatterConverter
setFormat
public void setFormat(DateBox.CruxFormat format)
- Specified by:
setFormat in interface IFormatToFormatterConverter
format
public String format(Object input)
throws org.cruxframework.crux.core.client.formatter.InvalidFormatException
- Specified by:
format in interface org.cruxframework.crux.core.client.formatter.Formatter
- Throws:
org.cruxframework.crux.core.client.formatter.InvalidFormatException
unformat
public Object unformat(String input)
throws org.cruxframework.crux.core.client.formatter.InvalidFormatException
- Specified by:
unformat in interface org.cruxframework.crux.core.client.formatter.Formatter
- Throws:
org.cruxframework.crux.core.client.formatter.InvalidFormatException
getMask
public String getMask()
- Specified by:
getMask in interface org.cruxframework.crux.core.client.formatter.MaskedFormatter
Copyright © 2015. All rights reserved.