*
* @param descriptionGenerator
* the item description generator to set, not {@code null}
- *
- * @since
+ *
+ * @since 8.2
*/
public void setItemDescriptionGenerator(
DescriptionGenerator<T> descriptionGenerator) {
* Gets the item description generator.
*
* @return the item description generator
- *
- * @since
+ *
+ * @since 8.2
*/
public DescriptionGenerator<T> getItemDescriptionGenerator() {
return descriptionGenerator;
*
* @param descriptionGenerator
* the item description generator to set, not {@code null}
- *
- * @since
+ *
+ * @since 8.2
*/
public void setItemDescriptionGenerator(
DescriptionGenerator<T> descriptionGenerator) {
* Gets the item description generator.
*
* @return the item description generator
- *
- * @since
+ *
+ * @since 8.2
*/
public DescriptionGenerator<T> getItemDescriptionGenerator() {
return descriptionGenerator;
/**
* Sets the description generator that is used for generating tooltip
* descriptions for items.
- *
- * @since
+ *
+ * @since 8.2
* @param descriptionGenerator
* the item description generator to set, or <code>null</code> to
* remove a previously set generator
/**
* Gets the item description generator.
*
- * @since
+ * @since 8.2
* @return the item description generator
*/
public DescriptionGenerator<T> getItemDescriptionGenerator() {
/**
* Returns the current state of automatic width recalculation.
- *
+ *
* @return {@code true} if enabled; {@code false} if disabled
- *
+ *
* @since 8.1.1
*/
public boolean isAutoRecalculateWidth() {
/**
* Sets the automatic width recalculation on or off. This feature is on by
* default.
- *
+ *
* @param autoRecalculateWidth
* {@code true} to enable recalculation; {@code false} to turn it
* off
- *
+ *
* @since 8.1.1
*/
public void setAutoRecalculateWidth(boolean autoRecalculateWidth) {
* ContextClickEvent for the Tree Component.
* <p>
* Usage:
- *
+ *
* <pre>
* tree.addContextClickListener(event -> Notification.show(
* ((TreeContextClickEvent<Person>) event).getItem() + " Clicked"));