org.vostok.vaadin.addon.button.spin
Interface SpinButton.Editable<T>

Type Parameters:
T -
All Known Implementing Classes:
CalendarModel, ListModel, NumberModel
Enclosing class:
SpinButton

public static interface SpinButton.Editable<T>

This interface must be set to a madel in order to allow user to enter new values.
Note T must match Model ones, or at least be a parent class.
In order for a Model to support edition it must :

Since:
1.1

Method Summary
 com.vaadin.data.util.converter.Converter<java.lang.String,T> getConverter()
          converter for model.
 java.lang.String getHint()
          return hint to dispay while in edition mode.
 

Method Detail

getHint

java.lang.String getHint()
return hint to dispay while in edition mode.

Returns:
an hint for edition or null for none

getConverter

com.vaadin.data.util.converter.Converter<java.lang.String,T> getConverter()
converter for model.
PRESENTATION always String.

Returns:
Converter or null to disable Edition