|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.vaadin.terminal.gwt.client.communication.SharedState com.vaadin.terminal.gwt.client.ComponentState com.vaadin.terminal.gwt.client.AbstractFieldState
public class AbstractFieldState
Shared state for AbstractField
.
Constructor Summary | |
---|---|
AbstractFieldState()
|
Method Summary | |
---|---|
int |
getTabIndex()
Gets the tabulator index of the field. |
boolean |
isHideErrors()
Returns true if the component will hide any errors even if the error message is set. |
boolean |
isModified()
Has the contents of the field been modified, i.e. |
boolean |
isPropertyReadOnly()
Checks if the property data source for the Field is in read only mode. |
boolean |
isRequired()
Is the field required. |
void |
setHideErrors(boolean hideErrors)
Sets whether the component should hide any errors even if the error message is set. |
void |
setModified(boolean modified)
Setter for the modified flag, toggled when the contents of the field is modified by the user. |
void |
setPropertyReadOnly(boolean propertyReadOnly)
Sets the read only state of the property data source. |
void |
setRequired(boolean required)
Sets the field required. |
void |
setTabIndex(int tabIndex)
Sets the tabulator index of the field. |
Methods inherited from class com.vaadin.terminal.gwt.client.ComponentState |
---|
addRegisteredEventListener, getCaption, getDebugId, getDescription, getErrorMessage, getHeight, getIcon, getRegisteredEventListeners, getStyles, getWidth, hasDescription, hasStyles, isImmediate, isReadOnly, isUndefinedHeight, isUndefinedWidth, isVisible, removeRegisteredEventListener, setCaption, setDebugId, setDescription, setErrorMessage, setHeight, setIcon, setImmediate, setReadOnly, setRegisteredEventListeners, setStyles, setVisible, setWidth |
Methods inherited from class com.vaadin.terminal.gwt.client.communication.SharedState |
---|
isEnabled, setEnabled |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractFieldState()
Method Detail |
---|
public boolean isPropertyReadOnly()
public void setPropertyReadOnly(boolean propertyReadOnly)
propertyReadOnly
- true if the property data source if read only, false otherwisepublic boolean isHideErrors()
public void setHideErrors(boolean hideErrors)
hideErrors
- true if error messages should be hiddenpublic boolean isRequired()
true
if the field is required, otherwise
false
.public void setRequired(boolean required)
required
- Is the field required.public boolean isModified()
public void setModified(boolean modified)
modified
- the new modified statepublic int getTabIndex()
TabIndexState
getTabIndex
in interface TabIndexState
public void setTabIndex(int tabIndex)
TabIndexState
setTabIndex
in interface TabIndexState
tabIndex
- the tab index to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |