Interface SpacerUpdater
-
public interface SpacerUpdaterAn interface that handles the display of content for spacers.The updater is responsible for making sure all elements are properly constructed and cleaned up.
- Since:
- 7.5.0
- Author:
- Vaadin Ltd
- See Also:
Spacer,RowContainer.BodyRowContainer
-
-
Field Summary
Fields Modifier and Type Field Description static SpacerUpdaterNULLA spacer updater that does nothing.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddestroy(Spacer spacer)Called whenever a spacer should be cleaned.voidinit(Spacer spacer)Called whenever a spacer should be initialized with content.
-
-
-
Field Detail
-
NULL
static final SpacerUpdater NULL
A spacer updater that does nothing.
-
-
Method Detail
-
init
void init(Spacer spacer)
Called whenever a spacer should be initialized with content.- Parameters:
spacer- the spacer reference that should be initialized
-
destroy
void destroy(Spacer spacer)
Called whenever a spacer should be cleaned.The structure to clean up is the same that has been constructed by
init(Spacer).- Parameters:
spacer- the spacer reference that should be destroyed
-
-