From 76d8d4db2521a7c1c40f8b9b9a64c0186a51be2e Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Thu, 10 Dec 2009 11:29:20 +0000 Subject: [PATCH] Updated "selected" javadoc for Tree to make it clear that it only applies to the client side svn changeset:10227/svn branch:6.2 --- src/com/vaadin/ui/Tree.java | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/src/com/vaadin/ui/Tree.java b/src/com/vaadin/ui/Tree.java index 5fa4a57c16..25138e5b0a 100644 --- a/src/com/vaadin/ui/Tree.java +++ b/src/com/vaadin/ui/Tree.java @@ -82,7 +82,7 @@ public class Tree extends AbstractSelect implements Container.Hierarchical, private KeyMapper actionMapper = null; /** - * Is the tree selectable . + * Is the tree selectable on the client side. */ private boolean selectable = true; @@ -288,27 +288,31 @@ public class Tree extends AbstractSelect implements Container.Hierarchical, } /** - * Getter for property selectable. + * Returns the current selectable state. Selectable determines if the a node + * can be selected on the client side. Selectable does not affect + * {@link #setValue(Object)} or {@link #select(Object)}. * *

* The tree is selectable by default. *

* - * @return the Value of property selectable. + * @return the current selectable state. */ public boolean isSelectable() { return selectable; } /** - * Setter for property selectable. + * Sets the selectable state. Selectable determines if the a node can be + * selected on the client side. Selectable does not affect + * {@link #setValue(Object)} or {@link #select(Object)}. * *

* The tree is selectable by default. *

* * @param selectable - * the New value of property selectable. + * The new selectable state. */ public void setSelectable(boolean selectable) { if (this.selectable != selectable) { -- 2.39.5