Package com.vaadin.shared
Class AbstractComponentState
- java.lang.Object
-
- com.vaadin.shared.communication.SharedState
-
- com.vaadin.shared.AbstractComponentState
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AbstractEmbeddedState,AbstractLayoutState,AbstractMediaState,AbstractSplitPanelState,BrowserWindowOpenerState,CalendarState,ColorPickerGradientState,ColorPickerGridState,ColorPickerState,JavaScriptComponentState,LabelState,LinkState,LoginFormState,PanelState,PopupViewState,TabIndexState,TabsheetState,UploadState
public class AbstractComponentState extends SharedState
Default shared state implementation for AbstractComponent. State classes of components should typically extend this class.- Since:
- 7.0
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description StringcaptionbooleancaptionAsHtmlStringdescriptionErrorLevelerrorLevelLevel of errorStringerrorMessageHTML formatted error message for the componentStringheightStringidbooleanimmediateStringprimaryStyleNamebooleanreadOnlyList<String>stylesStringwidth-
Fields inherited from class com.vaadin.shared.communication.SharedState
enabled, registeredEventListeners, resources
-
-
Constructor Summary
Constructors Constructor Description AbstractComponentState()
-
-
-
Field Detail
-
height
public String height
-
width
public String width
-
readOnly
public boolean readOnly
-
immediate
@NoLayout public boolean immediate
-
caption
public String caption
-
id
public String id
-
primaryStyleName
public String primaryStyleName
-
errorMessage
public String errorMessage
HTML formatted error message for the component
-
errorLevel
public ErrorLevel errorLevel
Level of error- Since:
- 7.7.11
-
captionAsHtml
public boolean captionAsHtml
-
-