org.springframework.richclient.samples.simple.ui
Class SimpleAppFormatterFactory

java.lang.Object
  extended by org.springframework.binding.format.support.AbstractFormatterFactory
      extended by org.springframework.binding.format.support.SimpleFormatterFactory
          extended by org.springframework.richclient.samples.simple.ui.SimpleAppFormatterFactory
All Implemented Interfaces:
org.springframework.binding.format.FormatterFactory

public class SimpleAppFormatterFactory
extends org.springframework.binding.format.support.SimpleFormatterFactory

Simple formatter factory that returns a custom date/time formatter. By default, this formatter is used to format all date fields in the application.

Author:
Keith Donald

Constructor Summary
SimpleAppFormatterFactory()
           
 
Method Summary
 org.springframework.binding.format.Formatter getDateTimeFormatter()
           
 
Methods inherited from class org.springframework.binding.format.support.SimpleFormatterFactory
getCurrencyFormatter, getDateFormatter, getDateFormatter, getDateTimeFormatter, getNumberFormatter, getPercentFormatter, getTimeFormatter
 
Methods inherited from class org.springframework.binding.format.support.AbstractFormatterFactory
getDateFormatter, getDefaultDateStyle, getDefaultTimeStyle, getLocale, getTimeFormatter, setDefaultDateStyle, setDefaultTimeStyle, setLocaleContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleAppFormatterFactory

public SimpleAppFormatterFactory()
Method Detail

getDateTimeFormatter

public org.springframework.binding.format.Formatter getDateTimeFormatter()
Specified by:
getDateTimeFormatter in interface org.springframework.binding.format.FormatterFactory
Overrides:
getDateTimeFormatter in class org.springframework.binding.format.support.AbstractFormatterFactory


Copyright © 2004-2008 The Spring Framework. All Rights Reserved.