protected abstract static class ResponsiveGridLayoutImpl.AbstractGridElementImpl<T extends JmixResponsiveGridLayout.AbstractGridElement> extends java.lang.Object implements ResponsiveGridLayout.GridElement
Modifier and Type | Field and Description |
---|---|
protected T |
gridElement |
protected java.lang.String |
id |
protected ResponsiveGridLayoutImpl |
owner |
Constructor and Description |
---|
AbstractGridElementImpl(T gridElement,
ResponsiveGridLayoutImpl owner) |
Modifier and Type | Method and Description |
---|---|
void |
addStyleName(java.lang.String styleName)
Adds one or more style names to this grid element.
|
protected void |
checkInitializedState() |
java.lang.String |
getId() |
ResponsiveGridLayoutImpl |
getOwner() |
java.lang.String |
getStyleName()
Gets all user-defined CSS style names of the grid element.
|
T |
getVaadinGridElement() |
void |
removeStyleName(java.lang.String styleName)
Removes one or more style names to this grid element.
|
void |
setId(java.lang.String id)
Sets an nonunique id for grid element that is used as a debug identifier.
|
void |
setStyleName(java.lang.String styleName)
Sets one or more user-defined style names of the grid element, replacing any
previous user-defined styles.
|
protected T extends JmixResponsiveGridLayout.AbstractGridElement gridElement
protected ResponsiveGridLayoutImpl owner
protected java.lang.String id
public AbstractGridElementImpl(T gridElement, ResponsiveGridLayoutImpl owner)
public T getVaadinGridElement()
public ResponsiveGridLayoutImpl getOwner()
public java.lang.String getId()
getId
in interface ResponsiveGridLayout.GridElement
null
if not setpublic void setId(java.lang.String id)
ResponsiveGridLayout.GridElement
setId
in interface ResponsiveGridLayout.GridElement
id
- an alphanumeric idpublic java.lang.String getStyleName()
ResponsiveGridLayout.GridElement
getStyleName
in interface ResponsiveGridLayout.GridElement
public void setStyleName(java.lang.String styleName)
ResponsiveGridLayout.GridElement
setStyleName
in interface ResponsiveGridLayout.GridElement
styleName
- one or more style names separated by spacepublic void addStyleName(java.lang.String styleName)
ResponsiveGridLayout.GridElement
addStyleName
in interface ResponsiveGridLayout.GridElement
styleName
- the style name or style names to be addedpublic void removeStyleName(java.lang.String styleName)
ResponsiveGridLayout.GridElement
removeStyleName
in interface ResponsiveGridLayout.GridElement
styleName
- the style name or style names to be removedprotected void checkInitializedState()