From: Artur Signell Date: Thu, 10 Dec 2009 11:29:20 +0000 (+0000) Subject: Updated "selected" javadoc for Tree to make it clear that it only applies to the... X-Git-Tag: 6.7.0.beta1~2179 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=76d8d4db2521a7c1c40f8b9b9a64c0186a51be2e;p=vaadin-framework.git Updated "selected" javadoc for Tree to make it clear that it only applies to the client side svn changeset:10227/svn branch:6.2 --- 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) {