Package io.jmix.ui.component.impl
Class ResponsiveGridLayoutImpl.AbstractGridElementImpl<T extends JmixResponsiveGridLayout.AbstractGridElement>
java.lang.Object
io.jmix.ui.component.impl.ResponsiveGridLayoutImpl.AbstractGridElementImpl<T>
- All Implemented Interfaces:
ResponsiveGridLayout.GridElement
- Direct Known Subclasses:
ResponsiveGridLayoutImpl.ColumnImpl
,ResponsiveGridLayoutImpl.RowImpl
- Enclosing class:
- ResponsiveGridLayoutImpl
protected abstract static class ResponsiveGridLayoutImpl.AbstractGridElementImpl<T extends JmixResponsiveGridLayout.AbstractGridElement>
extends Object
implements ResponsiveGridLayout.GridElement
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addStyleName
(String styleName) Adds one or more style names to this grid element.protected void
getId()
getOwner()
Gets all user-defined CSS style names of the grid element.void
removeStyleName
(String styleName) Removes one or more style names to this grid element.void
Sets an nonunique id for grid element that is used as a debug identifier.void
setStyleName
(String styleName) Sets one or more user-defined style names of the grid element, replacing any previous user-defined styles.
-
Field Details
-
gridElement
-
owner
-
id
-
-
Constructor Details
-
AbstractGridElementImpl
-
-
Method Details
-
getVaadinGridElement
-
getOwner
-
getId
- Specified by:
getId
in interfaceResponsiveGridLayout.GridElement
- Returns:
- current id,
null
if not set
-
setId
Description copied from interface:ResponsiveGridLayout.GridElement
Sets an nonunique id for grid element that is used as a debug identifier.- Specified by:
setId
in interfaceResponsiveGridLayout.GridElement
- Parameters:
id
- an alphanumeric id
-
getStyleName
Description copied from interface:ResponsiveGridLayout.GridElement
Gets all user-defined CSS style names of the grid element. If the grid element has multiple style names defined, the returned string is a space-separated list of style names.- Specified by:
getStyleName
in interfaceResponsiveGridLayout.GridElement
- Returns:
- the style name or a space-separated list of user-defined style names
-
setStyleName
Description copied from interface:ResponsiveGridLayout.GridElement
Sets one or more user-defined style names of the grid element, replacing any previous user-defined styles. Multiple styles can be specified as a space-separated list of style names.- Specified by:
setStyleName
in interfaceResponsiveGridLayout.GridElement
- Parameters:
styleName
- one or more style names separated by space
-
addStyleName
Description copied from interface:ResponsiveGridLayout.GridElement
Adds one or more style names to this grid element. Multiple styles can be specified as a space-separated list of style names.- Specified by:
addStyleName
in interfaceResponsiveGridLayout.GridElement
- Parameters:
styleName
- the style name or style names to be added
-
removeStyleName
Description copied from interface:ResponsiveGridLayout.GridElement
Removes one or more style names to this grid element. Multiple styles can be specified as a space-separated list of style names.- Specified by:
removeStyleName
in interfaceResponsiveGridLayout.GridElement
- Parameters:
styleName
- the style name or style names to be removed
-
checkInitializedState
protected void checkInitializedState()
-