@FunctionalInterface public interface ShouldWriteDataDelegate extends Serializable
DesignContext to determine whether container data
should be written out for a component.DesignContext.shouldWriteData(Component)| Modifier and Type | Field and Description |
|---|---|
static ShouldWriteDataDelegate |
DEFAULT
The default delegate implementation that assumes that all component data
is provided by a data provider connected to a back end system and that
the data should thus not be written.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldWriteData(Component component)
Determines whether the container data of a component should be written
out.
|
static final ShouldWriteDataDelegate DEFAULT
boolean shouldWriteData(Component component)
component - the component to checktrue if container data should be written out for the
provided component; otherwise false.Copyright © 2018 Vaadin Ltd. All rights reserved.