From da2697da95975ff5bba999d5997fec5f661a3deb Mon Sep 17 00:00:00 2001 From: John Alhroos Date: Fri, 19 Aug 2011 13:33:07 +0000 Subject: [PATCH] Fixed source formatting and Javadoc. svn changeset:20523/svn branch:6.7 --- src/com/vaadin/ui/AbstractSelect.java | 41 +++++++++++++++------------ 1 file changed, 23 insertions(+), 18 deletions(-) diff --git a/src/com/vaadin/ui/AbstractSelect.java b/src/com/vaadin/ui/AbstractSelect.java index ba1821a53c..59e173b536 100644 --- a/src/com/vaadin/ui/AbstractSelect.java +++ b/src/com/vaadin/ui/AbstractSelect.java @@ -1,5 +1,5 @@ -/* -@ITMillApache2LicenseForJavaFiles@ +/* + * @ITMillApache2LicenseForJavaFiles@ */ package com.vaadin.ui; @@ -1932,22 +1932,27 @@ public abstract class AbstractSelect extends AbstractField implements } /** - * Implement this interface and pass it to Tree.setCellStyleGenerator or Table.setCellStyleGenerator to - * generate mouse over descriptions ("tooltips") for the rows and cells in Table or for the items in Tree. + * Implement this interface and pass it to Tree.setItemDescriptionGenerator + * or Table.setItemDescriptionGenerator to generate mouse over descriptions + * ("tooltips") for the rows and cells in Table or for the items in Tree. */ public interface ItemDescriptionGenerator extends Serializable { - - /** - * Called by Table when a cell (and row) is painted or a item is painted in Tree - * @param source - * The source of the generator, the Tree or Table the generator is attached to - * @param itemId - * The itemId of the painted cell - * @param propertyId - * The propertyId of the cell, null when getting row description - * @return - * The description or "tooltip" of the item. - */ - public String generateDescription(Component source, Object itemId, Object propertyId); - } + + /** + * Called by Table when a cell (and row) is painted or a item is painted + * in Tree + * + * @param source + * The source of the generator, the Tree or Table the + * generator is attached to + * @param itemId + * The itemId of the painted cell + * @param propertyId + * The propertyId of the cell, null when getting row + * description + * @return The description or "tooltip" of the item. + */ + public String generateDescription(Component source, Object itemId, + Object propertyId); + } } -- 2.39.5