com.vaadin.ui.declarative
Interface ShouldWriteDataDelegate

All Superinterfaces:
java.io.Serializable

public interface ShouldWriteDataDelegate
extends java.io.Serializable

Delegate used by DesignContext 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
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
 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; otherwise false.


Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.