public class LspsProperty extends com.vaadin.data.util.AbstractProperty<Object> implements PushableProperty<Object>
com.vaadin.data.util.AbstractProperty.ReadOnlyStatusChangeEvent
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.ValueChangeEvent, com.vaadin.data.Property.ValueChangeListener, com.vaadin.data.Property.ValueChangeNotifier, com.vaadin.data.Property.Viewer
Constructor and Description |
---|
LspsProperty(UIComponent component)
Creates property bound to LSPS reference defined by field
UIFieldNames.BINDING in component definition
associated with the provided component (UIComponent.getComponentData() |
Modifier and Type | Method and Description |
---|---|
static Type |
getLspsType(UIComponent component)
Returns the LSPS type of the component binding.
|
static Class<?> |
getPropertyType(Type valueType)
Returns the Java type corresponding to the given LSPS type.
|
Class<?> |
getType() |
Object |
getValue() |
boolean |
isLocalizeBindingValue() |
boolean |
isReadOnly() |
void |
pushChangesToContext()
Pushes all the pending changes to underlying structure
|
void |
setLocalizeBindingValue(boolean localizeBindingValue) |
void |
setReadOnly(boolean newStatus) |
void |
setValue(Object newValue) |
addListener, addListener, addReadOnlyStatusChangeListener, addValueChangeListener, fireReadOnlyStatusChange, fireValueChange, getListeners, removeListener, removeListener, removeReadOnlyStatusChangeListener, removeValueChangeListener, toString
public LspsProperty(UIComponent component)
UIFieldNames.BINDING
in component definition
associated with the provided component (UIComponent.getComponentData()
component
- not null. LspsProperty access UIFieldNames.BINDING
of this component.public boolean isLocalizeBindingValue()
public void setLocalizeBindingValue(boolean localizeBindingValue)
public Object getValue()
getValue
in interface com.vaadin.data.Property<Object>
public void setValue(Object newValue)
setValue
in interface com.vaadin.data.Property<Object>
public void pushChangesToContext()
PushableProperty
pushChangesToContext
in interface PushableProperty<Object>
public static Class<?> getPropertyType(Type valueType)
valueType
- public Class<?> getType()
getType
in interface com.vaadin.data.Property<Object>
public boolean isReadOnly()
public void setReadOnly(boolean newStatus)
public static Type getLspsType(UIComponent component)
component
- Copyright © 2007-2018 Whitestein Technologies. All Rights Reserved.