Package com.vaadin.ui.declarative
Interface ShouldWriteDataDelegate
-
- All Superinterfaces:
Serializable
public interface ShouldWriteDataDelegate extends Serializable
Delegate used byDesignContext
to determine whether container data should be written out for a component.- Since:
- 7.5.0
- Author:
- Vaadin Ltd
- See Also:
DesignContext.shouldWriteData(Component)
-
-
Field Summary
Fields Modifier and Type Field Description static ShouldWriteDataDelegate
DEFAULT
The default delegate implementation that assumes that all component data is provided by a data source connected to a back end system and that the data should thus not be written.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
shouldWriteData(Component component)
Determines whether the container data of a component should be written out.
-
-
-
Field Detail
-
DEFAULT
static final ShouldWriteDataDelegate DEFAULT
The default delegate implementation that assumes that all component data is provided by a data source connected to a back end system and that the data should thus not be written.
-
-
Method Detail
-
shouldWriteData
boolean shouldWriteData(Component component)
Determines whether the container data of a component should be written out.- Parameters:
component
- the component to check- Returns:
true
if container data should be written out for the provided component; otherwisefalse
.
-
-