com.vaadin.v7.client.widget.grid.HeightAwareDetailsGenerator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vaadin-compatibility-client Show documentation
Show all versions of vaadin-compatibility-client Show documentation
Vaadin 7 compatibility package for Vaadin 8
/*
* Copyright (C) 2000-2024 Vaadin Ltd
*
* This program is available under Vaadin Commercial License and Service Terms.
*
* See for the full
* license.
*/
package com.vaadin.v7.client.widget.grid;
/**
* {@link DetailsGenerator} that is aware of content heights.
*
* FOR INTERNAL USE ONLY! This class exists only for the sake of a
* temporary workaround and might be removed or renamed at any time.
*
*
* @since 7.6.1
* @author Vaadin Ltd
*/
@Deprecated
public interface HeightAwareDetailsGenerator extends DetailsGenerator {
/**
* This method is called for whenever a details row's height needs to be
* calculated.
*
* FOR INTERNAL USE ONLY! This method exists only for the sake of a
* temporary workaround and might be removed or renamed at any time.
*
*
* @since 7.6.1
* @param rowIndex
* the index of the row for which to calculate details row height
* @return height of the details row
*/
public double getDetailsHeight(int rowIndex);
}