diff options
author | John Alhroos <john.ahlroos@itmill.com> | 2011-08-19 13:33:07 +0000 |
---|---|---|
committer | John Alhroos <john.ahlroos@itmill.com> | 2011-08-19 13:33:07 +0000 |
commit | da2697da95975ff5bba999d5997fec5f661a3deb (patch) | |
tree | c54625290078e65da249a7a89d3397d6fbd7928d /src/com/vaadin/ui | |
parent | 948aca0a6fceb8d9bcd659bc13926d2b95ac395d (diff) | |
download | vaadin-framework-da2697da95975ff5bba999d5997fec5f661a3deb.tar.gz vaadin-framework-da2697da95975ff5bba999d5997fec5f661a3deb.zip |
Fixed source formatting and Javadoc.
svn changeset:20523/svn branch:6.7
Diffstat (limited to 'src/com/vaadin/ui')
-rw-r--r-- | src/com/vaadin/ui/AbstractSelect.java | 41 |
1 files 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); + } } |