2 * Copyright 2000-2018 Vaadin Ltd.
4 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5 * use this file except in compliance with the License. You may obtain a copy of
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 * License for the specific language governing permissions and limitations under
16 package com.vaadin.v7.client.widget.grid;
19 * {@link DetailsGenerator} that is aware of content heights.
21 * <b>FOR INTERNAL USE ONLY!</b> This class exists only for the sake of a
22 * temporary workaround and might be removed or renamed at any time.
29 public interface HeightAwareDetailsGenerator extends DetailsGenerator {
32 * This method is called for whenever a details row's height needs to be
35 * <b>FOR INTERNAL USE ONLY!</b> This method exists only for the sake of a
36 * temporary workaround and might be removed or renamed at any time.
41 * the index of the row for which to calculate details row height
42 * @return height of the details row
44 public double getDetailsHeight(int rowIndex);