/**
* Returns the sum of the top and bottom margin
*
- * @since
+ * @since 7.6
* @return the sum of the top and bottom margin
*/
public double getMarginHeight() {
/**
* Returns the sum of the top and bottom margin
*
- * @since
+ * @since 7.6
* @return the sum of the left and right margin
*/
public double getMarginWidth() {
/**
* Updates row data based on row key.
*
- * @since
+ * @since 7.6
* @param row
* new row object
*/
* dropped from the cache. DataSource no longer has anything in the given
* index.
*
- * @since
+ * @since 7.6
* @param rowIndex
* the index of the dropped row
* @param removed
* Returns a CellReference for the cell to which the given element belongs
* to.
*
- * @since
+ * @since 7.6
* @param element
* Element to find from the cell's content.
* @return CellReference or <code>null</code> if cell was not found.
* {@link AbstractRenderer} implements this interface to provide encoded data to
* client for {@link Renderer}s automatically.
*
- * @since
+ * @since 7.6
* @author Vaadin Ltd
*/
public interface DataGenerator extends Serializable {
/**
* {@inheritDoc}
*
- * @since
+ * @since 7.6
*/
@Override
public void generateData(Object itemId, Item item, JsonObject rowData) {
/**
* Removes all inactive item id to key mapping from the key mapper.
*
- * @since
+ * @since 7.6
*/
public void dropInactiveItems() {
Collection<Object> active = activeItemHandler.getActiveItemIds();
/**
* Class for keeping track of current items and ValueChangeListeners.
*
- * @since
+ * @since 7.6
*/
private class ActiveItemHandler implements Serializable {
/**
* {@inheritDoc}
*
- * @since
+ * @since 7.6
*/
@Override
public void generateData(Object itemId, Item item, JsonObject rowData) {
* DataGenerators are called when sending row data to client. If given
* DataGenerator is already added, this method does nothing.
*
- * @since
+ * @since 7.6
* @param generator
* generator to add
*/
* {@code RpcDataProviderExtension}. If given DataGenerator is not added to
* this data provider, this method does nothing.
*
- * @since
+ * @since 7.6
* @param generator
* generator to remove
*/
* Internal method used for reconfiguring loggers to show all Atmosphere log
* messages in the console.
*
- * @since
+ * @since 7.6
*/
public static void enableAtmosphereDebugLogging() {
Level level = Level.FINEST;
*
* @see Grid#setRowDescriptionGenerator(CellDescriptionGenerator)
*
- * @since
+ * @since 7.6
*/
public interface RowDescriptionGenerator extends Serializable {
*
* @see Grid#setCellDescriptionGenerator(CellDescriptionGenerator)
*
- * @since
+ * @since 7.6
*/
public interface CellDescriptionGenerator extends Serializable {
*
* @see #setRowDescriptionGenerator(RowDescriptionGenerator)
*
- * @since
+ * @since 7.6
*/
public void setCellDescriptionGenerator(CellDescriptionGenerator generator) {
cellDescriptionGenerator = generator;
*
* @return the description generator or {@code null} if no generator is set
*
- * @since
+ * @since 7.6
*/
public CellDescriptionGenerator getCellDescriptionGenerator() {
return cellDescriptionGenerator;
*
* @see #setCellDescriptionGenerator(CellDescriptionGenerator)
*
- * @since
+ * @since 7.6
*/
public void setRowDescriptionGenerator(RowDescriptionGenerator generator) {
rowDescriptionGenerator = generator;
*
* @return the description generator or {@code} null if no generator is set
*
- * @since
+ * @since 7.6
*/
public RowDescriptionGenerator getRowDescriptionGenerator() {
return rowDescriptionGenerator;
* Informs the client that a row has updated. The client-side DataSource
* will map the given data to correct index if it should be in the cache.
*
- * @since
+ * @since 7.6
* @param row
* the updated row data
*/
/**
* Informs the server that items have been dropped from the client cache.
*
- * @since
+ * @since 7.6
* @param rowKeys
* array of dropped keys mapping to items
*/