]> source.dussan.org Git - vaadin-framework.git/commitdiff
Updated "selected" javadoc for Tree to make it clear that it only applies to the...
authorArtur Signell <artur.signell@itmill.com>
Thu, 10 Dec 2009 11:29:20 +0000 (11:29 +0000)
committerArtur Signell <artur.signell@itmill.com>
Thu, 10 Dec 2009 11:29:20 +0000 (11:29 +0000)
svn changeset:10227/svn branch:6.2

src/com/vaadin/ui/Tree.java

index 5fa4a57c16e03112c30bb8b15ef415a95dce0b26..25138e5b0a23df074ec68dc79b0cb9a83b7246ac 100644 (file)
@@ -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)}.
      * 
      * <p>
      * The tree is selectable by default.
      * </p>
      * 
-     * @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)}.
      * 
      * <p>
      * The tree is selectable by default.
      * </p>
      * 
      * @param selectable
-     *            the New value of property selectable.
+     *            The new selectable state.
      */
     public void setSelectable(boolean selectable) {
         if (this.selectable != selectable) {