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:
AbstractComponentContainerState,AbstractEmbeddedState,AbstractMediaState,AbstractSingleComponentContainerState,CompositeState,CustomComponentState,JavaScriptComponentState,LabelState,LinkState,PopupViewState,TabIndexState,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 StringcaptionbooleancaptionAsHtmlStringdescriptionContentModedescriptionContentModeErrorLevelerrorLevelLevel of error.StringerrorMessageHTML formatted error message for the component.StringheightStringidStringprimaryStyleNameList<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
-
descriptionContentMode
@NoLayout public ContentMode descriptionContentMode
-
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:
- 8.2
-
captionAsHtml
public boolean captionAsHtml
-
-