summaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/ui
diff options
context:
space:
mode:
authorJohn Alhroos <john.ahlroos@itmill.com>2011-08-19 13:33:07 +0000
committerJohn Alhroos <john.ahlroos@itmill.com>2011-08-19 13:33:07 +0000
commitda2697da95975ff5bba999d5997fec5f661a3deb (patch)
treec54625290078e65da249a7a89d3397d6fbd7928d /src/com/vaadin/ui
parent948aca0a6fceb8d9bcd659bc13926d2b95ac395d (diff)
downloadvaadin-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.java41
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);
+ }
}