public class TableItemPropertyWrapper
extends java.lang.Object
implements com.vaadin.v7.data.Property, com.vaadin.v7.data.Property.ValueChangeNotifier
com.vaadin.v7.data.Property.Editor, com.vaadin.v7.data.Property.ReadOnlyException, com.vaadin.v7.data.Property.ReadOnlyStatusChangeEvent, com.vaadin.v7.data.Property.ReadOnlyStatusChangeListener, com.vaadin.v7.data.Property.ReadOnlyStatusChangeNotifier, com.vaadin.v7.data.Property.Transactional<T>, com.vaadin.v7.data.Property.ValueChangeEvent, com.vaadin.v7.data.Property.ValueChangeListener, com.vaadin.v7.data.Property.ValueChangeNotifier, com.vaadin.v7.data.Property.Viewer
Modifier and Type | Field and Description |
---|---|
protected TableItemWrapper |
itemWrapper |
protected java.lang.Object |
propertyId |
protected boolean |
readOnly |
Constructor and Description |
---|
TableItemPropertyWrapper(TableItemWrapper itemWrapper,
java.lang.Object propertyId) |
Modifier and Type | Method and Description |
---|---|
void |
addListener(com.vaadin.v7.data.Property.ValueChangeListener listener) |
void |
addValueChangeListener(com.vaadin.v7.data.Property.ValueChangeListener listener) |
java.lang.Class |
getType() |
java.lang.Object |
getValue() |
boolean |
isReadOnly() |
void |
removeListener(com.vaadin.v7.data.Property.ValueChangeListener listener) |
void |
removeValueChangeListener(com.vaadin.v7.data.Property.ValueChangeListener listener) |
void |
setReadOnly(boolean readOnly) |
void |
setValue(java.lang.Object newValue) |
protected boolean readOnly
protected TableItemWrapper itemWrapper
protected java.lang.Object propertyId
public TableItemPropertyWrapper(TableItemWrapper itemWrapper, java.lang.Object propertyId)
@Nullable public java.lang.Object getValue()
getValue
in interface com.vaadin.v7.data.Property
public void setValue(java.lang.Object newValue) throws com.vaadin.v7.data.Property.ReadOnlyException
setValue
in interface com.vaadin.v7.data.Property
com.vaadin.v7.data.Property.ReadOnlyException
public java.lang.Class getType()
getType
in interface com.vaadin.v7.data.Property
public boolean isReadOnly()
isReadOnly
in interface com.vaadin.v7.data.Property
public void setReadOnly(boolean readOnly)
setReadOnly
in interface com.vaadin.v7.data.Property
public void addValueChangeListener(com.vaadin.v7.data.Property.ValueChangeListener listener)
addValueChangeListener
in interface com.vaadin.v7.data.Property.ValueChangeNotifier
public void addListener(com.vaadin.v7.data.Property.ValueChangeListener listener)
addListener
in interface com.vaadin.v7.data.Property.ValueChangeNotifier
public void removeValueChangeListener(com.vaadin.v7.data.Property.ValueChangeListener listener)
removeValueChangeListener
in interface com.vaadin.v7.data.Property.ValueChangeNotifier
public void removeListener(com.vaadin.v7.data.Property.ValueChangeListener listener)
removeListener
in interface com.vaadin.v7.data.Property.ValueChangeNotifier