org.vostok.vaadin.addon.button.spin
Class IntegerConverter

java.lang.Object
  extended by org.vostok.vaadin.addon.button.spin.IntegerConverter
All Implemented Interfaces:
com.vaadin.data.util.converter.Converter<java.lang.String,java.lang.Integer>, java.io.Serializable

Deprecated.

@Deprecated
public class IntegerConverter
extends java.lang.Object
implements com.vaadin.data.util.converter.Converter<java.lang.String,java.lang.Integer>

Author:
levreau.jerome@vostoksystem.eu
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.vaadin.data.util.converter.Converter
com.vaadin.data.util.converter.Converter.ConversionException
 
Constructor Summary
IntegerConverter()
          Deprecated. Default converter, strict format, no error message
IntegerConverter(boolean soft, java.lang.String message)
          Deprecated.  
 
Method Summary
 java.lang.Integer convertToModel(java.lang.String value, java.lang.Class<? extends java.lang.Integer> targetType, java.util.Locale locale)
          Deprecated.  
 java.lang.String convertToPresentation(java.lang.Integer value, java.lang.Class<? extends java.lang.String> targetType, java.util.Locale locale)
          Deprecated.  
 java.lang.Class<java.lang.Integer> getModelType()
          Deprecated.  
 java.lang.Class<java.lang.String> getPresentationType()
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntegerConverter

public IntegerConverter()
Deprecated. 
Default converter, strict format, no error message


IntegerConverter

public IntegerConverter(boolean soft,
                        java.lang.String message)
Deprecated. 
Method Detail

convertToModel

public java.lang.Integer convertToModel(java.lang.String value,
                                        java.lang.Class<? extends java.lang.Integer> targetType,
                                        java.util.Locale locale)
                                 throws com.vaadin.data.util.converter.Converter.ConversionException
Deprecated. 
Specified by:
convertToModel in interface com.vaadin.data.util.converter.Converter<java.lang.String,java.lang.Integer>
Throws:
com.vaadin.data.util.converter.Converter.ConversionException

convertToPresentation

public java.lang.String convertToPresentation(java.lang.Integer value,
                                              java.lang.Class<? extends java.lang.String> targetType,
                                              java.util.Locale locale)
                                       throws com.vaadin.data.util.converter.Converter.ConversionException
Deprecated. 
Specified by:
convertToPresentation in interface com.vaadin.data.util.converter.Converter<java.lang.String,java.lang.Integer>
Throws:
com.vaadin.data.util.converter.Converter.ConversionException

getModelType

public java.lang.Class<java.lang.Integer> getModelType()
Deprecated. 
Specified by:
getModelType in interface com.vaadin.data.util.converter.Converter<java.lang.String,java.lang.Integer>

getPresentationType

public java.lang.Class<java.lang.String> getPresentationType()
Deprecated. 
Specified by:
getPresentationType in interface com.vaadin.data.util.converter.Converter<java.lang.String,java.lang.Integer>