public class ProxyField
extends com.vaadin.ui.VerticalLayout
implements com.vaadin.ui.Field
com.vaadin.ui.AbstractComponent.ComponentErrorEvent, com.vaadin.ui.AbstractComponent.ComponentErrorHandler
com.vaadin.ui.Field.ValueChangeEvent
com.vaadin.data.Buffered.SourceException
com.vaadin.data.Property.ConversionException, 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.ValueChangeListener, com.vaadin.data.Property.ValueChangeNotifier, com.vaadin.data.Property.Viewer
com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.ErrorListener, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.Listener
com.vaadin.terminal.Paintable.RepaintRequestEvent, com.vaadin.terminal.Paintable.RepaintRequestListener
com.vaadin.ui.Layout.AlignmentHandler, com.vaadin.ui.Layout.MarginHandler, com.vaadin.ui.Layout.MarginInfo, com.vaadin.ui.Layout.SpacingHandler
com.vaadin.ui.ComponentContainer.ComponentAttachEvent, com.vaadin.ui.ComponentContainer.ComponentAttachListener, com.vaadin.ui.ComponentContainer.ComponentDetachEvent, com.vaadin.ui.ComponentContainer.ComponentDetachListener
Constructor and Description |
---|
ProxyField(com.vaadin.ui.Field field)
Instantiates a new proxy field.
|
Modifier and Type | Method and Description |
---|---|
void |
addListener(com.vaadin.data.Property.ValueChangeListener listener) |
void |
addValidator(com.vaadin.data.Validator validator) |
void |
commit() |
void |
discard() |
void |
focus() |
com.vaadin.ui.Field |
getField()
Gets the field.
|
com.vaadin.data.Property |
getPropertyDataSource() |
String |
getRequiredError() |
int |
getTabIndex() |
Class<?> |
getType() |
Collection<com.vaadin.data.Validator> |
getValidators() |
Object |
getValue() |
boolean |
isInvalidAllowed() |
boolean |
isInvalidCommitted() |
boolean |
isModified() |
boolean |
isReadThrough() |
boolean |
isRequired() |
boolean |
isValid() |
boolean |
isWriteThrough() |
void |
removeListener(com.vaadin.data.Property.ValueChangeListener listener) |
void |
removeValidator(com.vaadin.data.Validator validator) |
void |
setInvalidAllowed(boolean invalidValueAllowed) |
void |
setInvalidCommitted(boolean isCommitted) |
void |
setPropertyDataSource(com.vaadin.data.Property newDataSource) |
void |
setReadThrough(boolean readThrough) |
void |
setRequired(boolean required) |
void |
setRequiredError(String requiredMessage) |
void |
setTabIndex(int tabIndex) |
void |
setValue(Object newValue) |
void |
setWriteThrough(boolean writeThrough) |
void |
validate() |
void |
valueChange(com.vaadin.data.Property.ValueChangeEvent event) |
addComponent, addComponent, addComponentAsFirst, addListener, getComponent, getComponentAlignment, getComponentCount, getComponentIndex, getComponentIterator, getExpandRatio, isSpacing, isSpacingEnabled, paintContent, removeComponent, removeListener, replaceComponent, setComponentAlignment, setComponentAlignment, setComponentAlignment, setExpandRatio, setSpacing
changeVariables, fireClick, getMargin, setMargin, setMargin, setMargin
addListener, addListener, attach, detach, fireComponentAttachEvent, fireComponentDetachEvent, moveComponentsFrom, removeAllComponents, removeListener, removeListener, requestRepaintAll, setEnabled, setHeight, setWidth
addListener, addListener, addListener, addListener, addListener, addStyleName, childRequestedRepaint, fireComponentErrorEvent, fireComponentEvent, fireEvent, getApplication, getCaption, getComponentError, getData, getDebugId, getDescription, getErrorHandler, getErrorMessage, getHeight, getHeightUnits, getIcon, getListeners, getLocale, getParent, getStyle, getStyleName, getWidth, getWidthUnits, getWindow, handleError, hasListeners, isEnabled, isImmediate, isReadOnly, isVisible, paint, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeStyleName, requestRepaint, requestRepaintRequests, setCaption, setComponentError, setData, setDebugId, setDescription, setErrorHandler, setHeight, setHeight, setHeightUnits, setIcon, setImmediate, setLocale, setParent, setReadOnly, setSizeFull, setSizeUndefined, setStyle, setStyleName, setVisible, setWidth, setWidth, setWidthUnits
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addListener, addStyleName, attach, childRequestedRepaint, detach, getApplication, getCaption, getIcon, getLocale, getParent, getStyleName, getWindow, isEnabled, isReadOnly, isVisible, removeListener, removeStyleName, setEnabled, setIcon, setParent, setReadOnly, setStyleName, setVisible
addListener, getDebugId, paint, removeListener, requestRepaint, requestRepaintRequests, setDebugId
public ProxyField(com.vaadin.ui.Field field)
field
- the fieldpublic com.vaadin.ui.Field getField()
public boolean isInvalidCommitted()
isInvalidCommitted
in interface com.vaadin.data.BufferedValidatable
public void setInvalidCommitted(boolean isCommitted)
setInvalidCommitted
in interface com.vaadin.data.BufferedValidatable
public void commit() throws com.vaadin.data.Buffered.SourceException, com.vaadin.data.Validator.InvalidValueException
commit
in interface com.vaadin.data.Buffered
com.vaadin.data.Buffered.SourceException
com.vaadin.data.Validator.InvalidValueException
public void discard() throws com.vaadin.data.Buffered.SourceException
discard
in interface com.vaadin.data.Buffered
com.vaadin.data.Buffered.SourceException
public boolean isWriteThrough()
isWriteThrough
in interface com.vaadin.data.Buffered
public void setWriteThrough(boolean writeThrough) throws com.vaadin.data.Buffered.SourceException, com.vaadin.data.Validator.InvalidValueException
setWriteThrough
in interface com.vaadin.data.Buffered
com.vaadin.data.Buffered.SourceException
com.vaadin.data.Validator.InvalidValueException
public boolean isReadThrough()
isReadThrough
in interface com.vaadin.data.Buffered
public void setReadThrough(boolean readThrough) throws com.vaadin.data.Buffered.SourceException
setReadThrough
in interface com.vaadin.data.Buffered
com.vaadin.data.Buffered.SourceException
public boolean isModified()
isModified
in interface com.vaadin.data.Buffered
public void addValidator(com.vaadin.data.Validator validator)
addValidator
in interface com.vaadin.data.Validatable
public void removeValidator(com.vaadin.data.Validator validator)
removeValidator
in interface com.vaadin.data.Validatable
public Collection<com.vaadin.data.Validator> getValidators()
getValidators
in interface com.vaadin.data.Validatable
public boolean isValid()
isValid
in interface com.vaadin.data.Validatable
public void validate() throws com.vaadin.data.Validator.InvalidValueException
validate
in interface com.vaadin.data.Validatable
com.vaadin.data.Validator.InvalidValueException
public boolean isInvalidAllowed()
isInvalidAllowed
in interface com.vaadin.data.Validatable
public void setInvalidAllowed(boolean invalidValueAllowed) throws UnsupportedOperationException
setInvalidAllowed
in interface com.vaadin.data.Validatable
UnsupportedOperationException
public Object getValue()
getValue
in interface com.vaadin.data.Property
public void setValue(Object newValue) throws com.vaadin.data.Property.ReadOnlyException, com.vaadin.data.Property.ConversionException
setValue
in interface com.vaadin.data.Property
com.vaadin.data.Property.ReadOnlyException
com.vaadin.data.Property.ConversionException
public Class<?> getType()
getType
in interface com.vaadin.data.Property
public void addListener(com.vaadin.data.Property.ValueChangeListener listener)
addListener
in interface com.vaadin.data.Property.ValueChangeNotifier
public void removeListener(com.vaadin.data.Property.ValueChangeListener listener)
removeListener
in interface com.vaadin.data.Property.ValueChangeNotifier
public void valueChange(com.vaadin.data.Property.ValueChangeEvent event)
valueChange
in interface com.vaadin.data.Property.ValueChangeListener
public void setPropertyDataSource(com.vaadin.data.Property newDataSource)
setPropertyDataSource
in interface com.vaadin.data.Property.Viewer
public com.vaadin.data.Property getPropertyDataSource()
getPropertyDataSource
in interface com.vaadin.data.Property.Viewer
public int getTabIndex()
getTabIndex
in interface com.vaadin.ui.Component.Focusable
public void setTabIndex(int tabIndex)
setTabIndex
in interface com.vaadin.ui.Component.Focusable
public boolean isRequired()
isRequired
in interface com.vaadin.ui.Field
public void setRequired(boolean required)
setRequired
in interface com.vaadin.ui.Field
public void setRequiredError(String requiredMessage)
setRequiredError
in interface com.vaadin.ui.Field
public String getRequiredError()
getRequiredError
in interface com.vaadin.ui.Field
public void focus()
focus
in interface com.vaadin.ui.Component.Focusable
focus
in class com.vaadin.ui.AbstractComponent
Copyright © 2015. All Rights Reserved.