public class PropertyWrapper extends AbstractPropertyWrapper implements PropertyValueStringify, UnsubscribableDsWrapper
com.vaadin.data.Property.Editor, com.vaadin.data.Property.ReadOnlyException, com.vaadin.data.Property.ReadOnlyStatusChangeEvent, com.vaadin.data.Property.ReadOnlyStatusChangeListener, com.vaadin.data.Property.ReadOnlyStatusChangeNotifier, com.vaadin.data.Property.Transactional<T>, com.vaadin.data.Property.ValueChangeListener, com.vaadin.data.Property.ValueChangeNotifier, com.vaadin.data.Property.Viewer| Constructor and Description |
|---|
PropertyWrapper(java.lang.Object item,
MetaPropertyPath propertyPath) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getFormattedValue() |
java.lang.Class |
getType() |
java.lang.Object |
getValue() |
void |
setValue(java.lang.Object newValue) |
void |
unsubscribe() |
addListener, addValueChangeListener, isReadOnly, removeListener, removeValueChangeListener, setReadOnlypublic PropertyWrapper(java.lang.Object item,
MetaPropertyPath propertyPath)
public java.lang.Object getValue()
getValue in interface com.vaadin.data.PropertygetValue in class AbstractPropertyWrapperpublic void setValue(java.lang.Object newValue)
throws com.vaadin.data.Property.ReadOnlyException,
com.vaadin.data.util.converter.Converter.ConversionException
setValue in interface com.vaadin.data.PropertysetValue in class AbstractPropertyWrappercom.vaadin.data.Property.ReadOnlyExceptioncom.vaadin.data.util.converter.Converter.ConversionExceptionpublic java.lang.Class getType()
getType in interface com.vaadin.data.Propertypublic java.lang.String getFormattedValue()
getFormattedValue in interface PropertyValueStringifypublic void unsubscribe()
unsubscribe in interface UnsubscribableDsWrapper