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, setReadOnly
public PropertyWrapper(java.lang.Object item, MetaPropertyPath propertyPath)
public java.lang.Object getValue()
getValue
in interface com.vaadin.data.Property
getValue
in class AbstractPropertyWrapper
public 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.Property
setValue
in class AbstractPropertyWrapper
com.vaadin.data.Property.ReadOnlyException
com.vaadin.data.util.converter.Converter.ConversionException
public java.lang.Class getType()
getType
in interface com.vaadin.data.Property
public java.lang.String getFormattedValue()
getFormattedValue
in interface PropertyValueStringify
public void unsubscribe()
unsubscribe
in interface UnsubscribableDsWrapper